Project

General

Profile

Bug #15510 » utf8-forms-2006-01-26.diff

Administrator Admin, 2006-01-26 16:50

View differences:

typo3/sysext/lang/lang.php 26 Jan 2006 15:49:10 -0000
if (strcmp(substr($input,0,4),'LLL:')) { // Using obsolete 'language-splitted' labels:
$t = explode('|',$input);
$out = $t[$this->langSplitIndex] ? $t[$this->langSplitIndex] : $t[0];
return $this->hscAndCharConv($out, $hsc);
return ($hsc?htmlspecialchars($out):$out);
} else { // LOCAL_LANG:
if (!isset($this->LL_labels_cache[$this->lang][$input])) { // If cached label
$restStr = trim(substr($input,4));
(1-1/2)