Vergleich admin/inc/class_page.php - 1.8.24 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 63Zeile 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 79Zeile 84
		);

$plugins->run_hooks("admin_page_output_header", $args);

		);

$plugins->run_hooks("admin_page_output_header", $args);





		if(!$title)
{
$title = $lang->mybb_admin_panel;

		if(!$title)
{
$title = $lang->mybb_admin_panel;

		}


		}


		$rtl = "";
if($lang->settings['rtl'] == 1)
{

		$rtl = "";
if($lang->settings['rtl'] == 1)
{

Zeile 104Zeile 109
		if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->active_module}.css"))
{
echo " <link rel=\"stylesheet\" href=\"styles/{$this->style}/{$this->active_module}.css\" type=\"text/css\" />\n";

		if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->active_module}.css"))
{
echo " <link rel=\"stylesheet\" href=\"styles/{$this->style}/{$this->active_module}.css\" type=\"text/css\" />\n";

		}

		}


echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.js?ver=1823\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.plugins.min.js?ver=1821\"></script>\n";


echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.js?ver=1823\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.plugins.min.js?ver=1821\"></script>\n";

Zeile 181Zeile 186
					default:
$this->output_error($message['message']);
break;

					default:
$this->output_error($message['message']);
break;

				}
}
}


				}
}
}


		if($this->show_post_verify_error == true)
{
$this->output_error($lang->invalid_post_verify_key);

		if($this->show_post_verify_error == true)
{
$this->output_error($lang->invalid_post_verify_key);

Zeile 199Zeile 204
	function output_footer($quit=true)
{
global $mybb, $maintimer, $db, $lang, $plugins;

	function output_footer($quit=true)
{
global $mybb, $maintimer, $db, $lang, $plugins;





		$args = array(
'this' => &$this,
'quit' => &$quit,
);

		$args = array(
'this' => &$this,
'quit' => &$quit,
);





		$plugins->run_hooks("admin_page_output_footer", $args);

$memory_usage = get_friendly_size(get_memory_usage());

		$plugins->run_hooks("admin_page_output_footer", $args);

$memory_usage = get_friendly_size(get_memory_usage());

Zeile 224Zeile 229
		echo "			</div>\n";
echo " </div>\n";
echo " <br style=\"clear: both;\" />";

		echo "			</div>\n";
echo " </div>\n";
echo " <br style=\"clear: both;\" />";

		echo "	<br style=\"clear: both;\" />";

		echo "	<br style=\"clear: both;\" />";

		echo "	</div>\n";
echo "<div id=\"footer\"><p class=\"generation\">".$lang->sprintf($lang->generated_in, $totaltime, $debuglink, $querycount, $memory_usage)."</p><p class=\"powered\">Powered By <a href=\"https://mybb.com/\" target=\"_blank\" rel=\"noopener\">MyBB</a>, &copy; 2002-".COPY_YEAR." <a href=\"https://mybb.com/\" target=\"_blank\" rel=\"noopener\">MyBB Group</a>.</p></div>\n";
if($mybb->debug_mode)

		echo "	</div>\n";
echo "<div id=\"footer\"><p class=\"generation\">".$lang->sprintf($lang->generated_in, $totaltime, $debuglink, $querycount, $memory_usage)."</p><p class=\"powered\">Powered By <a href=\"https://mybb.com/\" target=\"_blank\" rel=\"noopener\">MyBB</a>, &copy; 2002-".COPY_YEAR." <a href=\"https://mybb.com/\" target=\"_blank\" rel=\"noopener\">MyBB Group</a>.</p></div>\n";
if($mybb->debug_mode)

Zeile 383Zeile 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 757Zeile 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 853Zeile 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 912Zeile 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 = "";