summaryrefslogtreecommitdiff
path: root/templates/admin_nexus.tpl
blob: 9fbb7daa445da67abc8c08c941ae59ffb28baff4 (plain)
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
{formfeedback hash=$feedback}

{legend legend="Menu Cache"}
	<div class="form-group">
		{formlabel label="Menu Cache" for=""}
		{forminput}
		{smartlink ititle="Rewrite Menu Cache" rewrite_cache=1 page=$page}
			{formhelp note="This will remove any old files in the nexus menu cache directory and rewrite any exiting menus. Useful when you have renamed menus."}
		{/forminput}
	</div>
{/legend}

{form legend="Nexus Menu Plugins"}
	<input type="hidden" name="page" value="{$page}" />

	<ul class="data">
		{foreach from=$gNexusSystem->mPlugins item=plugin}
			<li class="item {cycle values='even,odd'}">
				<div class="floaticon">
					<input type="checkbox" name="plugins[{$plugin.plugin_guid}]" id="{$plugin.plugin_guid}" value="y" {if $plugin.is_active eq 'y'}checked="checked"{/if} />
				</div>
				<h3><label for="{$plugin.plugin_guid}">{$plugin.plugin_guid}</label></h3>
				{$plugin.plugin_description}<br />
				{tr}Menu subtypes{/tr}
				<ul class="small">
					{foreach from=$plugin.menu_types item=menu_type}
						<li>{$menu_type.note}</li>
					{/foreach}
				</ul>
				<small>
				{if $plugin.web_link}<strong>{tr}Online Resource{/tr}:</strong> {$plugin.web_link}<br />{/if}
					<strong>{tr}Browser Requirements{/tr}:</strong> {$plugin.browser_requirements}
				</small>
			</li>
		{/foreach}
	</ul>

	<div class="form-group submit">
		<input type="submit" class="btn btn-default" name="pluginsave" value="{tr}Save Plugin Settings{/tr}" />
	</div>
{/form}