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/picture.tpl

    r12681 r12764  
    88{/if}
    99
    10 {if isset($errors)}
    11 <div class="errors">
    12         <ul>
    13                 {foreach from=$errors item=error}
    14                 <li>{$error}</li>
    15                 {/foreach}
    16         </ul>
    17 </div>
    18 {/if}
    19 {if isset($infos)}
    20 <div class="infos">
    21         <ul>
    22                 {foreach from=$infos item=info}
    23                 <li>{$info}</li>
    24                 {/foreach}
    25         </ul>
    26 </div>
    27 {/if}
     10{include file='infos_errors.tpl'}
    2811
    2912{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
Note: See TracChangeset for help on using the changeset viewer.