diff options
Diffstat (limited to 'view/tpl/admin_plugins_details.tpl')
-rwxr-xr-x | view/tpl/admin_plugins_details.tpl | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/view/tpl/admin_plugins_details.tpl b/view/tpl/admin_plugins_details.tpl index bdcc82c08..5d9e233f9 100755 --- a/view/tpl/admin_plugins_details.tpl +++ b/view/tpl/admin_plugins_details.tpl @@ -1,20 +1,39 @@ <div class = "generic-content-wrapper-styled" id='adminpage'> <h1>{{$title}} - {{$page}}</h1> - - <p><i class='toggleplugin {{if $status==on}}icon-check{{else}}icon-check-empty{{/if}} admin-icons'></i> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p> + + <p>{{if ! $info.disabled}}<i class='toggleplugin {{if $status==on}}icon-check{{else}}icon-check-empty{{/if}} admin-icons'></i>{{else}}<i class='icon-stop admin-icons'></i>{{/if}} {{$info.name}} - {{$info.version}}{{if ! $info.disabled}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a>{{/if}}</p> + + {{if $info.disabled}} + <p>{{$disabled}}</p> + {{/if}} + <p>{{$info.description}}</p> - <p class="author">{{$str_author}} {{foreach $info.author as $a}} - {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, - {{/foreach}} + <p class="author">{{$str_author}} + {{$a.name}}{{if $a.link}} {{$a.link}}{{/if}} </p> + {{/foreach}} + + {{if $info.minversion}} + <p class="versionlimit">{{$str_minversion}}{{$info.minversion}}</p> + {{/if}} + {{if $info.maxversion}} + <p class="versionlimit">{{$str_maxversion}}{{$info.maxversion}}</p> + {{/if}} + {{if $info.minphpversion}} + <p class="versionlimit">{{$str_minphpversion}}{{$info.minphpversion}}</p> + {{/if}} + {{if $info.requires}} + <p class="versionlimit">{{$str_requires}}{{$info.requires}}</p> + {{/if}} + - <p class="maintainer">{{$str_maintainer}} {{foreach $info.maintainer as $a}} - {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, - {{/foreach}} + <p class="maintainer">{{$str_maintainer}} + {{$a.name}}{{if $a.link}} {{$a.link}}{{/if}} </p> + {{/foreach}} {{if $screenshot}} <a href="{{$screenshot.0}}" class='screenshot'><img src="{{$screenshot.0}}" alt="{{$screenshot.1}}" /></a> |