Project

General

Profile

Feature #16920 » 0004886_3.patch

Administrator Admin, 2007-02-03 17:07

View differences:

typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
$this->content.=$this->doc->header('Extension Manager');
$this->content.=$this->doc->spacer(5);
// Show a link to reload the backend if a new module was installed:
if ($this->CMD['reloadBELink']) {
$content =
'<a href="#" onclick="top.location.reload()">' .
'Click here to reload the backend to enable newly installed module(s): ' .
'<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/refresh_n.gif','width="14" height="14"').' title="Reload backend view" alt="" />' .
'</a>';
$this->content.=$this->doc->section('New Backend Module was installed:',$content,0,1);
$this->content.=$this->doc->spacer(30);
}
// Commands given which is executed regardless of main menu setting:
if ($this->CMD['showExt']) { // Show details for a single extension
$this->showExtDetails($this->CMD['showExt']);
......
if($this->CMD['standAlone'] || t3lib_div::_GP('standAlone')) {
$this->content .= 'Extension has been '.($this->CMD['load'] ? 'installed' : 'removed').'.<br /><br /><a href="javascript:opener.top.content.document.forms[0].submit();window.close();">Close window and recheck dependencies</a>';
} else {
// Determine if new modules were installed:
$techInfo = $this->makeDetailedExtensionAnalysis($extKey, $list[$extKey]);
if ($this->CMD['load'] && is_array($techInfo['flags']) && in_array('Module', $techInfo['flags'], true)) {
$vA['CMD']['reloadBELink']=1;
}
header('Location: '.t3lib_div::linkThisScript($vA));
}
}
(3-3/3)