clipbucket/upload/admin_area/styles/cb_2014/layout/msg.html
2014-05-09 11:18:39 +00:00

38 lines
No EOL
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{assign var=msg value=$eh->message_list}
{assign var=err value=$eh->error_list}
{assign var=war value=$eh->warning_list}
{if $err.0 neq '' || $err.1 neq ''}
<div class="alert alert-danger alert-dismissable">
<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
<ul class="list-unstyled">
{foreach from=$err item=show_msg}
<li><img src="{$imageurl}/cross.png" /> {$show_msg}</li>
{/foreach}
</ul>
</div>
{/if}
{if $msg.0 neq ''}
<div class="alert alert-success alert-dismissable">
<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
<ul class="list-unstyled">
{foreach from=$msg item=show_msg}
<li><img src="{$imageurl}/ok.png" /> {$show_msg}</li>
{/foreach}
</ul>
</div>
{/if}
{if $war.0 neq ''}
<div class="alert alert-warning alert-dismissable">
<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
<ul class="list-unstyled">
{foreach from=$war item=show_msg}
<li><img src="{$imageurl}/error.png" /> {$show_msg}</li>
{/foreach}
</ul>
</div>
{/if}