1 <%include include/head.html>
3 <script language="javascript">
4 $(document).ready(function() {
5 registerInputTextareaSwap("#sone #options input[name=insertion-delay]", "WebInterface.DefaultText.Option.InsertionDelay", "insertion-delay", true, true);
9 <h1><%= Page.Options.Page.Title|l10n|html></h1>
11 <p><%= Page.Options.Page.Description|l10n|html></p>
13 <form id="options" method="post">
14 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
16 <h2><%= Page.Options.Section.RuntimeOptions.Title|l10n|html></h2>
18 <p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
19 <p><input type="text" name="insertion-delay" value="<% insertion-delay|html>" /></p>
21 <h2><%= Page.Options.Section.Cleaning.Title|l10n|html></h2>
23 <p><%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
24 <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>
26 <p><%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>
27 <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>
29 <p><button type="submit"><%= Page.Options.Button.Save|l10n|html></button></p>
33 <%include include/tail.html>