Changeset 1291 for branches/branch-1_6/include/functions.inc.php
- Timestamp:
- Apr 29, 2006, 12:36:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/functions.inc.php
r1282 r1291 800 800 * @return string 801 801 */ 802 function raw_l10n($key)802 function l10n($key) 803 803 { 804 804 global $lang, $conf; … … 810 810 811 811 return isset($lang[$key]) ? $lang[$key] : $key; 812 }813 /**814 * Like l10n but converts html entities815 *816 * @param string key817 * @return string818 */819 function l10n($key)820 {821 return htmlentities(raw_l10n($key),ENT_QUOTES);822 812 } 823 813
Note: See TracChangeset
for help on using the changeset viewer.