From 7bb12f4f481639547b7aabd38eb044eb1f942c66 Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 30 Jan 2008 22:16:01 +0000 Subject: 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 --- admin/cat_list.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'admin/cat_list.php') 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 = ''; -$navigation.= $lang['home']; +$navigation.= l10n('home'); $navigation.= ''; // +-----------------------------------------------------------------------+ @@ -81,7 +81,7 @@ $navigation.= ''; 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'); -- cgit v1.2.3