Fixed bug #10176: Multiple calls to deprecated function "fixed_lgd" throughout the...
authorSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jan 2009 09:36:29 +0000 (09:36 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jan 2009 09:36:29 +0000 (09:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4868 709f56b5-9817-0410-a4d7-c38de5d9e867

16 files changed:
ChangeLog
t3lib/class.t3lib_div.php
t3lib/class.t3lib_timetrack.php
typo3/alt_shortcut.php
typo3/class.db_list_extra.inc
typo3/class.file_list.inc
typo3/classes/class.shortcutmenu.php
typo3/mod/tools/em/class.em_index.php
typo3/mod/web/perm/index.php
typo3/sysext/cms/tslib/media/scripts/wapversionLib.inc
typo3/sysext/fe_edit/view/class.tx_feedit_editpanel.php
typo3/sysext/install/mod/class.tx_install.php
typo3/sysext/lowlevel/dbint/index.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php
typo3/sysext/sys_action/class.tx_sysaction.php
typo3/sysext/taskcenter/task/class.mod_user_task.php

index 2545c5f..0d61525 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-01-23  Steffen Kamper  <info@sk-typo3.de> 
 
+       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 484a91d..8694e83 100755 (executable)
@@ -5262,7 +5262,7 @@ final class t3lib_div {
                $valListCnt = count($valueList);
                foreach ($arr as $key => $value)        {
                        if (!$valListCnt || in_array($key, $valueList)) {
-                               $str .= (string)$key.trim(': '.t3lib_div::fixed_lgd(str_replace("\n",'|',(string)$value), $valueLength)).'; ';
+                               $str .= (string)$key.trim(': '.t3lib_div::fixed_lgd_cs(str_replace("\n",'|',(string)$value), $valueLength)).'; ';
                        }
                }
                return $str;
index 9789f52..7f5d081 100755 (executable)
@@ -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);
                }
@@ -606,4 +606,4 @@ class t3lib_timeTrack {
 
 // XCLASSing is not possible for this class
 
-?>
\ No newline at end of file
+?>
index 549cfc7..33f5ff3 100755 (executable)
@@ -382,7 +382,7 @@ class SC_alt_shortcut {
                        if ($row['description']&&($row['uid']!=$this->editSC))  {
                                $label = $row['description'];
                        } else {
-                               $label = t3lib_div::fixed_lgd(rawurldecode($qParts['query']),150);
+                               $label = t3lib_div::fixed_lgd_cs(rawurldecode($qParts['query']),150);
                        }
                        $titleA = $this->itemLabel($label,$row['module_name'],$row['M_module_name']);
 
index f3c8eaf..f32aa5b 100755 (executable)
@@ -1229,7 +1229,7 @@ class localRecordList extends recordList {
                        }
                }
 
-               return count($infoData) ? '<a href="#" onclick="'.htmlspecialchars('top.launchView(\''.$table.'\', \''.$uid.'\'); return false;').'" title="'.htmlspecialchars(t3lib_div::fixed_lgd(implode(' / ',$infoData),100)).'">'.count($infoData).'</a>' : '';
+               return count($infoData) ? '<a href="#" onclick="'.htmlspecialchars('top.launchView(\''.$table.'\', \''.$uid.'\'); return false;').'" title="'.htmlspecialchars(t3lib_div::fixed_lgd_cs(implode(' / ',$infoData),100)).'">'.count($infoData).'</a>' : '';
        }
 
        /**
index 51ac0fd..d17aaf9 100755 (executable)
@@ -356,7 +356,7 @@ class fileList extends t3lib_recordList {
                                                                $theData[$field]=$this->makeRef($theFile);
                                                        break;
                                                        default:
-                                                               $theData[$field]=t3lib_div::fixed_lgd($theFile[$field],$this->fixedL);
+                                                               $theData[$field]=t3lib_div::fixed_lgd_cs($theFile[$field],$this->fixedL);
                                                        break;
                                                }
                                        }
@@ -384,7 +384,7 @@ class fileList extends t3lib_recordList {
 
                        // Sometimes $code contains plain HTML tags. In such a case the string should not be modified!
                if(!strcmp($code,strip_tags($code)))    {
-                       return '<a href="'.htmlspecialchars($href).'"'.$onclick.' title="'.htmlspecialchars($code).'">'.t3lib_div::fixed_lgd($code,$this->fixedL).'</a>';
+                       return '<a href="'.htmlspecialchars($href).'"'.$onclick.' title="'.htmlspecialchars($code).'">'.t3lib_div::fixed_lgd_cs($code,$this->fixedL).'</a>';
                } else  {
                        return '<a href="'.htmlspecialchars($href).'"'.$onclick.'>'.$code.'</a>';
                }
@@ -402,7 +402,7 @@ class fileList extends t3lib_recordList {
                if (t3lib_div::isFirstPartOfStr($path,t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT')))    {
                        $href = substr($path,strlen(t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT')));
                        $aOnClick = "return top.openUrlInWindow('".$href."','WebFile');";
-                       $code = '<a href="#" title="'.htmlspecialchars($code).'" onclick="'.htmlspecialchars($aOnClick).'">'.t3lib_div::fixed_lgd($code,$this->fixedL).'</a>';
+                       $code = '<a href="#" title="'.htmlspecialchars($code).'" onclick="'.htmlspecialchars($aOnClick).'">'.t3lib_div::fixed_lgd_cs($code,$this->fixedL).'</a>';
                }
                return $code;
        }
@@ -496,7 +496,7 @@ class fileList extends t3lib_recordList {
                                                                $theData[$field] = $this->linkWrapFile($theFile[$field],$theFile['path'].$theFile['file']);
                                                        break;
                                                        default:
-                                                               $theData[$field]=t3lib_div::fixed_lgd($theFile[$field],$this->fixedL);
+                                                               $theData[$field]=t3lib_div::fixed_lgd_cs($theFile[$field],$this->fixedL);
                                                        break;
                                                }
                                        }
@@ -691,7 +691,7 @@ class fileList extends t3lib_recordList {
                        }
                }
 
-               return count($infoData) ? '<a href="#" onclick="'.htmlspecialchars('top.launchView(\''.$theData['path'].$theData['file'].'\', \'\'); return false;').'" title="'.htmlspecialchars(t3lib_div::fixed_lgd(implode(' / ',$infoData),100)).'">'.count($infoData).'</a>' : '';
+               return count($infoData) ? '<a href="#" onclick="'.htmlspecialchars('top.launchView(\''.$theData['path'].$theData['file'].'\', \'\'); return false;').'" title="'.htmlspecialchars(t3lib_div::fixed_lgd_cs(implode(' / ',$infoData),100)).'">'.count($infoData).'</a>' : '';
        }
 }
 
index 923c682..4fc24c8 100644 (file)
@@ -317,7 +317,7 @@ class ShortcutMenu implements backend_toolbarItem {
                        if($row['description']) {
                                $shortcut['label'] = $row['description'];
                        } else {
-                               $shortcut['label'] = t3lib_div::fixed_lgd(rawurldecode($queryParts['query']), 150);
+                               $shortcut['label'] = t3lib_div::fixed_lgd_cs(rawurldecode($queryParts['query']), 150);
                        }
 
                        $shortcut['group']     = $shortcutGroup;
index 19a43a7..7ee74ec 100644 (file)
@@ -2862,11 +2862,11 @@ EXTENSION KEYS:
                }
 
                        // Extension title:
-               $cells[] = '<td nowrap="nowrap"><a href="'.htmlspecialchars($altLinkUrl?$altLinkUrl:'index.php?CMD[showExt]='.$extKey.'&SET[singleDetails]=info').'" title="'.$extKey.'"'/*.($extInfo['EM_CONF']['shy'] ? ' style="color:#666;" ' : '')*/.'>'.t3lib_div::fixed_lgd($extInfo['EM_CONF']['title']?$extInfo['EM_CONF']['title']:'<em>'.$extKey.'</em>',40).'</a></td>';
+               $cells[] = '<td nowrap="nowrap"><a href="'.htmlspecialchars($altLinkUrl?$altLinkUrl:'index.php?CMD[showExt]='.$extKey.'&SET[singleDetails]=info').'" title="'.$extKey.'"'/*.($extInfo['EM_CONF']['shy'] ? ' style="color:#666;" ' : '')*/.'>'.t3lib_div::fixed_lgd_cs($extInfo['EM_CONF']['title']?$extInfo['EM_CONF']['title']:'<em>'.$extKey.'</em>',40).'</a></td>';
 
                        // Based on which display mode you will see more or less details:
                if (!$this->MOD_SETTINGS['display_details'])    {
-                       $cells[] = '<td>'.htmlspecialchars(t3lib_div::fixed_lgd($extInfo['EM_CONF']['description'],400)).'<br /><img src="clear.gif" width="300" height="1" alt="" /></td>';
+                       $cells[] = '<td>'.htmlspecialchars(t3lib_div::fixed_lgd_cs($extInfo['EM_CONF']['description'],400)).'<br /><img src="clear.gif" width="300" height="1" alt="" /></td>';
                        $cells[] = '<td nowrap="nowrap">'.($extInfo['EM_CONF']['author_email'] ? '<a href="mailto:'.htmlspecialchars($extInfo['EM_CONF']['author_email']).'">' : '').htmlspecialchars($extInfo['EM_CONF']['author']).($extInfo['EM_CONF']['author_email'] ? '</a>' : '').($extInfo['EM_CONF']['author_company'] ? '<br />'.htmlspecialchars($extInfo['EM_CONF']['author_company']) : '').'</td>';
                } elseif ($this->MOD_SETTINGS['display_details']==2)    {
                        $cells[] = '<td nowrap="nowrap">'.$extInfo['EM_CONF']['priority'].'</td>';
@@ -3017,7 +3017,7 @@ EXTENSION KEYS:
                if (is_array($imgInfo)) {
                        $out.= '<img src="'.$GLOBALS['BACK_PATH'].$this->typeRelPaths[$extInfo['type']].$extKey.'/ext_icon.gif" '.$imgInfo[3].' align="'.$align.'" alt="" />';
                }
-               $out.= $extInfo['EM_CONF']['title'] ? htmlspecialchars(t3lib_div::fixed_lgd($extInfo['EM_CONF']['title'],40)) : '<em>'.$extKey.'</em>';
+               $out.= $extInfo['EM_CONF']['title'] ? htmlspecialchars(t3lib_div::fixed_lgd_cs($extInfo['EM_CONF']['title'],40)) : '<em>'.$extKey.'</em>';
                return $out;
        }
 
@@ -5399,4 +5399,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/t
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/tools/em/index.php']);
 }
 
