Vergleich admin/modules/config/mycode.php - 1.6.15 - 1.6.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 129Zeile 129
			$plugins->run_hooks("admin_config_mycode_add_commit");

// Log admin action

			$plugins->run_hooks("admin_config_mycode_add_commit");

// Log admin action

			log_admin_action($cid, $mybb->input['title']);

			log_admin_action($cid, htmlspecialchars_uni($mybb->input['title']));


flash_message($lang->success_added_mycode, 'success');
admin_redirect('index.php?module=config-mycode');


flash_message($lang->success_added_mycode, 'success');
admin_redirect('index.php?module=config-mycode');

Zeile 255Zeile 255
			$plugins->run_hooks("admin_config_mycode_edit_commit");

// Log admin action

			$plugins->run_hooks("admin_config_mycode_edit_commit");

// Log admin action

			log_admin_action($mycode['cid'], $mybb->input['title']);

			log_admin_action($mycode['cid'], htmlspecialchars_uni($mybb->input['title']));


flash_message($lang->success_updated_mycode, 'success');
admin_redirect('index.php?module=config-mycode');


flash_message($lang->success_updated_mycode, 'success');
admin_redirect('index.php?module=config-mycode');

Zeile 353Zeile 353
		$plugins->run_hooks("admin_config_mycode_delete_commit");

// Log admin action

		$plugins->run_hooks("admin_config_mycode_delete_commit");

// Log admin action

		log_admin_action($mycode['cid'], $mycode['title']);

		log_admin_action($mycode['cid'], htmlspecialchars_uni($mycode['title']));


flash_message($lang->success_deleted_mycode, 'success');
admin_redirect("index.php?module=config-mycode");


flash_message($lang->success_deleted_mycode, 'success');
admin_redirect("index.php?module=config-mycode");

Zeile 403Zeile 403
		
if($mycode['description'])
{

		
if($mycode['description'])
{

			$mycode['description'] = "<small>{$mycode['description']}</small>";

			$mycode['description'] = "<small>".htmlspecialchars_uni($mycode['description'])."</small>";

		}


		}


		$table->construct_cell("{$indicator}<strong><a href=\"index.php?module=config-mycode&amp;action=edit&amp;cid={$mycode['cid']}\">{$mycode['title']}</a></strong><br />{$mycode['description']}");

		$table->construct_cell("{$indicator}<strong><a href=\"index.php?module=config-mycode&amp;action=edit&amp;cid={$mycode['cid']}\">".htmlspecialchars_uni($mycode['title'])."</a></strong><br />{$mycode['description']}");


$popup = new PopupMenu("mycode_{$mycode['cid']}", $lang->options);
$popup->add_item($lang->edit_mycode, "index.php?module=config-mycode&amp;action=edit&amp;cid={$mycode['cid']}");


$popup = new PopupMenu("mycode_{$mycode['cid']}", $lang->options);
$popup->add_item($lang->edit_mycode, "index.php?module=config-mycode&amp;action=edit&amp;cid={$mycode['cid']}");