* Added a class="typo3-debug" parameter to t3lib_div::debug() tables
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 12 Dec 2005 22:34:37 +0000 (22:34 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Mon, 12 Dec 2005 22:34:37 +0000 (22:34 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@906 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php
typo3/sysext/cms/tslib/class.tslib_content.php

index 44d00db..39c0f06 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,3 @@
-
 2005-12-09  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * Fixed bug #2020: t3lib_cs->substr in mbstring-mode always used utf-8
@@ -8,6 +7,7 @@
 
        * Fixed wrong/missing label tags around radio input elements
        * Added new property "returnKey" to the split function - useful to get a specific element after a split operation
+       * Added a class="typo3-debug" parameter to t3lib_div::debug() tables
 
 2005-12-10  Peter Niederlag  <peter@niederlag.de>
 
index de6b0f2..3fbc8b4 100755 (executable)
@@ -2473,7 +2473,7 @@ class t3lib_div {
         */
        function debug($var="",$brOrHeader=0)   {
                if ($brOrHeader && !t3lib_div::testInt($brOrHeader))    {
-                       echo '<table border="0" cellpadding="0" cellspacing="0" bgcolor="white" style="border:0px; margin-top:3px; margin-bottom:3px;"><tr><td style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;">'.htmlspecialchars((string)$brOrHeader).'</td></tr><tr><td>';
+                       echo '<table class="typo3-debug" border="0" cellpadding="0" cellspacing="0" bgcolor="white" style="border:0px; margin-top:3px; margin-bottom:3px;"><tr><td style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;">'.htmlspecialchars((string)$brOrHeader).'</td></tr><tr><td>';
                } elseif ($brOrHeader<0)        {
                        for($a=0;$a<abs(intval($brOrHeader));$a++){echo '<br />';}
                }
index d1652b8..660cdb9 100755 (executable)
@@ -3828,7 +3828,7 @@ class tslib_cObj {
                                                if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails'])   {
                                                        $thumbSize = '';
                                                        if ($conf['icon_thumbSize'] || $conf['icon_thumbSize.'])        { $thumbSize = '&size='.$this->stdWrap($conf['icon_thumbSize'], $conf['icon_thumbSize.']); }
-                                                       $icon = 't3lib/thumbs.php?&dummy='.$GLOBALS['EXEC_TIME'].'&file='.rawurlencode('../'.$theFile).$thumbSize;
+                                                       $icon = 't3lib/thumbs.php?dummy='.$GLOBALS['EXEC_TIME'].'&file='.rawurlencode('../'.$theFile).$thumbSize;
                                                } else {
                                                        $icon = 't3lib/gfx/notfound_thumb.gif';
                                                }