Fixed bug #11136: Validation issue: End tag for "br" omitted, but OMITTAG NO was...
authorPatrick Broens <patrick@netcreators.com>
Wed, 27 May 2009 08:00:07 +0000 (08:00 +0000)
committerPatrick Broens <patrick@netcreators.com>
Wed, 27 May 2009 08:00:07 +0000 (08:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5508 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/lowlevel/class.tx_lowlevel_cleaner.php
typo3/sysext/lowlevel/config/index.php

index 9f3463d..bf0e304 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
        * Fixed bug #11133: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php
        * Fixed bug #11134: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php
        * Fixed bug #11135: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in various files in typo3/sysext/info_pagetsconfig/
+       * Fixed bug #11136: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in various files in typo3/sysext/lowlevel/
 
 2009-05-26  Patrick Broens  <patrick@patrickbroens.nl>
 
index 7253586..e86c0e9 100644 (file)
@@ -135,7 +135,7 @@ class tx_lowlevel_cleaner extends t3lib_extobjbase {
                if (is_array($this->pObj->MOD_MENU['tx_lowlevel_cleaner']))     {
                        $menu = '';
                        foreach($this->pObj->MOD_MENU['tx_lowlevel_cleaner'] as $key => $value) {
-                               $menu.='<a href="index.php?id='.intval(t3lib_div::_GP('id')).'&tx_lowlevel_cleaner='.$key.'">'.htmlspecialchars($value).'</a><br/>';
+                               $menu .= '<a href="index.php?id=' . intval(t3lib_div::_GP('id')) . '&tx_lowlevel_cleaner=' . $key . '">' . htmlspecialchars($value) . '</a><br />';
                        }
                        return $menu;
                }
@@ -186,7 +186,7 @@ debug($contentTreeData);
 
        function quickDBlookUp()        {
                $output = 'Enter [table]:[uid]:[fieldlist (optional)] <input name="table_uid" value="'.htmlspecialchars(t3lib_div::_POST('table_uid')).'" />';
-               $output.='<input type="submit" name="_" value="REFRESH" /><br/>';
+               $output .= '<input type="submit" name="_" value="REFRESH" /><br />';
 
                        // Show record:
                if (t3lib_div::_POST('table_uid'))      {
@@ -196,19 +196,19 @@ debug($contentTreeData);
 
                                if (count($rec))        {
                                        if (t3lib_div::_POST('_EDIT'))  {
-                                               $output.='<hr/>Edit:<br/><br/>';
+                                               $output .= '<hr />Edit:<br /><br />';
                                                foreach($rec as $field => $value)       {
-                                                       $output.= htmlspecialchars($field).'<br/><input name="record['.$table.']['.$uid.']['.$field.']" value="'.htmlspecialchars($value).'" /><br/>';
+                                                       $output .= htmlspecialchars($field) . '<br /><input name="record[' . $table . '][' . $uid . '][' . $field . ']" value="' . htmlspecialchars($value) . '" /><br />';
                                                }
                                                $output.='<input type="submit" name="_SAVE" value="SAVE" />';
                                        } elseif (t3lib_div::_POST('_SAVE'))    {
                                                $incomingData = t3lib_div::_POST('record');
                                                $GLOBALS['TYPO3_DB']->exec_UPDATEquery($table,'uid='.intval($uid),$incomingData[$table][$uid]);
-                                               $output.='<br/>Updated '.$table.':'.$uid.'...';
+                                               $output .= '<br />Updated ' . $table . ':' . $uid . '...';
                                                $this->updateRefIndex($table,$uid);
                                        } else if (t3lib_div::_POST('_DELETE')) {
                                                $GLOBALS['TYPO3_DB']->exec_DELETEquery($table,'uid='.intval($uid));
-                                               $output.='<br/>Deleted '.$table.':'.$uid.'...';
+                                               $output .= '<br />Deleted ' . $table . ':' . $uid . '...';
                                                $this->updateRefIndex($table,$uid);
                                        } else {
                                                $output.='<input type="submit" name="_EDIT" value="EDIT" />';
index 4d964ef..e0b6eac 100755 (executable)
@@ -251,13 +251,13 @@ class SC_mod_tools_config_index {
                if (t3lib_div::_GP('varname'))  {
                        $this->content .= '<div id="lowlevel-config-var">
                        <strong>' . $GLOBALS['LANG']->getLL('variable', true) . '</strong><br />
-                               <input type="text" name="_" value="'.trim(htmlspecialchars(t3lib_div::_GP('varname'))).'" size="120" /><br/>
+                               <input type="text" name="_" value="' . trim(htmlspecialchars(t3lib_div::_GP('varname'))) . '" size="120" /><br />
                                ' . $GLOBALS['LANG']->getLL('copyPaste', true) . '
                        </div>
                        ';
                }
 
-               $this->content.= '<br/><table border="0" cellpadding="1" cellspacing="0">';
+               $this->content.= '<br /><table border="0" cellpadding="1" cellspacing="0">';
                $this->content.= '<tr>
                                        <td><img src="clear.gif" width="1" height="1" alt="" /></td>
                                        <td class="bgColor2">