aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_options.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-11-25 16:44:41 +0000
committergweltas <gweltas@piwigo.org>2004-11-25 16:44:41 +0000
commit8f97f21eb2025c563cf7d8a56adb0193f3dc5eab (patch)
tree2575b7c11e92a4eb304b274ec9a597a67caa176e /admin/cat_options.php
parent2c109654aac3eda8b98afb8b69b05f921091744d (diff)
Categories option management update.
- Rewrite of the tpl file (no more table in it) - Deletion of duplicate entry in language files - French version git-svn-id: http://piwigo.org/svn/trunk@622 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/cat_options.php37
1 files changed, 16 insertions, 21 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php
index b62422961..21eb13434 100644
--- a/admin/cat_options.php
+++ b/admin/cat_options.php
@@ -182,11 +182,6 @@ $template->assign_vars(
'L_SUBMIT'=>$lang['submit'],
'L_RESET'=>$lang['reset'],
- 'U_UPLOAD'=>add_session_id($base_url.'upload'),
- 'U_VISIBLE'=>add_session_id($base_url.'visible'),
- 'U_COMMENTS'=>add_session_id($base_url.'comments'),
- 'U_STATUS'=>add_session_id($base_url.'status'),
-
'F_ACTION'=>add_session_id($base_url.$page['section'])
)
);
@@ -227,10 +222,10 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_TITLE' => $lang['cat_options_upload_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['cat_options_upload_true'],
- 'L_CAT_OPTIONS_FALSE' => $lang['cat_options_upload_false'],
- 'L_CAT_OPTIONS_INFO' => $lang['cat_options_upload_info'],
+ 'L_CAT_TITLE' => $lang['cat_upload_title'],
+ 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],
+ 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],
+ 'L_CAT_OPTIONS_INFO' => $lang['cat_upload_info'],
)
);
$template->assign_block_vars('upload', array());
@@ -250,10 +245,10 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_TITLE' => $lang['cat_options_comments_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['cat_options_comments_true'],
- 'L_CAT_OPTIONS_FALSE' => $lang['cat_options_comments_false'],
- 'L_CAT_OPTIONS_INFO' => $lang['cat_options_comments_info'],
+ 'L_CAT_TITLE' => $lang['cat_comments_title'],
+ 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],
+ 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],
+ 'L_CAT_OPTIONS_INFO' => $lang['cat_comments_info'],
)
);
$template->assign_block_vars('comments', array());
@@ -273,10 +268,10 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_TITLE' => $lang['cat_options_visible_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['cat_options_visible_true'],
- 'L_CAT_OPTIONS_FALSE' => $lang['cat_options_visible_false'],
- 'L_CAT_OPTIONS_INFO' => $lang['cat_options_visible_info'],
+ 'L_CAT_TITLE' => $lang['cat_lock_title'],
+ 'L_CAT_OPTIONS_TRUE' => $lang['lock'],
+ 'L_CAT_OPTIONS_FALSE' => $lang['unlock'],
+ 'L_CAT_OPTIONS_INFO' => $lang['cat_lock_info'],
)
);
$template->assign_block_vars('visible', array());
@@ -296,10 +291,10 @@ SELECT id,name,uppercats,global_rank
;';
$template->assign_vars(
array(
- 'L_TITLE' => $lang['cat_options_status_title'],
- 'L_CAT_OPTIONS_TRUE' => $lang['cat_options_status_true'],
- 'L_CAT_OPTIONS_FALSE' => $lang['cat_options_status_false'],
- 'L_CAT_OPTIONS_INFO' => $lang['cat_options_status_info'],
+ 'L_CAT_TITLE' => $lang['cat_status_title'],
+ 'L_CAT_OPTIONS_TRUE' => $lang['cat_public'],
+ 'L_CAT_OPTIONS_FALSE' => $lang['cat_private'],
+ 'L_CAT_OPTIONS_INFO' => $lang['cat_status_info'],
)
);
$template->assign_block_vars('status', array());