aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/settings.html
blob: 63bb0cbd415cd3fa261fb3efa5e34fe3731db94d (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
42
43
44
<ste:load name="master.html" />
<ste:load name="instant_select.tpl" />
<ste:block name="content">
	<ste:default_error />
	<ste:default_success />
	
	<form action="$rel_path_to_root/backend/admin/settings" method="post" accept-charset="UTF-8">
		<h2><ste:get_translation for="comment_settings" /></h2>
		<strong><ste:get_translation for="comment_textprocessor" />:</strong> <ste:instant_select name="comment_textprocessor" array="textprocessors" selected="$comment_textprocessor" /><br />
		<strong><ste:get_translation for="comment_auto_visible" />:</strong> <input type="checkbox" name="comment_auto_visible" value="yes"?{$comment_auto_visible| checked="checked"|} /><br />
		<input type="submit" name="save_comment_settings" />
	</form>
	
	<form action="$rel_path_to_root/backend/admin/settings" method="post" accept-charset="UTF-8">
		<h2><ste:get_translation for="language_settings" /></h2>
		<table class="listtab">
			<thead>
				<tr>
					<th>&nbsp;</th>
					<th><ste:get_translation for="language_code" /></th>
					<th><ste:get_translation for="language" /></th>
					<th><ste:get_translation for="default_language" /></th>
				</tr>
			</thead>
			<tbody>
				<ste:foreach array="used_langs" value="lang">
					<tr>
						<td><input type="radio" name="language_select" value="$lang[code]" /></td>
						<td>$lang[code]</td>
						<td><ste:escape>$lang[name]</ste:escape></td>
						<td>?{$lang[default]|<strong><ste:get_translation for="yes" /></strong>|<ste:get_translation for="no" />}</td>
					</tr>
				</ste:foreach>
			</tbody>
		</table>
		<div>
			<input type="submit" name="delete" value="<ste:get_translation for='delete' />" />&nbsp;<select name="really_delete"><option value="no" selected="selected"><ste:get_translation for="no" /></option><option value="yes"><ste:get_translation for="yes" /></option></select>
			|
			<input type="submit" name="make_default" value="<ste:get_translation for='make_default' />" />
			|
			<input type="submit" name="add_language" value="<ste:get_translation for='add_language' />" />&nbsp;<ste:instant_select name="language_to_add" array="all_langcodes" />
		</div>
	</form>
</ste:block>