Index: t3lib/class.t3lib_tsparser_ext.php =================================================================== --- t3lib/class.t3lib_tsparser_ext.php (Revision 8184) +++ t3lib/class.t3lib_tsparser_ext.php (Arbeitskopie) @@ -604,7 +604,7 @@ : t3lib_iconWorks::getSpriteIcon('mimetypes-x-content-template-static', array('title' => $alttext)) ); if (in_array($row['templateID'], $this->clearList_const) || in_array($row['templateID'], $this->clearList_setup)) { - $A_B = ''; + $A_B = ''; $A_E = ''; if (t3lib_div::_GP('template') == $row['templateID']) { $A_B = '' . $A_B; @@ -614,12 +614,12 @@ $A_B = ''; $A_E = ''; } - $HTML .= ($first ? '' : '') . + $HTML .= ($first ? '' : '') . $icon . $A_B . t3lib_div::fixed_lgd_cs($row['title'], $GLOBALS['BE_USER']->uc['titleLen']) . $A_E . '  '; $RL = $this->ext_getRootlineNumber($row['pid']); $keyArray[] = ' - ' . $HTML . ' + ' . $HTML . ' ' . ($row['root'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : '') . '   ' . ($row['clConf'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') :'') . '  ' . ' ' . ($row['clConst'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : '') . '  ' . ' Index: typo3/sysext/tstemplate/ts/index.php =================================================================== --- typo3/sysext/tstemplate/ts/index.php (Revision 8184) +++ typo3/sysext/tstemplate/ts/index.php (Arbeitskopie) @@ -356,9 +356,9 @@ function linkWrapTemplateTitle($title, $onlyKey = '') { if ($onlyKey) { - $title = '' . htmlspecialchars($title) . ''; + $title = '' . htmlspecialchars($title) . ''; } else { - $title = '' . htmlspecialchars($title) . ''; + $title = '' . htmlspecialchars($title) . ''; } return $title; } Index: typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php =================================================================== --- typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php (Revision 8184) +++ typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php (Arbeitskopie) @@ -157,7 +157,7 @@ $theOutput .= $this->pObj->doc->section($GLOBALS['LANG']->getLL('constants', true), "", 0, 1); $theOutput .= $this->pObj->doc->sectionEnd(); $theOutput .= ' - +
'; $tmpl->ext_lineNumberOffset = -2; // Don't know why -2 and not 0... :-) But works. $tmpl->ext_lineNumberOffset_mode = "const"; @@ -169,10 +169,10 @@ if ($cVal == t3lib_div::_GET('template') || t3lib_div::_GET('template') == "all") { $theOutput .= ' - + - - '.$v.'   '.t3lib_div::formatSize(@filesize($path)).' '.trim($thumb).''; + $out.= ''.$v.'   '.t3lib_div::formatSize(@filesize($path)).' '.trim($thumb).''; } } - $out = ($out ? '
' . $tmpl->templateTitles[$cVal] . '
' . $tmpl->templateTitles[$cVal] . '
+ @@ -196,7 +196,7 @@ $theOutput .= $this->pObj->doc->section($GLOBALS['LANG']->getLL('setup', true), "", 0, 1); $theOutput .= $this->pObj->doc->sectionEnd(); $theOutput .= ' -
' . +
' . $tmpl->ext_outputTS(array($val), $this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"], $this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"], $this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"], $this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"], $this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]) . '
+
'; $tmpl->ext_lineNumberOffset = 0; $tmpl->ext_lineNumberOffset_mode = "setup"; @@ -207,10 +207,10 @@ if (current($tmpl->clearList_setup) == t3lib_div::_GET('template') || t3lib_div::_GET('template') == "all") { $theOutput .= ' - + - - + '; Index: typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php =================================================================== --- typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php (Revision 8184) +++ typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php (Arbeitskopie) @@ -85,9 +85,9 @@ $path = PATH_site.$GLOBALS['TCA']['sys_template']['columns']['resources']['config']['uploadfolder'].'/'.$v; $functions = ''; if ($func) { - $functions = ''; - $functions.= '' . $GLOBALS['LANG']->getLL('toTop') . ' '; - $functions.= ''; + $functions = ''; + $functions.= '' . $GLOBALS['LANG']->getLL('toTop') . ' '; + $functions.= ''; $fI = t3lib_div::split_fileref($v); if (t3lib_div::inList($this->pObj->textExtensions,$fI['fileext'])) { $functions.= ''.t3lib_iconWorks::getSpriteIcon('actions-document-open',array('title'=> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:editFile', true))) . ''; @@ -95,16 +95,16 @@ $functions.= ''; } $thumb = t3lib_BEfunc::thumbCode(array('resources' => $v), 'sys_template', 'resources', $GLOBALS['BACK_PATH'], ''); - $out.= ''.$v.'   '.t3lib_div::formatSize(@filesize($path)).' '.$functions.''.trim($thumb).''; + $out.= ''.$v.'   '.t3lib_div::formatSize(@filesize($path)).' '.$functions.''.trim($thumb).''; } if ($out) { if ($func) { - $out = '
' . $tmpl->templateTitles[current($tmpl->clearList_setup)] . '
' . $tmpl->templateTitles[current($tmpl->clearList_setup)] . '
'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'
+
'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'
' . $GLOBALS['LANG']->getLL('delete') . ' ' . $GLOBALS['LANG']->getLL('delete') . '
'.$out.'
'; - $out = ' - + $out = '
'.$out.'
'.$out.'
'; + $out = ' +
'.$out.'
'; } else { - $out = ''.$out.'
'; + $out = ''.$out.'
'; } } return $out; @@ -128,10 +128,10 @@ if (t3lib_div::inList($this->pObj->textExtensions,strtolower($fI['extension']))) { $path = PATH_site.$GLOBALS['TCA']['sys_template']['columns']['resources']['config']['uploadfolder'].'/'.$v; $thumb = t3lib_BEfunc::thumbCode(array('resources' => $v), 'sys_template', 'resources', $GLOBALS['BACK_PATH'], ''); - $out.= '
'.$out.'
' : ''); + $out = ($out ? ''.$out.'
' : ''); return $out; } Index: typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php =================================================================== --- typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (Revision 8184) +++ typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (Arbeitskopie) @@ -491,15 +491,15 @@ $theOutput .= $this->pObj->doc->sectionEnd(); $theOutput .= ' - + - + +
- '.$remove.'
'.$label.'
+ ' . $remove . '
' . $label . '
-
'.$tree.'
' . $tree . '
';