Index: t3lib/class.t3lib_tsstyleconfig.php =================================================================== --- t3lib/class.t3lib_tsstyleconfig.php (Revision 6398) +++ t3lib/class.t3lib_tsstyleconfig.php (Arbeitskopie) @@ -170,20 +170,19 @@ $content=''; $content.=' - + ]] '; - $content .= '
'; + $content .= ''; $content.= $addFields; -# $content.= '
'; $content.= $printFields; - $content.= ''; + $content.= ''; $example = $this->ext_displayExample(); - $content.= $example?'
'.$example:""; + $content.= $example?'
'.$example:""; return $content; } Index: typo3/mod/tools/em/class.em_index.php =================================================================== --- typo3/mod/tools/em/class.em_index.php (Revision 6398) +++ typo3/mod/tools/em/class.em_index.php (Arbeitskopie) @@ -400,7 +400,7 @@ // Setting GPvars: $this->CMD = is_array(t3lib_div::_GP('CMD')) ? t3lib_div::_GP('CMD') : array(); - $this->lookUpStr = trim(t3lib_div::_GP('_lookUp')); + $this->lookUpStr = trim(t3lib_div::_GP('lookUp')); $this->listRemote = t3lib_div::_GP('ter_connect'); $this->listRemote_search = trim(t3lib_div::_GP('ter_search')); @@ -608,7 +608,7 @@ $menu.='    ' . t3lib_BEfunc::getFuncCheck(0, 'SET[display_obsolete]', $this->MOD_SETTINGS['display_obsolete'], '', '', 'id="checkDisplayObsolete"'); } - $this->content.=$this->doc->section('',''.$menu.'
'); + $this->content.=$this->doc->section('','
' . ($menu ? $menu : ' ') . '
'); $this->content.=$this->doc->spacer(10); switch((string)$this->MOD_SETTINGS['function']) { @@ -766,7 +766,7 @@ } if(count($extensions)) { $lines[]='
'; - $lines[]=''.$this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName).''; + $lines[]=''.htmlspecialchars($this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName)).''; $lines[] = implode(chr(10),$extensions); } } @@ -774,7 +774,7 @@ $content.= t3lib_BEfunc::cshItem('_MOD_tools_em', 'loaded', $GLOBALS['BACK_PATH'],''); $content.= '
'; - $content.= '

'; + $content.= '

'; $content.= '
@@ -827,7 +827,7 @@ } if(count($extensions)) { $lines[]='
'; - $lines[]=''.$this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName).''; + $lines[]=''.htmlspecialchars($this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName)).''; $lines[] = implode(chr(10),$extensions); } } @@ -848,7 +848,7 @@ $content.= sprintf($GLOBALS['LANG']->getLL('how_to_install'), $this->installButton()) . '
' . sprintf($GLOBALS['LANG']->getLL('how_to_uninstall'), $this->removeButton()). '

'; $content .= '
'; - $content .= '


'; + $content .= '

'; $content.= $this->securityHint.'

'; $content.= ''.implode('',$lines).'
'; @@ -902,7 +902,7 @@ foreach($cat[$this->MOD_SETTINGS['listOrder']] as $catName => $extEkeys) { if (count($extEkeys)) { $lines[]='
'; - $lines[]=''.$this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName).''; + $lines[]=''.htmlspecialchars($this->listOrderTitle($this->MOD_SETTINGS['listOrder'],$catName)).''; natcasesort($extEkeys); reset($extEkeys); @@ -948,9 +948,9 @@ // CSH: $content .= t3lib_BEfunc::cshItem('_MOD_tools_em', 'import_ter', $GLOBALS['BACK_PATH'], '|
'); - $onsubmit = "window.location.href='index.php?ter_connect=1&ter_search='+escape(this.elements['_lookUp'].value);return false;"; + $onsubmit = "window.location.href='index.php?ter_connect=1&ter_search='+escape(this.elements['lookUp'].value);return false;"; $content .= '