Vergleich admin/modules/home/module_meta.php - 1.6.1 - 1.6.8

  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 5016 2010-06-12 00:24:02Z RyanGordon $

 * $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);

Zeile 131Zeile 131
				{
$class = "";
}

				{
$class = "";
}

				$online_users .= "<li{$class}>".build_profile_link($user['username'], $user['uid'])."</li>";

				$online_users .= "<li{$class}>".build_profile_link($user['username'], $user['uid'], "_blank")."</li>";

				$done_users["{$user['uid']}.{$user['ip']}"] = 1;
}
}

				$done_users["{$user['uid']}.{$user['ip']}"] = 1;
}
}