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: class_page.php 5364 2011-02-15 23:30:09Z MattR $
| * $Id: class_page.php 5620 2011-09-26 18:23:52Z ralgith $
|
*/
/*
| */
/*
|
Zeile 119 | Zeile 119 |
---|
echo "<body>\n"; echo "<div id=\"container\">\n"; echo " <div id=\"logo\"><h1><span class=\"invisible\">{$lang->mybb_admin_cp}</span></h1></div>\n";
|
echo "<body>\n"; echo "<div id=\"container\">\n"; echo " <div id=\"logo\"><h1><span class=\"invisible\">{$lang->mybb_admin_cp}</span></h1></div>\n";
|
echo " <div id=\"welcome\"><span class=\"logged_in_as\">{$lang->logged_in_as} <a href=\"index.php?module=user-users&action=edit&uid={$mybb->user['uid']}\" class=\"username\">{$mybb->user['username']}</a></span> | <a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" class=\"forum\">{$lang->view_board}</a> | <a href=\"index.php?action=logout\" class=\"logout\">{$lang->logout}</a></div>\n";
| echo " <div id=\"welcome\"><span class=\"logged_in_as\">{$lang->logged_in_as} <a href=\"index.php?module=user-users&action=edit&uid={$mybb->user['uid']}\" class=\"username\">{$mybb->user['username']}</a></span> | <a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" class=\"forum\">{$lang->view_board}</a> | <a href=\"index.php?action=logout&my_post_key={$mybb->post_code}\" class=\"logout\">{$lang->logout}</a></div>\n";
|
echo $this->_build_menu(); echo " <div id=\"page\">\n"; echo " <div id=\"left_menu\">\n";
| echo $this->_build_menu(); echo " <div id=\"page\">\n"; echo " <div id=\"left_menu\">\n";
|
Zeile 370 | Zeile 370 |
---|
if($_SERVER['QUERY_STRING']) { $query_string = '?'.preg_replace('#adminsid=(.{32})#i', '', $_SERVER['QUERY_STRING']);
|
if($_SERVER['QUERY_STRING']) { $query_string = '?'.preg_replace('#adminsid=(.{32})#i', '', $_SERVER['QUERY_STRING']);
|
| $query_string = preg_replace('#my_post_key=(.{32})#i', '', $query_string);
|
$query_string = str_replace('action=logout', '', $query_string); $query_string = preg_replace('#&+#', '&', $query_string); $query_string = str_replace('?&', '?', $query_string);
| $query_string = str_replace('action=logout', '', $query_string); $query_string = preg_replace('#&+#', '&', $query_string); $query_string = str_replace('?&', '?', $query_string);
|
Zeile 606 | Zeile 607 |
---|
function output_tab_control($tabs=array(), $observe_onload=true, $id="tabs") { global $plugins;
|
function output_tab_control($tabs=array(), $observe_onload=true, $id="tabs") { global $plugins;
|
$plugins->run_hooks_by_ref("admin_page_output_tab_control_start", $tabs);
| $tabs = $plugins->run_hooks("admin_page_output_tab_control_start", $tabs);
|
echo "<script type=\"text/javascript\">\n"; if($observe_onload) {
| echo "<script type=\"text/javascript\">\n"; if($observe_onload) {
|
Zeile 651 | Zeile 652 |
---|
function output_nav_tabs($tabs=array(), $active='') { global $plugins;
|
function output_nav_tabs($tabs=array(), $active='') { global $plugins;
|
$plugins->run_hooks_by_ref("admin_page_output_nav_tabs_start", $tabs);
| $tabs = $plugins->run_hooks("admin_page_output_nav_tabs_start", $tabs);
|
echo "<div class=\"nav_tabs\">"; echo "\t<ul>\n"; foreach($tabs as $id => $tab)
| echo "<div class=\"nav_tabs\">"; echo "\t<ul>\n"; foreach($tabs as $id => $tab)
|