-?>
\ No newline at end of file
+?>
index b8f2b76..96ebbe8 100755 (executable)
@@ -644,7 +644,7 @@ class SC_mod_web_perm_index {
                                // First column:
                        $cellAttrib = ($data['row']['_CSSCLASS'] ? ' class="'.$data['row']['_CSSCLASS'].'"' : '');
                        $cells[]='
-                                       <td align="left" nowrap="nowrap"'.($cellAttrib ? $cellAttrib : $bgCol).'>'.$data['HTML'].htmlspecialchars(t3lib_div::fixed_lgd($data['row']['title'],$tLen)).'&nbsp;</td>';
+                                       <td align="left" nowrap="nowrap"'.($cellAttrib ? $cellAttrib : $bgCol).'>'.$data['HTML'].htmlspecialchars(t3lib_div::fixed_lgd_cs($data['row']['title'],$tLen)).'&nbsp;</td>';
 
                                // "Edit permissions" -icon
                        if ($editPermsAllowed && $pageId) {
index fa719fd..ea8dc43 100755 (executable)
@@ -200,8 +200,8 @@ class user_wapversion {
        function contentAbstract()      {
                $res = $this->getContentResult('tt_content');
                $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
-               $out = $this->bold(t3lib_div::fixed_lgd(htmlspecialchars($row['header']),20)).'<br/>';
-               $out.= t3lib_div::fixed_lgd(htmlspecialchars($row['bodytext']),50);
+               $out = $this->bold(t3lib_div::fixed_lgd_cs(htmlspecialchars($row['header']),20)).'<br/>';
+               $out.= t3lib_div::fixed_lgd_cs(htmlspecialchars($row['bodytext']),50);
                $out = '<p>'.$out.' <a href="'.htmlspecialchars('?id='.$GLOBALS['TSFE']->id.',1.'.$GLOBALS['TSFE']->type).'">[more]</a></p>';
                return $out;
        }
@@ -289,7 +289,7 @@ class user_wapversion {
         * @see contentAll()
         */
        function cBodytext($str,$start=0,$max=0)        {
-               $out = t3lib_div::fixed_lgd(($start?'...':'').substr($this->nl2br(htmlspecialchars(strip_tags($str))),$start),($max?$max:100000));
+               $out = t3lib_div::fixed_lgd_cs(($start?'...':'').substr($this->nl2br(htmlspecialchars(strip_tags($str))),$start),($max?$max:100000));
                $out = str_replace('&','',$out);        // No & in WAP docs??? --> or maybe just htmlspecialchar() things as the LAST thing instead!)
                return $out;
        }
@@ -480,4 +480,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scrip
 }
 
 
-?>
\ No newline at end of file
+?>
index 3b3d56a..ac396f0 100644 (file)
@@ -139,7 +139,7 @@ class tx_feedit_editpanel {
                                                                <table border="0" cellpadding="0" cellspacing="0" class="typo3-editPanel" summary="">
                                                                        <tr>
                                                                                <td nowrap="nowrap" bgcolor="#ABBBB4" class="typo3-editPanel-controls">' . $panel . '</td>' .
-                                                                               ($labelTxt ? '<td nowrap="nowrap" bgcolor="#F6F2E6" class="typo3-editPanel-label"><font face="verdana" size="1" color="black">&nbsp;' . sprintf($labelTxt, htmlspecialchars(t3lib_div::fixed_lgd($dataArr[$labelField], 50))) . '&nbsp;</font></td>' : '') . '
+                                                                               ($labelTxt ? '<td nowrap="nowrap" bgcolor="#F6F2E6" class="typo3-editPanel-label"><font face="verdana" size="1" color="black">&nbsp;' . sprintf($labelTxt, htmlspecialchars(t3lib_div::fixed_lgd_cs($dataArr[$labelField], 50))) . '&nbsp;</font></td>' : '') . '
                                                                        </tr>
                                                                </table>
                                                        </form>';
@@ -423,4 +423,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/fe_edit
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/fe_edit/view/class.tx_feedit_editpanel.php']);
 }
 
-?>
\ No newline at end of file
+?>
index cedf77d..7082374 100755 (executable)
@@ -1329,7 +1329,7 @@ From sub-directory:
 
                                                if (!is_array($value) && ($this->checkForBadString($value) || $isTextarea))     {
                                                        $k2 = '['.$vk.']';
-                                                       $msg = htmlspecialchars($description).'<br /><br /><em>'.$ext.$k2.' = '.htmlspecialchars(t3lib_div::fixed_lgd($value,60)).'</em><br />';
+                                                       $msg = htmlspecialchars($description).'<br /><br /><em>'.$ext.$k2.' = '.htmlspecialchars(t3lib_div::fixed_lgd_cs($value,60)).'</em><br />';
 
                                                        if ($isTextarea)        {
                                                                $form = '<textarea name="TYPO3_INSTALL[extConfig]['.$k.']['.$vk.']" cols="60" rows="5" wrap="off">'.htmlspecialchars($value).'</textarea>';
@@ -3782,7 +3782,7 @@ From sub-directory:
                                                if (count($statements)) {
                                                        $out = '';
                                                        foreach ($statements as $statement) {
-                                                               $out.= nl2br(htmlspecialchars(t3lib_div::fixed_lgd($statement,$maxlen)).chr(10).chr(10));
+                                                               $out.= nl2br(htmlspecialchars(t3lib_div::fixed_lgd_cs($statement,$maxlen)).chr(10).chr(10));
                                                        }
                                                }
                                                $this->message($tLabel,'Content of '.basename($actionParts[1]),$out,1);
index 26987da..7d21354 100755 (executable)
@@ -527,9 +527,9 @@ class SC_mod_tools_dbint_index {
                                        reset($admin->lRecords[$t]);
                                        while(list(,$data)=each($admin->lRecords[$t]))  {
                                                if (!t3lib_div::inList($admin->lostPagesList,$data[pid]))       {
-                                                       $lr.= '<nobr><b><a href="index.php?SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data[uid] . '"><img src="' . $BACK_PATH . 'gfx/required_h.gif" width="10" hspace="3" height="10" border="0" align="top" title="' . $GLOBALS['LANG']->getLL('fixLostRecord') . '"></a>uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd(strip_tags($data[title]), 20) . '</b></nobr><br>';
+                                                       $lr.= '<nobr><b><a href="index.php?SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data[uid] . '"><img src="' . $BACK_PATH . 'gfx/required_h.gif" width="10" hspace="3" height="10" border="0" align="top" title="' . $GLOBALS['LANG']->getLL('fixLostRecord') . '"></a>uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd_cs(strip_tags($data[title]), 20) . '</b></nobr><br>';
                                                } else {
-                                                       $lr.= '<nobr><img src="' . $BACK_PATH . 'clear.gif" width="16" height="1" border="0"><font color="Gray">uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd(strip_tags($data[title]), 20) . '</font></nobr><br>';
+                                                       $lr.= '<nobr><img src="' . $BACK_PATH . 'clear.gif" width="16" height="1" border="0"><font color="Gray">uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd_cs(strip_tags($data[title]), 20) . '</font></nobr><br>';
                                                }
                                        }
                                }
@@ -687,4 +687,4 @@ $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
 
-?>
\ No newline at end of file
+?>
index d7d3b64..83e3689 100644 (file)
@@ -116,7 +116,7 @@ class tx_rtehtmlarea_image_folderTree extends t3lib_folderTree {
                foreach($treeArr as $k => $v) {
                        $c++;
                        $bgColor=' class="'.(($c+1)%2 ? 'bgColor' : 'bgColor-10').'"';
-                       $out.='<tr'.$bgColor.'><td nowrap="nowrap">'.$v['HTML'].$this->wrapTitle(t3lib_div::fixed_lgd($v['row']['title'],$titleLen),$v['row']).'</td></tr>';
+                       $out.='<tr'.$bgColor.'><td nowrap="nowrap">'.$v['HTML'].$this->wrapTitle(t3lib_div::fixed_lgd_cs($v['row']['title'],$titleLen),$v['row']).'</td></tr>';
                }
 
                $out='<table border="0" cellpadding="0" cellspacing="0">'.$out.'</table>';
@@ -949,7 +949,7 @@ class tx_rtehtmlarea_select_image extends browse_links {
 
                                $titleLen = intval($BE_USER->uc['titleLen']);
                                $picon='<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/_icon_webfolders.gif','width="18" height="16"').' alt="" />';
-                               $picon.=htmlspecialchars(t3lib_div::fixed_lgd(basename($expandFolder),$titleLen));
+                               $picon.=htmlspecialchars(t3lib_div::fixed_lgd_cs(basename($expandFolder),$titleLen));
                                $out.='<span class="nobr">'.$picon.'</span><br />';
 
                                $imgObj = t3lib_div::makeInstance('t3lib_stdGraphic');
@@ -981,7 +981,7 @@ class tx_rtehtmlarea_select_image extends browse_links {
                                                $ATag2_e='</a>';
                                        }
 
-                                       $filenameAndIcon=$ATag.$icon.htmlspecialchars(t3lib_div::fixed_lgd(basename($filepath),$titleLen)).$ATag_e;
+                                       $filenameAndIcon=$ATag.$icon.htmlspecialchars(t3lib_div::fixed_lgd_cs(basename($filepath),$titleLen)).$ATag_e;
 
 
                                        $lines[]='<tr class="bgColor4"><td nowrap="nowrap">'.$filenameAndIcon.'&nbsp;</td><td nowrap="nowrap">'.$pDim.'&nbsp;</td></tr>';
@@ -1240,4 +1240,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtml
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php']);
 }
 
-?>
\ No newline at end of file
+?>
index 4849d5b..1a87f06 100755 (executable)
@@ -278,7 +278,7 @@ class tx_sysaction extends mod_user_task {
                $res = $this->getActionResPointer();
                $lines=array();
                while($actionRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
-                       $lines[]='<nobr>'.t3lib_iconworks::getIconImage("sys_action",$actionRow,$this->backPath,'hspace="2" align="top"').$this->action_link($this->fixed_lgd($actionRow["title"]),$actionRow["uid"],$actionRow["description"]).'</nobr><BR>';
+                       $lines[]='<nobr>'.t3lib_iconworks::getIconImage("sys_action",$actionRow,$this->backPath,'hspace="2" align="top"').$this->action_link($this->fixed_lgd_cs($actionRow["title"]),$actionRow["uid"],$actionRow["description"]).'</nobr><BR>';
                }
                $out = implode("",$lines);
                return $out;
@@ -417,4 +417,4 @@ if (defined("TYPO3_MODE") && $TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/sys_act
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/sys_action/class.tx_sysaction.php"]);
 }
 
-?>
\ No newline at end of file
+?>
index 426b7ae..650d9f9 100755 (executable)
@@ -125,7 +125,7 @@ class mod_user_task extends t3lib_extobjbase {
         * @return      string          cropped string
         */
        function fixed_lgd($str, $len = 0) {
-               return t3lib_div::fixed_lgd($str, $len?$len:$this->BE_USER->uc['titleLen']);
+               return t3lib_div::fixed_lgd_cs($str, $len?$len:$this->BE_USER->uc['titleLen']);
        }
 
        /**
@@ -211,4 +211,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/taskcen
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/taskcenter/task/class.mod_user_task.php']);
 }
 
-?>
\ No newline at end of file
+?>