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

ChangeLog
typo3/sysext/cms/layout/db_layout.php

index 2a78f76..b2f1ecd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,8 @@
        * Fixed bug #11124: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/mod/tools/em/class.em_index.php
        * Fixed bug #11125: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in various files of typo3/mod/user/ws/
        * Fixed bug #11126: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/mod/web/perm/index.php
-       * Fixed bug #11127: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/sysext/belog/mod/index.php 
+       * Fixed bug #11127: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/sysext/belog/mod/index.php
+       * Fixed bug #11128: Validation issue: End tag for "br" omitted, but OMITTAG NO was specified in typo3/sysext/cms/layout/db_layout.php
 
 2009-05-26  Patrick Broens  <patrick@patrickbroens.nl>
 
index 058e1da..59b0c22 100755 (executable)
@@ -791,7 +791,7 @@ class SC_db_layout {
                        if (!$recordAccess)     {
                                        // If no edit access, print error message:
                                $content.=$this->doc->section($LANG->getLL('noAccess'),$LANG->getLL('noAccess_msg').'<br /><br />'.
-                                                       ($BE_USER->errorMsg ? 'Reason: '.$BE_USER->errorMsg.'<br/><br/>' : ''),0,1);
+                                                       ($BE_USER->errorMsg ? 'Reason: ' . $BE_USER->errorMsg . '<br /><br />' : ''), 0, 1);
                        } elseif (is_array($rec))       {       // If the record is an array (which it will always be... :-)
 
                                        // Create instance of TCEforms, setting defaults:
@@ -890,7 +890,7 @@ class SC_db_layout {
                        $HTMLcode = '';
 
                                // CSH:
-                       $HTMLcode.= t3lib_BEfunc::cshItem($this->descrTable,'quickEdit_selElement',$BACK_PATH,'|<br/>');
+                       $HTMLcode.= t3lib_BEfunc::cshItem($this->descrTable, 'quickEdit_selElement', $BACK_PATH, '|<br />');
 
                        $HTMLcode.=$posMap->printContentElementColumns($this->id,$this->eRParts[1],$this->colPosList,$this->MOD_SETTINGS['tt_content_showHidden'],$this->R_URI);