Vergleich admin/index.php - 1.2.2 - 1.2.4

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

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

 * $Id: index.php 2469 2006-12-01 02:00:00Z Tikitiki $

 * $Id: index.php 2771 2007-02-11 16:42:08Z CraKteR $

 */

define("IN_MYBB", 1);


 */

define("IN_MYBB", 1);


require_once "./global.php";;

require_once "./global.php";


// Load language packs for this section


// Load language packs for this section

global $lang;

 
$lang->load("index");

$plugins->run_hooks("admin_index_start");

$lang->load("index");

$plugins->run_hooks("admin_index_start");

Zeile 307Zeile 306
echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";

echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";

 
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$lang->settings['charset']}\" />\n";

?>
<base target="body" />
<link type="text/css" rel="stylesheet" href="<?php echo $style; ?>" />

?>
<base target="body" />
<link type="text/css" rel="stylesheet" href="<?php echo $style; ?>" />

Zeile 493Zeile 493
	if(!empty($mybb->input['goto']))
{
// Strip session ID from goto

	if(!empty($mybb->input['goto']))
{
// Strip session ID from goto

		$goto = preg_replace("#adminsid=[a-zA-Z0-9]{32}#i", "", $mybb->input['goto']);









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

		$parsed_url = parse_url($goto);
$goto = htmlspecialchars_uni($goto);
if(!$parsed_url['query'])

		$parsed_url = parse_url($goto);
$goto = htmlspecialchars_uni($goto);
if(!$parsed_url['query'])