From 66c8658898b16f6a6468bddbbc6f882b3eaf3a7d Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 11 Jan 2016 16:34:12 -0800 Subject: plugin version compatibility checking. To use, set MinVersion, MaxVersion or MinPHPversion in the plugin header block. Case is not important. We check the project versions against STD_VERSION, which should be rolled to a new y of x.x.y if the plugin interface or project code changes in an incompatible way. --- view/tpl/admin_plugins_details.tpl | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'view/tpl/admin_plugins_details.tpl') diff --git a/view/tpl/admin_plugins_details.tpl b/view/tpl/admin_plugins_details.tpl index 6225ae7bf..721bd3573 100755 --- a/view/tpl/admin_plugins_details.tpl +++ b/view/tpl/admin_plugins_details.tpl @@ -1,7 +1,12 @@

{{$title}} - {{$page}}

- -

{{$info.name}} - {{$info.version}} : {{$action}}

+ +

{{if ! $info.disabled}}{{else}}{{/if}} {{$info.name}} - {{$info.version}}{{if ! $info.disabled}} : {{$action}}{{/if}}

+ + {{if $info.disabled}} +

{{$disabled}}

+ {{/if}} +

{{$info.description}}

{{foreach $info.author as $a}} @@ -10,6 +15,16 @@

{{/foreach}} + {{if $info.minversion}} +

{{$str_minversion}}{{$info.minversion}}

+ {{/if}} + {{if $info.maxversion}} +

{{$str_maxversion}}{{$info.maxversion}}

+ {{/if}} + {{if $info.minphpversion}} +

{{$str_minphpversion}}{{$info.minphpversion}}

+ {{/if}} + {{foreach $info.maintainer as $a}}

{{$str_maintainer}} -- cgit v1.2.3