Zeile 6 | Zeile 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 5380 2011-02-21 12:04:43Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 24 | Zeile 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 53 | Zeile 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 66 | Zeile 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 131 | Zeile 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; } }
|