Project

General

Profile

Bug #15559 ยป bug_2472.diff

Administrator Admin, 2006-10-17 19:04

View differences:

t3lib/class.t3lib_tsfebeuserauth.php (Arbeitskopie)
<input type="hidden" name="TSFE_ADMIN_PANEL[display_top]" value="'.$this->uc['TSFE_adminConfig']['display_top'].'" />'.($this->extNeedUpdate?'<input type="submit" value="'.$this->extGetLL('update').'" />':'').'</td>
</tr>';
$query = !t3lib_div::_GET('id') ? ('<input type="hidden" name="id" value="'.$GLOBALS['TSFE']->id.'" />'.chr(10)) : '';
$query = !t3lib_div::_GET('id') ? '<input type="hidden" name="id" value="'.$GLOBALS['TSFE']->id.'" />'.chr(10) : '';
// the dummy field is needed for Firefox: to force a page reload on submit with must change the form value with JavaScript (see "onsubmit" attribute of the "form" element")
$query.= '<input type="hidden" name="TSFE_ADMIN_PANEL[DUMMY]" value="">';
foreach (t3lib_div::_GET() as $k => $v) {
......
parent.opener.top.goToModule("'.$pageModule.'");
parent.opener.top.focus();
} else {
vHWin=window.open(\''.TYPO3_mainDir.'alt_main.php\',\''.md5('Typo3Backend-'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']).'\',\'status=1,menubar=1,scrollbars=1,resizable=1\');
vHWin=window.open(\''.t3lib_div::getIndpEnv('TYPO3_SITE_URL').TYPO3_mainDir.'alt_main.php\',\''.md5('Typo3Backend-'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']).'\');
vHWin.focus();
}
return false;
    (1-1/1)