Vintage theme: display global messages

This commit is contained in:
ArthurHoaro 2020-11-09 12:46:24 +01:00
parent 1e49a65a2a
commit 336f15e8ba
2 changed files with 34 additions and 0 deletions

View file

@ -1122,6 +1122,16 @@ ul.errors {
float: left;
}
ul.warnings {
color: orange;
float: left;
}
ul.successes {
color: green;
float: left;
}
#pluginsadmin {
width: 80%;
padding: 20px 0 0 20px;

View file

@ -54,6 +54,30 @@
</ul>
{/if}
{if="!empty($global_errors)"}
<ul class="errors">
{loop="$global_errors"}
<li>{$value}</li>
{/loop}
</ul>
{/if}
{if="!empty($global_warnings)"}
<ul class="warnings">
{loop="$global_warnings"}
<li>{$value}</li>
{/loop}
</ul>
{/if}
{if="!empty($global_successes)"}
<ul class="successes">
{loop="$global_successes"}
<li>{$value}</li>
{/loop}
</ul>
{/if}
<div class="clear"></div>