Zeile 63 | Zeile 63 |
---|
* @var string Show a post verify error */ public $show_post_verify_error = '';
|
* @var string Show a post verify error */ public $show_post_verify_error = '';
|
| /** * @var string */ public $_menu;
|
/** * Output the page header.
| /** * Output the page header.
|
Zeile 197 | Zeile 202 |
---|
* @param bool $quit */ function output_footer($quit=true)
|
* @param bool $quit */ function output_footer($quit=true)
|
{
| {
|
global $mybb, $maintimer, $db, $lang, $plugins;
$args = array(
| global $mybb, $maintimer, $db, $lang, $plugins;
$args = array(
|
Zeile 217 | Zeile 222 |
---|
$debuglink = htmlspecialchars_uni(getenv("REQUEST_URI")) . "&debug=1#footer"; } else
|
$debuglink = htmlspecialchars_uni(getenv("REQUEST_URI")) . "&debug=1#footer"; } else
|
{
| {
|
$debuglink = htmlspecialchars_uni(getenv("REQUEST_URI")) . "?debug=1#footer"; }
| $debuglink = htmlspecialchars_uni(getenv("REQUEST_URI")) . "?debug=1#footer"; }
|
Zeile 238 | Zeile 243 |
---|
if($quit != false) { exit;
|
if($quit != false) { exit;
|
} }
/**
| } }
/**
|
* Add an item to the page breadcrumb trail. * * @param string $name The name of the item to add.
| * Add an item to the page breadcrumb trail. * * @param string $name The name of the item to add.
|
Zeile 250 | Zeile 255 |
---|
function add_breadcrumb_item($name, $url="") { $this->_breadcrumb_trail[] = array("name" => $name, "url" => $url);
|
function add_breadcrumb_item($name, $url="") { $this->_breadcrumb_trail[] = array("name" => $name, "url" => $url);
|
}
/**
| }
/**
|
* Generate a breadcrumb trail. * * @return bool|string
| * Generate a breadcrumb trail. * * @return bool|string
|
Zeile 284 | Zeile 289 |
---|
/** * Output a success message.
|
/** * Output a success message.
|
* * @param string $message The message to output.
| * * @param string $message The message to output.
|
*/ function output_success($message) {
| */ function output_success($message) {
|
Zeile 294 | Zeile 299 |
---|
/** * Output an alert/warning message.
|
/** * Output an alert/warning message.
|
*
| *
|
* @param string $message The message to output. * @param string $id The ID of the alert/warning (optional) */ function output_alert($message, $id="")
|
* @param string $message The message to output. * @param string $id The ID of the alert/warning (optional) */ function output_alert($message, $id="")
|
{
| {
|
if($id) { $id = " id=\"{$id}\"";
| if($id) { $id = " id=\"{$id}\"";
|
Zeile 315 | Zeile 320 |
---|
function output_inline_message($message) { echo "<div class=\"inline_message\">{$message}</div>\n";
|
function output_inline_message($message) { echo "<div class=\"inline_message\">{$message}</div>\n";
|
}
| }
|
/** * Output a single error message.
| /** * Output a single error message.
|
Zeile 326 | Zeile 331 |
---|
{ echo "<div class=\"error\">\n"; echo "{$error}\n";
|
{ echo "<div class=\"error\">\n"; echo "{$error}\n";
|
echo "</div>\n"; }
/**
| echo "</div>\n"; }
/**
|
* Output one or more inline error messages. * * @param array $errors Array of error messages to output.
| * Output one or more inline error messages. * * @param array $errors Array of error messages to output.
|
Zeile 383 | Zeile 388 |
---|
$login_container_width = " style=\"width: ".(410+((int)$lang->login_field_width))."px;\""; }
|
$login_container_width = " style=\"width: ".(410+((int)$lang->login_field_width))."px;\""; }
|
$login_page .= <<<EOF
| $login_page = <<<EOF
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head profile="http://gmpg.org/xfn/1">
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head profile="http://gmpg.org/xfn/1">
|
Zeile 417 | Zeile 422 |
---|
} // Make query string nice and pretty so that user can go to his/her preferred destination $query_string = '';
|
} // Make query string nice and pretty so that user can go to his/her preferred destination $query_string = '';
|
if($_SERVER['QUERY_STRING'])
| if(isset($_SERVER['QUERY_STRING']) && $_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 = '?'.preg_replace('#adminsid=(.{32})#i', '', $_SERVER['QUERY_STRING']); $query_string = preg_replace('#my_post_key=(.{32})#i', '', $query_string);
|
Zeile 757 | Zeile 762 |
---|
} $build_menu .= "</ul>\n</div>";
|
} $build_menu .= "</ul>\n</div>";
|
if($sub_menu)
| if(!empty($sub_menu))
|
{ $this->_build_submenu($sub_menu_title, $sub_menu); }
| { $this->_build_submenu($sub_menu_title, $sub_menu); }
|
Zeile 853 | Zeile 858 |
---|
$target = ''; } echo "\t</ul>\n";
|
$target = ''; } echo "\t</ul>\n";
|
if($tabs[$active]['description'])
| if(!empty($tabs[$active]['description']))
|
{ echo "\t<div class=\"tab_description\">{$tabs[$active]['description']}</div>\n"; }
| { echo "\t<div class=\"tab_description\">{$tabs[$active]['description']}</div>\n"; }
|
Zeile 912 | Zeile 917 |
---|
*/ function build_codebuttons_editor($bind, $editor_language, $smilies) {
|
*/ function build_codebuttons_editor($bind, $editor_language, $smilies) {
|
global $lang, $mybb, $smiliecache, $cache;
| global $lang, $mybb, $smiliecache, $smiliecount, $cache;
|
// Smilies $emoticon = "";
| // Smilies $emoticon = "";
|