- 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
This commit is contained in:
plegall
2005-06-11 14:10:04 +00:00
parent 4fedaac43a
commit e851f504ac
27 changed files with 150 additions and 241 deletions
+1 -2
View File
@@ -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'],