Vergleich admin/index.php - 1.2.9 - 1.2.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: index.php 3170 2007-06-29 03:15:31Z Tikitiki $

 * $Id: index.php 3300 2007-09-06 02:19:06Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 460Zeile 460
		10 => array("title" => $lang->nav_db_backup, "url" => "dbtools.php?".SID."&action=backup"),
20 => array("title" => $lang->nav_db_existing_backups, "url" => "dbtools.php?".SID."&action=existing"),
30 => array("title" => $lang->nav_db_optimize, "url" => "dbtools.php?".SID."&action=optimize"),

		10 => array("title" => $lang->nav_db_backup, "url" => "dbtools.php?".SID."&action=backup"),
20 => array("title" => $lang->nav_db_existing_backups, "url" => "dbtools.php?".SID."&action=existing"),
30 => array("title" => $lang->nav_db_optimize, "url" => "dbtools.php?".SID."&action=optimize"),



		40 => array("title" => $lang->nav_db_convert_to_utf8, "url" => "dbtools.php?".SID."&action=utf8_conversion"),

	)
);

	)
);





$plugins->run_hooks("admin_index_navigation_end");

foreach($menu as $menu_section)

$plugins->run_hooks("admin_index_navigation_end");

foreach($menu as $menu_section)

{

{

	foreach($menu_section['items'] as $item)
{
makenavoption($item['title'], $item['url']);

	foreach($menu_section['items'] as $item)
{
makenavoption($item['title'], $item['url']);

Zeile 494Zeile 494
		if(strpos($goto, '&') !== false)
{
$goto = preg_replace('#(&?|&?|\??)adminsid=([a-zA-Z0-9]{1,32})(&?|&?)#i', '\\1', $goto);

		if(strpos($goto, '&') !== false)
{
$goto = preg_replace('#(&?|&?|\??)adminsid=([a-zA-Z0-9]{1,32})(&?|&?)#i', '\\1', $goto);

		}

		}

		else
{
$goto = preg_replace('#\?adminsid=([a-zA-Z0-9]{1,32})#i', '', $goto);

		else
{
$goto = preg_replace('#\?adminsid=([a-zA-Z0-9]{1,32})#i', '', $goto);

Zeile 514Zeile 514
	{
$goto = 'index.php?'.SID.'&action=home';
}

	{
$goto = 'index.php?'.SID.'&action=home';
}

	echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";

	echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">";

	echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";
echo "</head>\n";
echo "<frameset rows=\"78, *\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

	echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";
echo "</head>\n";
echo "<frameset rows=\"78, *\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

	echo "<frame name=\"header\" noresize scrolling=\"no\" src=\"index.php?".SID."&amp;action=header\" />\n";

	echo "<frame name=\"header\" noresize=\"noresize\" scrolling=\"no\" src=\"index.php?".SID."&amp;action=header\" />\n";

	if($lang->settings['rtl'])
{
echo "<frameset cols=\"*,200\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

	if($lang->settings['rtl'])
{
echo "<frameset cols=\"*,200\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

		echo "<frame name=\"body\" noresize scrolling=\"auto\" src=\"".$goto."\" />\n";
echo "<frame name=\"nav\" noresize scrolling=\"auto\" src=\"index.php?".SID."&amp;action=navigation\" />\n";

		echo "<frame name=\"body\" noresize=\"noresize\" scrolling=\"auto\" src=\"".$goto."\" />\n";
echo "<frame name=\"nav\" noresize=\"noresize\" scrolling=\"auto\" src=\"index.php?".SID."&amp;action=navigation\" />\n";

	}
else
{
echo "<frameset cols=\"200, *\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

	}
else
{
echo "<frameset cols=\"200, *\" frameborder=\"no\" border=\"0\" framespacing=\"0\">\n";

		echo "<frame name=\"nav\" noresize scrolling=\"auto\" src=\"index.php?".SID."&amp;action=navigation\" />\n";
echo "<frame name=\"body\" noresize scrolling=\"auto\" src=\"".$goto."\" />\n";

		echo "<frame name=\"nav\" noresize=\"noresize\" scrolling=\"auto\" src=\"index.php?".SID."&amp;action=navigation\" />\n";
echo "<frame name=\"body\" noresize=\"noresize\" scrolling=\"auto\" src=\"".$goto."\" />\n";

	}
echo "</frameset>\n";
echo "</frameset>\n";

	}
echo "</frameset>\n";
echo "</frameset>\n";