aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/settings.html
blob: 31021fe9cef6b1ab0e0a7ccb5d5acfbd5b9b7d25 (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
45
46
47
48
<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">
		<ste:get_translation for="debugmode" />: <input type="submit" name="toggle_debugmode" value="?{$debugmode_enabled|<ste:get_translation for='enabled' />|<ste:get_translation for='disabled' />}" /> <ste:get_translation for="debugmode_might_get_overwritten_by_config_file" />
	</form>
	
	<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>
			<ste:default_delete_yesno />
			|
			<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>