Bug #20154 » 10651_v3.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) {
|
||
// separate the "SL" string into an array and replace L by Local, G by Global etc.
|
||
$doubleInstallations = str_replace(array('S', 'G', 'L'), array('System', 'Global', 'Local'), str_split($extInfo['doubleInstall']));
|
||
$doubleInstallTitle = array_pop($doubleInstallations) . ' installation takes precedence over installation in ' . array_pop($doubleInstallations) . ' scope';
|
||
$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])) {
|