index.tpl 1.39 KB
Newer Older
Penny Leach's avatar
Penny Leach committed
1
2
{include file='header.tpl'}

Penny Leach's avatar
Penny Leach committed
3
4
5
<div id="column-right">
</div>

6
{include file="columnleftstart.tpl"}
Penny Leach's avatar
Penny Leach committed
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
			<h2>Plugin Administration</h2>
			
			{foreach from=$plugins key='plugintype' item='plugins'}
				<h4>{str tag='plugintype'}: {$plugintype}</h4>
				{assign var="installed" value=$plugins.installed}
				{assign var="notinstalled" value=$plugins.notinstalled} 
				<p><b>{str tag='installedplugins'}</b></p>
				{foreach from=$installed key='plugin' item='data'}
				{$plugin}
					{if $data.config}
						(<a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}">{str tag='config'}</a>)
					{/if}<br />
					{if $data.types} 
					{foreach from=$data.types key='type' item='config'}
					&nbsp;&nbsp;&nbsp;{$type} 
							{if $config} (<a href="pluginconfig.php?plugintype={$plugintype}&amp;pluginname={$plugin}&amp;type={$type}">{str tag='config'}</a>){/if}<br />
					{/foreach}
				{/if}
				{/foreach}
				{if $notinstalled} 
					<p><b>{str tag='notinstalledplugins'}</b></p>
					{foreach from=$notinstalled key='plugin' item='data'}
					{$plugin} {if $data.notinstallable} {str tag='notinstallable'} {$data.notinstallable} 
								  {else} (<a href="" onClick="{$installlink}('{$plugintype}.{$plugin}'); return false;">install</a>)
							  {/if}
				<div id="{$plugintype}.{$plugin}"></div>
				{/foreach}
				{/if}
			{/foreach}
Penny Leach's avatar
Penny Leach committed
36

37
{include file="columnleftend.tpl"}
Penny Leach's avatar
Penny Leach committed
38

Penny Leach's avatar
Penny Leach committed
39
{include file='footer.tpl'}