diff options
author | mistic100 <mistic@piwigo.org> | 2011-12-18 21:46:24 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-12-18 21:46:24 +0000 |
commit | ca230a6f53e3a102faf5cb3633465ee8fc326663 (patch) | |
tree | 9613ef04023af2927ed452c370af4814fb866fc5 /themes/default/template/password.tpl | |
parent | f5004995306cb603d63724c98af2d657c3c4a64b (diff) |
feature:2538 Make a unified messages management
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages
git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/password.tpl')
-rw-r--r-- | themes/default/template/password.tpl | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/themes/default/template/password.tpl b/themes/default/template/password.tpl index 493e1000f..2546adea2 100644 --- a/themes/default/template/password.tpl +++ b/themes/default/template/password.tpl @@ -12,25 +12,7 @@ <h2>{$title}</h2> </div> - {if count($errors)} - <div class="errors"> - <ul> - {foreach from=$errors item=error} - <li>{$error}</li> - {/foreach} - </ul> - </div> - {/if} - - {if count($infos)} - <div class="infos"> - <ul> - {foreach from=$infos item=info} - <li>{$info}</li> - {/foreach} - </ul> - </div> - {/if} +{include file='infos_errors.tpl'} {if $action ne 'none'} <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&key={$key}{/if}" method="post"> |