Vergleich admin/inc/class_page.php - 1.8.9 - 1.8.20

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 97Zeile 97
		echo "	<title>".$title."</title>\n";
echo " <meta name=\"author\" content=\"MyBB Group\" />\n";
echo " <meta name=\"copyright\" content=\"Copyright ".COPY_YEAR." MyBB Group.\" />\n";

		echo "	<title>".$title."</title>\n";
echo " <meta name=\"author\" content=\"MyBB Group\" />\n";
echo " <meta name=\"copyright\" content=\"Copyright ".COPY_YEAR." MyBB Group.\" />\n";

		echo "	<link rel=\"stylesheet\" href=\"styles/".$this->style."/main.css?ver=1804\" type=\"text/css\" />\n";
echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/modal.css\" type=\"text/css\" />\n";

		echo "	<link rel=\"stylesheet\" href=\"styles/".$this->style."/main.css?ver=1813\" type=\"text/css\" />\n";
echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/modal.css?ver=1813\" type=\"text/css\" />\n";


// Load stylesheet for this module if it has one
if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->active_module}.css"))


// Load stylesheet for this module if it has one
if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->active_module}.css"))

Zeile 106Zeile 106
			echo "	<link rel=\"stylesheet\" href=\"styles/{$this->style}/{$this->active_module}.css\" type=\"text/css\" />\n";
}


			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\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.plugins.min.js\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/general.js?ver=1807\"></script>\n";

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

		echo "	<script type=\"text/javascript\" src=\"./jscripts/admincp.js\"></script>\n";
echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js\"></script>\n";

echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.structure.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.theme.min.css\" />\n";

		echo "	<script type=\"text/javascript\" src=\"./jscripts/admincp.js\"></script>\n";
echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js\"></script>\n";

echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.structure.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/redmond/jquery-ui.theme.min.css\" />\n";

		echo "	<script src=\"jscripts/jqueryui/js/jquery-ui.min.js?ver=1804\"></script>\n";

		echo "	<script src=\"jscripts/jqueryui/js/jquery-ui.min.js?ver=1813\"></script>\n";


// Stop JS elements showing while page is loading (JS supported browsers only)
echo " <style type=\"text/css\">.popup_button { display: none; } </style>\n";


// Stop JS elements showing while page is loading (JS supported browsers only)
echo " <style type=\"text/css\">.popup_button { display: none; } </style>\n";

Zeile 131Zeile 131
var cookieDomain = '{$mybb->settings['cookiedomain']}';
var cookiePath = '{$mybb->settings['cookiepath']}';
var cookiePrefix = '{$mybb->settings['cookieprefix']}';

var cookieDomain = '{$mybb->settings['cookiedomain']}';
var cookiePath = '{$mybb->settings['cookiepath']}';
var cookiePrefix = '{$mybb->settings['cookieprefix']}';

 
var cookieSecureFlag = '{$mybb->settings['cookiesecureflag']}';

var imagepath = '../images';

lang.unknown_error = \"{$lang->unknown_error}\";

var imagepath = '../images';

lang.unknown_error = \"{$lang->unknown_error}\";

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

		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\">MyBB</a>, &copy; 2002-".COPY_YEAR." <a href=\"https://mybb.com/\" target=\"_blank\">MyBB Group</a>.</p></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 $db->explain;

		if($mybb->debug_mode)
{
echo $db->explain;

Zeile 390Zeile 391
<meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />

<meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />

<script type="text/javascript" src="../jscripts/jquery.js"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1807"></script>

<script type="text/javascript" src="../jscripts/jquery.js?ver=1820"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1820"></script>

<script type="text/javascript" src="./jscripts/admincp.js"></script>
<script type="text/javascript">
//<![CDATA[

<script type="text/javascript" src="./jscripts/admincp.js"></script>
<script type="text/javascript">
//<![CDATA[

Zeile 469Zeile 470
				break;
}


				break;
}


       	$_SERVER['PHP_SELF'] = htmlspecialchars_uni($_SERVER['PHP_SELF']);

       	$this_file = htmlspecialchars_uni($_SERVER['SCRIPT_NAME']);


