summaryrefslogtreecommitdiff
path: root/modules/mod_switch_theme.tpl
blob: 235cb78060aa2cd9c257f45f2b835d77eea7ab5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{strip}
{bitmodule title="$moduleTitle" name="switch_theme"}

	{if $change_theme eq 'y'}
		{form method="get" ipackage=themes ifile="switch_theme.php"}
			<select name="theme" onchange="this.form.submit();">
				{section name=ix loop=$styleslist}
					<option value="{$styleslist[ix]}"{if $styleslist[ix] == $style} selected="selected"{/if}>{$styleslist[ix]}</option>
				{/section}
			</select>
		{/form}
	{/if}
	
	{if $change_theme neq 'y' && $gBitUser->isAdmin()}
		{tr}This feature has to be enabled via Admin &gt; User Settings.{/tr}
	{/if}

{/bitmodule}
{/strip}