Ignore:
Timestamp:
Dec 18, 2011, 10:46:24 PM (12 years ago)
Author:
mistic100
Message:

feature:2538 Make a unified messages management
use only $pageinfos and $pageerrors vars and and necessary template to all main pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/nbm.tpl

    r10824 r12764  
    1010        </div>
    1111
    12   {if not empty($errors)}
    13   <div class="errors">
    14     <ul>
    15       {foreach from=$errors item=error}
    16       <li>{$error}</li>
    17       {/foreach}
    18     </ul>
    19   </div>
    20   {/if}
    21 
    22   {if not empty($infos)}
    23   <div class="infos">
    24     <ul>
    25       {foreach from=$infos item=info}
    26       <li>{$info}</li>
    27       {/foreach}
    28     </ul>
    29   </div>
    30   {/if}
     12{include file='infos_errors.tpl'}
    3113
    3214</div>
Note: See TracChangeset for help on using the changeset viewer.