aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-29 10:36:49 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-29 10:36:49 +0000
commit84326ab9441000f93a8a4435e4ff39580fd04bf2 (patch)
tree9d1f1aaba8f8f714c7c3c9396f1cca6065d4d3ee /include/functions.inc.php
parente827e05429469912c450d2a1ee6750fffc82dbde (diff)
- merge trunk r1289:1290 into branch 1.6 (bug 358 fixed)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1291 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 166b0798f..1a71112f7 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -799,7 +799,7 @@ function get_name_from_file($filename)
* @param string key
* @return string
*/
-function raw_l10n($key)
+function l10n($key)
{
global $lang, $conf;
@@ -810,16 +810,6 @@ function raw_l10n($key)
return isset($lang[$key]) ? $lang[$key] : $key;
}
-/**
- * Like l10n but converts html entities
- *
- * @param string key
- * @return string
- */
-function l10n($key)
-{
- return htmlentities(raw_l10n($key),ENT_QUOTES);
-}
/**
* returns the corresponding value from $themeconf if existing. Else, the