diff options
author | plegall <plg@piwigo.org> | 2005-06-11 14:10:04 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-06-11 14:10:04 +0000 |
commit | e851f504acebc9422b79f58da25420666da6e296 (patch) | |
tree | f90d0104a9799caa29bcd47d0bd2c6edabcefe79 /template/default/admin.tpl | |
parent | 4fedaac43ac404dc50193d6032307697412bb2c9 (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 'template/default/admin.tpl')
-rw-r--r-- | template/default/admin.tpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/template/default/admin.tpl b/template/default/admin.tpl index 5c86bfdd7..db93f7ca9 100644 --- a/template/default/admin.tpl +++ b/template/default/admin.tpl @@ -71,6 +71,27 @@ <td style="padding:10px;width:99%;" valign="top"> <div class="home"> <div class="titrePage">{PAGE_TITLE}</div> + + <!-- BEGIN errors --> + <div id="errors"> + <ul> + <!-- BEGIN error --> + <li>{errors.error.ERROR}</li> + <!-- END error --> + </ul> + </div> + <!-- END errors --> + + <!-- BEGIN infos --> + <div id="infos"> + <ul> + <!-- BEGIN info --> + <li>{infos.info.INFO}</li> + <!-- END info --> + </ul> + </div> + <!-- END infos --> + <div align="center">{ADMIN_CONTENT}{ADMIN_CONTENT_2}</div> </div> </td> |