diff options
author | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-01-30 22:16:01 +0000 |
commit | 7bb12f4f481639547b7aabd38eb044eb1f942c66 (patch) | |
tree | 5e175322389e678094ea0cae3a12c07e062d0a79 /admin/cat_list.php | |
parent | 49b663ecec19a8b12f4986c2c2e8f193e2802366 (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 'admin/cat_list.php')
-rw-r--r-- | admin/cat_list.php | 18 |
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'); |