From 69159c0e9238fd369dca2181af6fb9de47b14440 Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 30 Jan 2008 22:07:07 +0000 Subject: Replace old use of $lang by l10n function. git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/group_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/group_list.php') 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) -- cgit v1.2.3