aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_options.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_options.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_options.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php
index 13f8d0b80..0a9b93e8f 100644
--- a/admin/cat_options.php
+++ b/admin/cat_options.php
@@ -154,8 +154,8 @@ $base_url = PHPWG_ROOT_PATH.'admin.php?page=cat_options&amp;section=';
$template->assign_vars(
array(
- 'L_SUBMIT'=>$lang['submit'],
- 'L_RESET'=>$lang['reset'],
+ 'L_SUBMIT'=>l10n('submit'),
+ 'L_RESET'=>l10n('reset'),
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=cat_options',
@@ -238,9 +238,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_SECTION' => $lang['cat_upload_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],
- 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],
+ 'L_SECTION' => l10n('cat_upload_title'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('authorized'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'),
)
);
break;
@@ -259,9 +259,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_SECTION' => $lang['cat_comments_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],
- 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],
+ 'L_SECTION' => l10n('cat_comments_title'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('authorized'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'),
)
);
break;
@@ -280,9 +280,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_SECTION' => $lang['cat_lock_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['unlocked'],
- 'L_CAT_OPTIONS_FALSE' => $lang['locked'],
+ 'L_SECTION' => l10n('cat_lock_title'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('unlocked'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('locked'),
)
);
break;
@@ -301,9 +301,9 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_SECTION' => $lang['cat_status_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['cat_public'],
- 'L_CAT_OPTIONS_FALSE' => $lang['cat_private'],
+ 'L_SECTION' => l10n('cat_status_title'),
+ 'L_CAT_OPTIONS_TRUE' => l10n('cat_public'),
+ 'L_CAT_OPTIONS_FALSE' => l10n('cat_private'),
)
);
break;