Vergleich admin/modules/home/module_meta.php - 1.8.6 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 24Zeile 24
	$sub_menu = array();
$sub_menu['10'] = array("id" => "dashboard", "title" => $lang->dashboard, "link" => "index.php?module=home-dashboard");
$sub_menu['20'] = array("id" => "preferences", "title" => $lang->preferences, "link" => "index.php?module=home-preferences");

	$sub_menu = array();
$sub_menu['10'] = array("id" => "dashboard", "title" => $lang->dashboard, "link" => "index.php?module=home-dashboard");
$sub_menu['20'] = array("id" => "preferences", "title" => $lang->preferences, "link" => "index.php?module=home-preferences");

	$sub_menu['30'] = array("id" => "docs", "title" => $lang->mybb_documentation, "link" => "http://docs.mybb.com");
$sub_menu['40'] = array("id" => "credits", "title" => $lang->mybb_credits, "link" => "index.php?module=home-credits");

	$sub_menu['30'] = array("id" => "docs", "title" => $lang->mybb_documentation, "link" => "https://docs.mybb.com");
$sub_menu['40'] = array("id" => "credits", "title" => $lang->mybb_credits, "link" => "https://mybb.com/credits");

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

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

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

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

Zeile 46Zeile 46

$actions = array(
'preferences' => array('active' => 'preferences', 'file' => 'preferences.php'),


$actions = array(
'preferences' => array('active' => 'preferences', 'file' => 'preferences.php'),

		'credits' => array('active' => 'credits', 'file' => 'credits.php'),

 
		'version_check' => array('active' => 'version_check', 'file' => 'version_check.php'),
'dashboard' => array('active' => 'dashboard', 'file' => 'index.php')
);

		'version_check' => array('active' => 'version_check', 'file' => 'version_check.php'),
'dashboard' => array('active' => 'dashboard', 'file' => 'index.php')
);

Zeile 80Zeile 79
				unset($sub_menu[$id]);
}
}

				unset($sub_menu[$id]);
}
}

		



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

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

		



		if(!empty($sub_menu))
{
$sidebar = new SidebarItem($lang->quick_access);

		if(!empty($sub_menu))
{
$sidebar = new SidebarItem($lang->quick_access);

Zeile 166Zeile 165
					$class = "";
}
$ip_address = my_inet_ntop($db->unescape_binary($user['ip']));

					$class = "";
}
$ip_address = my_inet_ntop($db->unescape_binary($user['ip']));

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

				$online_users .= "<li title=\"{$lang->ipaddress} {$ip_address}\"{$class}>".build_profile_link(htmlspecialchars_uni($user['username']).' ('.$ip_address.')', $user['uid'], "_blank")."</li>";

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

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