only show the reload link if plugins are found
This commit is contained in:
parent
7a7ffb2299
commit
629c69d9dd
|
@ -1,12 +1,12 @@
|
|||
|
||||
<div id='adminpage'>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
<a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&t={{$form_security_token}}">{{$reload}}</a>
|
||||
{{if $pcount eq 0}}
|
||||
<div class="XXX">
|
||||
<div class="error-message">
|
||||
{{$noplugshint}}
|
||||
</div>
|
||||
{{else}}
|
||||
<a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&t={{$form_security_token}}">{{$reload}}</a>
|
||||
<ul id='pluginslist'>
|
||||
{{foreach $plugins as $p}}
|
||||
<li class='plugin {{$p.1}}'>
|
||||
|
|
Loading…
Reference in a new issue