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
297 297
		if (strcmp(substr($input,0,4),'LLL:'))	{	// Using obsolete 'language-splitted' labels:
298 298
			$t = explode('|',$input);
299 299
			$out = $t[$this->langSplitIndex] ? $t[$this->langSplitIndex] : $t[0];
300
			return $this->hscAndCharConv($out, $hsc);
300
			return ($hsc?htmlspecialchars($out):$out);
301 301
		} else {	// LOCAL_LANG:
302 302
			if (!isset($this->LL_labels_cache[$this->lang][$input])) {	// If cached label
303 303
				$restStr = trim(substr($input,4));
(1-1/2)