aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_modify.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-06-11 14:10:04 +0000
committerplegall <plg@piwigo.org>2005-06-11 14:10:04 +0000
commite851f504acebc9422b79f58da25420666da6e296 (patch)
treef90d0104a9799caa29bcd47d0bd2c6edabcefe79 /admin/cat_modify.php
parent4fedaac43ac404dc50193d6032307697412bb2c9 (diff)
- errors and informations boxes : management centralized in admin.php,
$errors and $infos arrays replaced by $page['errors'] and $page['infos'], special management for admin/update.php (more complex management) git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r--admin/cat_modify.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 97217ab99..44c07ad85 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -81,7 +81,7 @@ if ( isset( $_POST['submit'] ) )
set_cat_visible(array($_GET['cat_id']), $_POST['visible']);
set_cat_status(array($_GET['cat_id']), $_POST['status']);
- $template->assign_block_vars('confirmation' ,array());
+ array_push($infos, $lang['editcat_confirm']);
}
else if (isset($_POST['set_random_representant']))
{
@@ -144,7 +144,6 @@ $template->assign_vars(array(
$commentable=>'checked="checked"',
$uploadable=>'checked="checked"',
- 'L_EDIT_CONFIRM'=>$lang['editcat_confirm'],
'L_EDIT_NAME'=>$lang['name'],
'L_STORAGE'=>$lang['storage'],
'L_REMOTE_SITE'=>$lang['remote_site'],