aboutsummaryrefslogtreecommitdiffstats
path: root/admin/update.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/update.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 '')
-rw-r--r--admin/update.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/update.php b/admin/update.php
index 59e748198..bfc3236fc 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -654,11 +654,11 @@ if (isset($_POST['submit'])
if (count($errors) > 0)
{
- $template->assign_block_vars('update.errors', array());
+ $template->assign_block_vars('update.update_errors', array());
foreach ($errors as $error)
{
$template->assign_block_vars(
- 'update.errors.error',
+ 'update.update_errors.update_error',
array(
'ELEMENT' => $error['path'],
'LABEL' => $error['type'].' ('.$error_labels[$error['type']].')'
@@ -669,11 +669,11 @@ if (isset($_POST['submit'])
and isset($_POST['display_info'])
and $_POST['display_info'] == 1)
{
- $template->assign_block_vars('update.infos', array());
+ $template->assign_block_vars('update.update_infos', array());
foreach ($infos as $info)
{
$template->assign_block_vars(
- 'update.infos.info',
+ 'update.update_infos.update_info',
array(
'ELEMENT' => $info['path'],
'LABEL' => $info['info']