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
This commit is contained in:
gweltas
2004-11-25 16:44:41 +00:00
parent 2c109654aa
commit 8f97f21eb2
8 changed files with 79 additions and 118 deletions
+2 -2
View File
@@ -282,8 +282,8 @@ $template->assign_vars(array(
'L_SUBMIT'=>$lang['submit'],
'L_STORAGE'=>$lang['storage'],
'L_NB_IMG'=>$lang['pictures'],
'L_MOVE_UP'=>$lang['cat_up'],
'L_MOVE_DOWN'=>$lang['cat_down'],
'L_MOVE_UP'=>$lang['up'],
'L_MOVE_DOWN'=>$lang['down'],
'L_EDIT'=>$lang['edit'],
'L_INFO_IMG'=>$lang['cat_image_info'],
'L_DELETE'=>$lang['delete'],
+1 -1
View File
@@ -151,7 +151,7 @@ $template->assign_vars(array(
'L_EDIT_STATUS_INFO'=>$lang['cat_access_info'],
'L_ACCESS_FREE'=>$lang['free'],
'L_ACCESS_RESTRICTED'=>$lang['restricted'],
'L_EDIT_LOCK'=>$lang['cat_lock'],
'L_EDIT_LOCK'=>$lang['lock'],
'L_EDIT_LOCK_INFO'=>$lang['cat_lock_info'],
'L_YES'=>$lang['yes'],
'L_NO'=>$lang['no'],
+16 -21
View File
@@ -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());