aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-01-30 22:16:01 +0000
committerrub <rub@piwigo.org>2008-01-30 22:16:01 +0000
commit7bb12f4f481639547b7aabd38eb044eb1f942c66 (patch)
tree5e175322389e678094ea0cae3a12c07e062d0a79 /include/common.inc.php
parent49b663ecec19a8b12f4986c2c2e8f193e2802366 (diff)
Replace old use of $lang by l10n function.
Merge BSF 2200:2201 into branch-1_7 git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2202 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 00e68e646..f4fafa1c3 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -168,7 +168,7 @@ trigger_action('loading_lang');
// include/user.inc.php)
if ($user['is_the_guest'])
{
- $user['username'] = $lang['guest'];
+ $user['username'] = l10n('guest');
}
// template instance
@@ -197,11 +197,11 @@ if (isset($user['internal_status']['guest_must_be_guest'])
if ($conf['gallery_locked'])
{
- $header_msgs[] = $lang['gallery_locked_message'];
+ $header_msgs[] = l10n('gallery_locked_message');
if ( script_basename() != 'identification' and !is_admin() )
{
- echo $lang['gallery_locked_message']
+ echo l10n('gallery_locked_message')
.'<a href="'.get_absolute_root_url(false).'identification.php">.</a>';
exit();
}
@@ -232,7 +232,7 @@ SELECT id
if (is_adviser())
{
- $header_msgs[] = $lang['adviser_mode_enabled'];
+ $header_msgs[] = l10n('adviser_mode_enabled');
}
if (count($header_msgs) > 0)