Bug #20154 » 10651.patch
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
$cells[] = '<td nowrap="nowrap">'.
|
||
($this->typePaths[$extInfo['type']] && @is_file($fileP)?'<a href="'.htmlspecialchars(t3lib_div::resolveBackPath($this->doc->backPath.'../'.$this->typePaths[$extInfo['type']].$extKey.'/doc/manual.sxw')).'" target="_blank"><img src="oodoc.gif" width="13" height="16" title="Local Open Office Manual" alt="" /></a>':'').
|
||
'</td>';
|
||
$cells[] = '<td nowrap="nowrap">'.$this->typeLabels[$extInfo['type']].(strlen($extInfo['doubleInstall'])>1?'<strong> '.$GLOBALS['TBE_TEMPLATE']->rfw($extInfo['doubleInstall']).'</strong>':'').'</td>';
|
||
|
||
// double installation
|
||
$doubleInstall = '';
|
||
if (strlen($extInfo['doubleInstall']) > 1) {
|
||
$doubleInstallations = array();
|
||
for ($i = 0; $i < strlen($extInfo['doubleInstall']); $i++) {
|
||
$doubleInstallations[] = str_replace(array('S', 'G', 'L'), array('System', 'Global', 'Local'), $extInfo['doubleInstall']{$i});
|
||
}
|
||
$doubleInstallTitle = implode(' installation overridden by ', $doubleInstallations) . ' installation';
|
||
$doubleInstall = ' <strong><abbr title="' . $doubleInstallTitle .'">' . $GLOBALS['TBE_TEMPLATE']->rfw($extInfo['doubleInstall']) . '</abbr></strong>';
|
||
}
|
||
$cells[] = '<td nowrap="nowrap">' . $this->typeLabels[$extInfo['type']] . $doubleInstall . '</td>';
|
||
} else { // Listing extensions from REMOTE repository:
|
||
$inst_curVer = $inst_list[$extKey]['EM_CONF']['version'];
|
||
if (isset($inst_list[$extKey])) {
|