[TYPO3-dev] Why change in feediting

Tapio Markula tapio.markula at xetpoint.fi
Wed Jul 8 19:54:41 CEST 2009


Hi

My pixe_feediting doesn't anymore work with newest 4.2 brach because of 
this change (no labels in admin panel)

class.t3lib_tsfebeuserauth.php:
in TYPO3-4.2.6



public function extGetLL($key) {
                 global $LOCAL_LANG;
                 if (!is_array($LOCAL_LANG)) {

$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_tsfe.php');

#include('./'.TYPO3_mainDir.'sysext/lang/locallang_tsfe.php');
                         if (!is_array($LOCAL_LANG)) {
                                 $LOCAL_LANG = array();
                         }
                 }

                 $labelStr = 
htmlspecialchars($GLOBALS['LANG']->getLL($key));    // Label string in 
the default backend output charset.

                         // Convert to utf-8, then to entities:
                 if ($GLOBALS['LANG']->charSet != 'utf-8') {
                         $labelStr = 
$GLOBALS['LANG']->csConvObj->utf8_encode($labelStr, 
$GLOBALS['LANG']->charSet);
                 }
                 $labelStr = 
$GLOBALS['LANG']->csConvObj->utf8_to_entities($labelStr);

                         // Return the result:
                 return $labelStr;
         }

}






in TYPO3 4.2.8



function extGetLL($key) {
                 $labelStr = 
htmlspecialchars($GLOBALS['LANG']->getLL($key));    // Label string in 
the default backend output charset.

                         // Convert to utf-8, then to entities:
                 if ($GLOBALS['LANG']->charSet!='utf-8') {
                         $labelStr = 
$GLOBALS['LANG']->csConvObj->utf8_encode($labelStr,$GLOBALS['LANG']->charSet);
                 }
                 $labelStr = 
$GLOBALS['LANG']->csConvObj->utf8_to_entities($labelStr);

                         // Return the result:
                 return $labelStr;
         }


Why changed - including library is important for me

What I should do to concerning functionality - just made an XCLASS to 
use the older version of the function?




More information about the TYPO3-dev mailing list