Fixed bug #10263: Multiple calls to deprecated function "fixed_lgd_pre" (thanks...
authorSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jan 2009 09:43:09 +0000 (09:43 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jan 2009 09:43:09 +0000 (09:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4869 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_superadmin.php
t3lib/class.t3lib_timetrack.php
typo3/sysext/tsconfig_help/mod1/index.php

index 0d61525..1db42a5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-01-23  Steffen Kamper  <info@sk-typo3.de> 
 
+       Fixed bug  #10263: Multiple calls to deprecated function "fixed_lgd_pre" (thanks to Susanne Moog)
        Fixed bug  #10176: Multiple calls to deprecated function "fixed_lgd" throughout the core (thanks to Susanne Moog)
        Fixed bug  #10272: t3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string (thanks to Uschi Renziehausen)
        Fixed bug  #10178: Toolbar menu fails if there are no menu items
index 008f0e1..dd2a5e7 100755 (executable)
@@ -1158,7 +1158,7 @@ class t3lib_superadmin {
                                        // Setting section header, if needed.
                                if ($head!=$all['siteInfo']['MAIN_DIR'])        {
                                        $lines[] = '
-                                               <h4 style="white-space: nowrap;">'.htmlspecialchars(t3lib_div::fixed_lgd_pre($all['siteInfo']['MAIN_DIR'],18)).'</h4>';
+                                               <h4 style="white-space: nowrap;">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($all['siteInfo']['MAIN_DIR'],-18)).'</h4>';
                                        $head = $all['siteInfo']['MAIN_DIR'];   // Set new head...
                                }
 
@@ -1370,4 +1370,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_superadmin.php']);
 }
 
-?>
\ No newline at end of file
+?>
index 7f5d081..02c230f 100755 (executable)
@@ -377,7 +377,7 @@ class t3lib_timeTrack {
                                $temp = array();
                                reset($data['tsStack']);
                                while(list($k,$v)=each($data['tsStack'])) {
-                                       $temp[] = t3lib_div::fixed_lgd_pre(implode($v,$k?'.':'/'),$keyLgd);
+                                       $temp[] = t3lib_div::fixed_lgd_cs(implode($v,$k?'.':'/'),-$keyLgd);
                                }
                                array_pop($temp);
                                $temp = array_reverse($temp);
@@ -392,7 +392,7 @@ class t3lib_timeTrack {
                        } else {
                                $theLabel = $data['key'];
                        }
-                       $theLabel = t3lib_div::fixed_lgd_pre($theLabel, $keyLgd);
+                       $theLabel = t3lib_div::fixed_lgd_pre($theLabel, -$keyLgd);
                        $theLabel = $data['stackPointer'] ? '<span style="color:maroon;">'.$theLabel.'</span>' : $theLabel;
                        $keyLabel = $theLabel.$keyLabel;
                        $item.= '<td valign="top" style="text-align:left; white-space:nowrap; padding-left:2px;'.$bgColor.'">'.($flag_tree?$data['icons']:'').$this->fw($keyLabel).'</td>';
index b306bad..47d63b6 100644 (file)
@@ -113,7 +113,7 @@ class tx_tsconfighelp_module1 extends t3lib_SCbase {
                                </script>
                        ';
 
-                       $headerSection = $this->doc->getHeader('pages',$this->pageinfo,$this->pageinfo['_thePath']).'<br />'.$LANG->sL('LLL:EXT:lang/locallang_core.xml:labels.path').': '.t3lib_div::fixed_lgd_pre($this->pageinfo['_thePath'],50);
+                       $headerSection = $this->doc->getHeader('pages',$this->pageinfo,$this->pageinfo['_thePath']).'<br />'.$LANG->sL('LLL:EXT:lang/locallang_core.xml:labels.path').': '.t3lib_div::fixed_lgd_cs($this->pageinfo['_thePath'],-50);
 
                        $this->content .= $this->doc->header($LANG->getLL('title'));
                        $this->content .= $this->doc->spacer(5);
@@ -800,4 +800,4 @@ foreach ($SOBE->include_once as $INC_FILE) include_once($INC_FILE);
 $SOBE->main();
 $SOBE->printContent();
 
-?>
\ No newline at end of file
+?>