Vergleich admin/inc/class_page.php - 1.8.6 - 1.8.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 108Zeile 108

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/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=1806\"></script>\n";

		echo "	<script type=\"text/javascript\" src=\"../jscripts/general.js?ver=1810\"></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 "	<script type=\"text/javascript\" src=\"./jscripts/admincp.js\"></script>\n";
echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js\"></script>\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 142Zeile 143
		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&amp;action=edit&amp;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&amp;my_post_key={$mybb->post_code}\" class=\"logout\">{$lang->logout}</a></div>\n";


		$username = htmlspecialchars_uni($mybb->user['username']);
echo " <div id=\"welcome\"><span class=\"logged_in_as\">{$lang->logged_in_as} <a href=\"index.php?module=user-users&amp;action=edit&amp;uid={$mybb->user['uid']}\" class=\"username\">{$username}</a></span> | <a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" class=\"forum\">{$lang->view_board}</a> | <a href=\"index.php?action=logout&amp;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 224Zeile 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=\"http://www.mybb.com/\" target=\"_blank\">MyBB</a>, &copy; 2002-".COPY_YEAR." <a href=\"http://www.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\">MyBB</a>, &copy; 2002-".COPY_YEAR." <a href=\"https://mybb.com/\" target=\"_blank\">MyBB Group</a>.</p></div>\n";

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

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

Zeile 390Zeile 392
<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>

<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=1806"></script>

<script type="text/javascript" src="../jscripts/general.js?ver=1807"></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 522Zeile 524
<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>

<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=1806"></script>

<script type="text/javascript" src="../jscripts/general.js?ver=1807"></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 764Zeile 766
			$sidebar = new sideBarItem($title);
$sidebar->add_menu_items($items, $this->active_action);
$this->submenu .= $sidebar->get_markup();

			$sidebar = new sideBarItem($title);
$sidebar->add_menu_items($items, $this->active_action);
$this->submenu .= $sidebar->get_markup();

		}
}

/**
* Switch between two different alternating background colours.
*
* @return string
*/
function get_alt_bg()
{
static $alt_bg;
if($alt_bg == "alt1")
{
$alt_bg = "alt2";
return "alt1";
}
else
{
$alt_bg = "alt1";
return $alt_bg;

 
		}
}


		}
}


Zeile 809Zeile 791
				$class .= " last";
}
if($done == 1)

				$class .= " last";
}
if($done == 1)

			{

			{

				$class .= " first";
}
++$done;

				$class .= " first";
}
++$done;

Zeile 922Zeile 904
		if($smilies)
{
if($mybb->settings['smilieinserter'] && $mybb->settings['smilieinsertercols'] && $mybb->settings['smilieinsertertot'])

		if($smilies)
{
if($mybb->settings['smilieinserter'] && $mybb->settings['smilieinsertercols'] && $mybb->settings['smilieinsertertot'])

			{			

			{

				$emoticon = ",emoticon";

				$emoticon = ",emoticon";

			}

			}

			$emoticons_enabled = "true";

			$emoticons_enabled = "true";

			



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

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

Zeile 938Zeile 920
				if(!is_array($smilie_cache))
{
$smilie_cache = $cache->read("smilies");

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

				}

				}

				foreach($smilie_cache as $smilie)

				foreach($smilie_cache as $smilie)

				{

				{

					$smilie['image'] = str_replace("{theme}", "images", $smilie['image']);
$smiliecache[$smilie['sid']] = $smilie;
}
}

					$smilie['image'] = str_replace("{theme}", "images", $smilie['image']);
$smiliecache[$smilie['sid']] = $smilie;
}
}





			unset($smilie);

if(is_array($smiliecache))
{
reset($smiliecache);

			unset($smilie);

if(is_array($smiliecache))
{
reset($smiliecache);





				$dropdownsmilies = $moresmilies = $hiddensmilies = "";
$i = 0;


				$dropdownsmilies = $moresmilies = $hiddensmilies = "";
$i = 0;


Zeile 959Zeile 941
				{
$finds = explode("\n", $smilie['find']);
$finds_count = count($finds);

				{
$finds = explode("\n", $smilie['find']);
$finds_count = count($finds);

					



					// Only show the first text to replace in the box
$find = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($finds[0]));
$image = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($smilie['image']));

					// Only show the first text to replace in the box
$find = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($finds[0]));
$image = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($smilie['image']));

Zeile 970Zeile 952

if(!$mybb->settings['smilieinserter'] || !$mybb->settings['smilieinsertercols'] || !$mybb->settings['smilieinsertertot'] || !$smilie['showclickable'])
{


if(!$mybb->settings['smilieinserter'] || !$mybb->settings['smilieinsertercols'] || !$mybb->settings['smilieinsertertot'] || !$smilie['showclickable'])
{

						$hiddensmilies .= '"'.$find.'": "'.$image.'",';							

						$hiddensmilies .= '"'.$find.'": "'.$image.'",';

					}
elseif($i < $mybb->settings['smilieinsertertot'])
{

					}
elseif($i < $mybb->settings['smilieinsertertot'])
{