1 <%include include/head.html>
3 <script language="javascript">
4 $(document).ready(function() {
5 getTranslation("WebInterface.DefaultText.Option.InsertionDelay", function(insertionDelayDefaultText) {
6 registerInputTextareaSwap("#sone #options input[name=insertion-delay]", insertionDelayDefaultText, "insertion-delay", true, true);
8 getTranslation("WebInterface.DefaultText.Option.PostsPerPage", function(postsPerPageText) {
9 registerInputTextareaSwap("#sone #options input[name=posts-per-page]", postsPerPageText, "posts-per-page", true, true);
11 getTranslation("WebInterface.DefaultText.Option.PositiveTrust", function(positiveTrustText) {
12 registerInputTextareaSwap("#sone #options input[name=positive-trust]", positiveTrustText, "positive-trust", true, true);
14 getTranslation("WebInterface.DefaultText.Option.NegativeTrust", function(negativeTrustText) {
15 registerInputTextareaSwap("#sone #options input[name=negative-trust]", negativeTrustText, "negative-trust", true, true);
17 getTranslation("WebInterface.DefaultText.Option.TrustComment", function(trustCommentText) {
18 registerInputTextareaSwap("#sone #options input[name=trust-comment]", trustCommentText, "trust-comment", true, true);
23 <h1><%= Page.Options.Page.Title|l10n|html></h1>
25 <p><%= Page.Options.Page.Description|l10n|html></p>
27 <form id="options" method="post">
28 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
30 <h2><%= Page.Options.Section.SoneSpecificOptions.Title|l10n|html></h2>
33 <p><%= Page.Options.Section.SoneSpecificOptions.NotLoggedIn|l10n|html|replace needle="{link}" replacement='<a href="login.html">'|replace needle="{/link}" replacement='</a>'></p>
37 <input type="checkbox" name="auto-follow"<%ifnull currentSone> disabled="disabled"<%/if><%if auto-follow> checked="checked"<%/if> />
38 <%= Page.Options.Option.AutoFollow.Description|l10n|html>
41 <h2><%= Page.Options.Section.RuntimeOptions.Title|l10n|html></h2>
43 <p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
44 <p><input type="text" name="insertion-delay" value="<% insertion-delay|html>" /></p>
46 <p><%= Page.Options.Option.PostsPerPage.Description|l10n|html></p>
47 <p><input type="text" name="posts-per-page" value="<% posts-per-page|html>" /></p>
49 <h2><%= Page.Options.Section.TrustOptions.Title|l10n|html></h2>
51 <p><%= Page.Options.Option.PositiveTrust.Description|l10n|html></p>
52 <p><input type="text" name="positive-trust" value="<% positive-trust|html>" /></p>
54 <p><%= Page.Options.Option.NegativeTrust.Description|l10n|html></p>
55 <p><input type="text" name="negative-trust" value="<% negative-trust|html>" /></p>
57 <p><%= Page.Options.Option.TrustComment.Description|l10n|html></p>
58 <p><input type="text" name="trust-comment" value="<% trust-comment|html>" /></p>
60 <h2><%= Page.Options.Section.FcpOptions.Title|l10n|html></h2>
62 <p><input type="checkbox" name="fcp-interface-active"<%if fcp-interface-active> checked="checked"<%/if> /> <%= Page.Options.Option.FcpInterfaceActive.Description|l10n|html></p>
64 <h2><%= Page.Options.Section.RescueOptions.Title|l10n|html></h2>
66 <p><%= Page.Options.Option.SoneRescueMode.Description|l10n|html></p>
67 <p><select name="sone-rescue-mode"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if sone-rescue-mode> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if !sone-rescue-mode> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
69 <h2><%= Page.Options.Section.Cleaning.Title|l10n|html></h2>
71 <p><%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
72 <p><select name="clear-on-next-restart"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if ! clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
74 <p><%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
75 <p><select name="really-clear-on-next-restart"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if really-clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if ! really-clear-on-next-restart> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
77 <p><button type="submit"><%= Page.Options.Button.Save|l10n|html></button></p>
81 <%include include/tail.html>