Ignore:
Timestamp:
Apr 29, 2006, 12:36:49 PM (18 years ago)
Author:
chrisaga
Message:
  • merge trunk r1289:1290 into branch 1.6 (bug 358 fixed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/functions.inc.php

    r1282 r1291  
    800800 * @return string
    801801 */
    802 function raw_l10n($key)
     802function l10n($key)
    803803{
    804804  global $lang, $conf;
     
    810810
    811811  return isset($lang[$key]) ? $lang[$key] : $key;
    812 }
    813 /**
    814  * Like l10n but converts html entities
    815  *
    816  * @param string key
    817  * @return string
    818  */
    819 function l10n($key)
    820 {
    821   return htmlentities(raw_l10n($key),ENT_QUOTES);
    822812}
    823813
Note: See TracChangeset for help on using the changeset viewer.