Vergleich admin/modules/home/module_meta.php - 1.6.4 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: module_meta.php 5453 2011-04-21 23:58:33Z jammerx2 $

 * $Id: module_meta.php 5620 2011-09-26 18:23:52Z ralgith $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 24Zeile 24
	$sub_menu['20'] = array("id" => "preferences", "title" => $lang->preferences, "link" => "index.php?module=home-preferences");
$sub_menu['30'] = array("id" => "version_check", "title" => $lang->version_check, "link" => "index.php?module=home-version_check");
$sub_menu['40'] = array("id" => "credits", "title" => $lang->mybb_credits, "link" => "index.php?module=home-credits");

	$sub_menu['20'] = array("id" => "preferences", "title" => $lang->preferences, "link" => "index.php?module=home-preferences");
$sub_menu['30'] = array("id" => "version_check", "title" => $lang->version_check, "link" => "index.php?module=home-version_check");
$sub_menu['40'] = array("id" => "credits", "title" => $lang->mybb_credits, "link" => "index.php?module=home-credits");

	$plugins->run_hooks_by_ref("admin_home_menu", $sub_menu);

	$sub_menu = $plugins->run_hooks("admin_home_menu", $sub_menu);

	
$page->add_menu_item($lang->home, "home", "index.php", 1, $sub_menu);


	
$page->add_menu_item($lang->home, "home", "index.php", 1, $sub_menu);


Zeile 53Zeile 53
		$page->active_action = $actions[$action]['active'];
}


		$page->active_action = $actions[$action]['active'];
}


	$plugins->run_hooks_by_ref("admin_home_action_handler", $actions);

	$actions = $plugins->run_hooks("admin_home_action_handler", $actions);

	
if($page->active_action == "dashboard")
{

	
if($page->active_action == "dashboard")
{

Zeile 66Zeile 66
		$sub_menu['50'] = array("id" => "plugins", "title" => $lang->plugins, "link" => "index.php?module=config-plugins");
$sub_menu['60'] = array("id" => "backupdb", "title" => $lang->database_backups, "link" => "index.php?module=tools-backupdb");


		$sub_menu['50'] = array("id" => "plugins", "title" => $lang->plugins, "link" => "index.php?module=config-plugins");
$sub_menu['60'] = array("id" => "backupdb", "title" => $lang->database_backups, "link" => "index.php?module=tools-backupdb");


		$plugins->run_hooks_by_ref("admin_home_menu_quick_access", $sub_menu);

		$sub_menu = $plugins->run_hooks("admin_home_menu_quick_access", $sub_menu);

		
$sidebar = new SidebarItem($lang->quick_access);
$sidebar->add_menu_items($sub_menu, $page->active_action);

		
$sidebar = new SidebarItem($lang->quick_access);
$sidebar->add_menu_items($sub_menu, $page->active_action);