aboutsummaryrefslogtreecommitdiffstats
path: root/admin/group_list.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
committerrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
commit69159c0e9238fd369dca2181af6fb9de47b14440 (patch)
tree545ea813c006506d1bde84e0da8cc5f7b686cd03 /admin/group_list.php
parentd5015da6ec45bbb08732b28dfbfe9e089504c08d (diff)
Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/group_list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/group_list.php b/admin/group_list.php
index c5bd7ac70..2d8bbfbee 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -87,7 +87,7 @@ if (isset($_POST['submit_add']) and !is_adviser())
{
if (empty($_POST['groupname']))
{
- array_push($page['errors'], $lang['group_add_error1']);
+ array_push($page['errors'], l10n('group_add_error1'));
}
if (count($page['errors']) == 0)
{
@@ -100,7 +100,7 @@ SELECT COUNT(*)
list($count) = mysql_fetch_row(pwg_query($query));
if ($count != 0)
{
- array_push($page['errors'], $lang['group_add_error2']);
+ array_push($page['errors'], l10n('group_add_error2'));
}
}
if (count($page['errors']) == 0)