1
0
Fork 0

use an array for warnings in admin panel

This commit is contained in:
Tobias Diekershoff 2016-11-20 16:14:09 +01:00
commit b03009d962
2 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,9 @@
<h1>{{$title}} - {{$page}}</h1>
{{if $showwarning}}
<div id="admin-warning-message-wrapper">
<p id="admin-warning-message" class="warning-message">{{$warningtext}}</p>
{{foreach $warningtext as $wt}}
<p class="warning-message">{{$wt}}</p>
{{/foreach}}
</div>
{{/if}}