$login_page .= <<<EOF
<p>{$login_lang_string}</p>


$login_page .= <<<EOF
<p>{$login_lang_string}</p>

		<form method="post" action="{$_SERVER['PHP_SELF']}{$query_string}">

		<form method="post" action="{$this_file}{$query_string}">

		<div class="form_container">

<div class="label"{$login_label_width}><label for="username">{$lang_username}</label></div>

		<div class="form_container">

<div class="label"{$login_label_width}><label for="username">{$lang_username}</label></div>

Zeile 522Zeile 523
<meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />

<meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />

<script type="text/javascript" src="../jscripts/jquery.js"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1807"></script>

<script type="text/javascript" src="../jscripts/jquery.js?ver=1820"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1820"></script>

<script type="text/javascript" src="./jscripts/admincp.js"></script>
<script type="text/javascript">
//<![CDATA[

<script type="text/javascript" src="./jscripts/admincp.js"></script>
<script type="text/javascript">
//<![CDATA[

Zeile 803Zeile 804
	/**
* Output a series of primary navigation tabs for swithcing between items within a particular module/action.
*

	/**
* Output a series of primary navigation tabs for swithcing between items within a particular module/action.
*

	 * @param array $tabs Nested array of tabs containing possible keys of align, link_target, link, title.

	 * @param array $tabs Nested array of tabs containing possible keys of align, link_target, link_rel, link, title.

	 * @param string $active The name of the active tab. Corresponds with the key of each tab item.
*/
function output_nav_tabs($tabs=array(), $active='')

	 * @param string $active The name of the active tab. Corresponds with the key of each tab item.
*/
function output_nav_tabs($tabs=array(), $active='')

Zeile 827Zeile 828
			if(isset($tab['link_target']))
{
$target = " target=\"{$tab['link_target']}\"";

			if(isset($tab['link_target']))
{
$target = " target=\"{$tab['link_target']}\"";

 
			}
$rel = '';
if(isset($tab['link_rel']))
{
$rel = " rel=\"{$tab['link_rel']}\"";

			}
if(!isset($tab['link']))
{
$tab['link'] = '';
}

			}
if(!isset($tab['link']))
{
$tab['link'] = '';
}

			echo "\t\t<li class=\"{$class}\"><a href=\"{$tab['link']}\"{$target}>{$tab['title']}</a></li>\n";

			echo "\t\t<li class=\"{$class}\"><a href=\"{$tab['link']}\"{$target}{$rel}>{$tab['title']}</a></li>\n";

			$target = '';
}
echo "\t</ul>\n";
if($tabs[$active]['description'])
{
echo "\t<div class=\"tab_description\">{$tabs[$active]['description']}</div>\n";

			$target = '';
}
echo "\t</ul>\n";
if($tabs[$active]['description'])
{
echo "\t<div class=\"tab_description\">{$tabs[$active]['description']}</div>\n";

		}

		}

		echo "</div>";
$arguments = array('tabs' => $tabs, 'active' => $active);
$plugins->run_hooks("admin_page_output_nav_tabs_end", $arguments);

		echo "</div>";
$arguments = array('tabs' => $tabs, 'active' => $active);
$plugins->run_hooks("admin_page_output_nav_tabs_end", $arguments);

Zeile 880Zeile 886
		echo $form->generate_submit_button($lang->no, array("name" => "no", 'class' => 'button_no'));
echo "</p>\n";
echo "</div>\n";

		echo $form->generate_submit_button($lang->no, array("name" => "no", 'class' => 'button_no'));
echo "</p>\n";
echo "</div>\n";





		$form->end();
$this->output_footer();
}

		$form->end();
$this->output_footer();
}

Zeile 911Zeile 917
			if(!$smiliecount)
{
$smilie_cache = $cache->read("smilies");

			if(!$smiliecount)
{
$smilie_cache = $cache->read("smilies");

 
				if(!is_array($smilie_cache))
{
$smilie_cache = array();
}

				$smiliecount = count($smilie_cache);
}


				$smiliecount = count($smilie_cache);
}