Browse Source

only show the reload link if plugins are found

tags/3.5
Tobias Diekershoff 4 years ago
parent
commit
629c69d9dd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      view/templates/admin_plugins.tpl

+ 2
- 2
view/templates/admin_plugins.tpl View File

@@ -1,12 +1,12 @@

<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
<a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&amp;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&amp;t={{$form_security_token}}">{{$reload}}</a>
<ul id='pluginslist'>
{{foreach $plugins as $p}}
<li class='plugin {{$p.1}}'>


Loading…
Cancel
Save