aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_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/cat_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/cat_list.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index e11e13b8b..aac736a21 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -71,7 +71,7 @@ $categories = array();
$base_url = PHPWG_ROOT_PATH.'admin.php?page=cat_list';
$navigation = '<a class="" href="'.$base_url.'">';
-$navigation.= $lang['home'];
+$navigation.= l10n('home');
$navigation.= '</a>';
// +-----------------------------------------------------------------------+
@@ -81,7 +81,7 @@ $navigation.= '</a>';
if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser())
{
delete_categories(array($_GET['delete']));
- array_push($page['infos'], $lang['cat_virtual_deleted']);
+ array_push($page['infos'], l10n('cat_virtual_deleted'));
ordering();
update_global_rank();
}
@@ -166,13 +166,13 @@ $template->assign_vars(array(
'CATEGORIES_NAV'=>$navigation,
'F_ACTION'=>$form_action,
- 'L_ADD_VIRTUAL'=>$lang['cat_add'],
- 'L_SUBMIT'=>$lang['submit'],
- 'L_STORAGE'=>$lang['storage'],
- 'L_NB_IMG'=>$lang['pictures'],
- 'L_MOVE_UP'=>$lang['up'],
- 'L_EDIT'=>$lang['edit'],
- 'L_DELETE'=>$lang['delete'],
+ 'L_ADD_VIRTUAL'=>l10n('cat_add'),
+ 'L_SUBMIT'=>l10n('submit'),
+ 'L_STORAGE'=>l10n('storage'),
+ 'L_NB_IMG'=>l10n('pictures'),
+ 'L_MOVE_UP'=>l10n('up'),
+ 'L_EDIT'=>l10n('edit'),
+ 'L_DELETE'=>l10n('delete'),
));
$tpl = array('cat_first','cat_last');