summaryrefslogtreecommitdiff
path: root/templates/admin_stats.tpl
blob: 7121a6fca6e7fc655e561fea0d0707ade8537813 (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
{* $Header$ *}
{strip}
{form legend="Statistics Settings"}
	<input type="hidden" name="page" value="{$page}" />

	{foreach from=$formFeaturesBit key=feature item=output}
		<div class="form-group">
			{if $output.type == 'text'}
				{forminput}
					{formlabel label=$output.label for=$feature}
					<input type="text" class="form-control" name="{$feature}" id="{$feature}" value="{$gBitSystem->getConfig($feature)|escape}" />
					{formhelp note=$output.note page=$output.page link=$output.link}
				{/forminput}
			{else}
				{forminput label="checkbox"}
					{html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} {tr}{$output.label}{/tr}
					{formhelp note=$output.note page=$output.page link=$output.link}
				{/forminput}
			{/if}
		</div>
	{/foreach}

	<div class="form-group submit">
		<input type="submit" class="btn btn-default" name="change_prefs" value="{tr}Change preferences{/tr}" />
	</div>
{/form}
{/strip}