Fixed bug #10266: No user authentication for >1 TYPO3 installation under one domain...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_timetrack.php
old mode 100755 (executable)
new mode 100644 (file)
index 1c318e4..a5904e0
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -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_cs($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>';
@@ -521,7 +521,7 @@ class t3lib_timeTrack {
        function fixCLen($c,$v) {
                $len = $v=='FILE'?$this->printConf['contentLength_FILE']:$this->printConf['contentLength'];
                if (strlen($c)>$len) {
-                       $c = '<span style="color:green;">'.htmlspecialchars(t3lib_div::fixed_lgd($c,$len)).'</span>';
+                       $c = '<span style="color:green;">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($c,$len)).'</span>';
                } else {
                        $c = htmlspecialchars($c);
                }
@@ -535,7 +535,7 @@ class t3lib_timeTrack {
         * @return      string
         */
        function fw($str) {
-               return '<span style="font-family:Verdana,Arial,Helvetica,sans-serif; font-size:0.6em; color:black; vertical-align:top;">'.$str.'&nbsp;</span>';
+               return '<span style="font-family:Verdana,Arial,Helvetica,sans-serif; font-size:10px; color:black; vertical-align:top;">'.$str.'&nbsp;</span>';
        }
 
        /**
@@ -606,4 +606,4 @@ class t3lib_timeTrack {
 
 // XCLASSing is not possible for this class
 
-?>
\ No newline at end of file
+?>