mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user