aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_plugins_details.tpl
blob: 5d9e233f938821ccae980310c32b8b45cf190637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<div class = "generic-content-wrapper-styled" id='adminpage'>
	<h1>{{$title}} - {{$page}}</h1>

	<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&amp;t={{$form_security_token}}">{{$action}}</a>{{/if}}</p>

	{{if $info.disabled}}
	<p>{{$disabled}}</p>
	{{/if}}

	<p>{{$info.description}}</p>
	
	{{foreach $info.author as $a}}
	<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}}


	{{foreach $info.maintainer as $a}}
	<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>
	{{/if}}

	{{if $admin_form}}
	<h3>{{$settings}}</h3>
	<form method="post" action="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/">
		{{$admin_form}}
	</form>
	{{/if}}

	{{if $readme}}
	<h3>Readme</h3>
	<div id="plugin_readme">
		{{$readme}}
	</div>
	{{/if}}
</div>