<%include include/head.html>
- <script language="javascript">
+ <script type="application/javascript">
$(document).ready(function() {
getTranslation("WebInterface.DefaultText.Option.InsertionDelay", function(insertionDelayDefaultText) {
registerInputTextareaSwap("#sone #options input[name=insertion-delay]", insertionDelayDefaultText, "insertion-delay", true, true);
getTranslation("WebInterface.DefaultText.Option.PostCutOffLength", function(postCutOffLengthText) {
registerInputTextareaSwap("#sone #options input[name=post-cut-off-length]", postCutOffLengthText, "post-cut-off-length", true, true);
});
- getTranslation("WebInterface.DefaultText.Option.PositiveTrust", function(positiveTrustText) {
- registerInputTextareaSwap("#sone #options input[name=positive-trust]", positiveTrustText, "positive-trust", true, true);
- });
- getTranslation("WebInterface.DefaultText.Option.NegativeTrust", function(negativeTrustText) {
- registerInputTextareaSwap("#sone #options input[name=negative-trust]", negativeTrustText, "negative-trust", true, true);
- });
- getTranslation("WebInterface.DefaultText.Option.TrustComment", function(trustCommentText) {
- registerInputTextareaSwap("#sone #options input[name=trust-comment]", trustCommentText, "trust-comment", true, true);
- });
});
</script>
</li>
</ul>
+ <h2><%= Page.Options.Section.LoadLinkedImagesOptions.Title|l10n|html></h2>
+
+ <p><%= Page.Options.Option.LoadLinkedImages.Description|l10n|html></p>
+
+ <ul>
+ <li>
+ <input type="radio" name="load-linked-images" value="NEVER"<%if load-linked-images|match value==NEVER> checked="checked"<%/if>/>
+ <%=Page.Options.Option.LoadLinkedImages.Never.Description|l10n|html>
+ </li>
+ <li>
+ <input type="radio" name="load-linked-images" value="FOLLOWED"<%if load-linked-images|match value==FOLLOWED> checked="checked"<%/if>/>
+ <%=Page.Options.Option.LoadLinkedImages.Followed.Description|l10n|html>
+ </li>
+ <li>
+ <input type="radio" name="load-linked-images" value="MANUALLY_TRUSTED"<%if load-linked-images|match value==MANUALLY_TRUSTED> checked="checked"<%/if>/>
+ <%=Page.Options.Option.LoadLinkedImages.ManuallyTrusted.Description|l10n|html>
+ </li>
+ <li>
+ <input type="radio" name="load-linked-images" value="TRUSTED"<%if load-linked-images|match value==TRUSTED> checked="checked"<%/if>/>
+ <%=Page.Options.Option.LoadLinkedImages.Trusted.Description|l10n|html>
+ </li>
+ <li>
+ <input type="radio" name="load-linked-images" value="ALWAYS"<%if load-linked-images|match value==ALWAYS> checked="checked"<%/if>/>
+ <%=Page.Options.Option.LoadLinkedImages.Always.Description|l10n|html>
+ </li>
+ </ul>
+
<h2><%= Page.Options.Section.RuntimeOptions.Title|l10n|html></h2>
<p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
<%= Page.Options.Option.RequireFullAccess.Description|l10n|html></p>
</p>
- <h2><%= Page.Options.Section.TrustOptions.Title|l10n|html></h2>
-
- <p><%= Page.Options.Option.PositiveTrust.Description|l10n|html></p>
- <%if =positive-trust|in collection=fieldErrors>
- <p class="warning"><%= Page.Options.Warnings.ValueNotChanged|l10n|html></p>
- <%/if>
- <p><input type="text" name="positive-trust" value="<% positive-trust|html>" /></p>
-
- <p><%= Page.Options.Option.NegativeTrust.Description|l10n|html></p>
- <%if =negative-trust|in collection=fieldErrors>
- <p class="warning"><%= Page.Options.Warnings.ValueNotChanged|l10n|html></p>
- <%/if>
- <p><input type="text" name="negative-trust" value="<% negative-trust|html>" /></p>
-
- <p><%= Page.Options.Option.TrustComment.Description|l10n|html></p>
- <p><input type="text" name="trust-comment" value="<% trust-comment|html>" /></p>
-
<h2><%= Page.Options.Section.FcpOptions.Title|l10n|html></h2>
<p><input type="checkbox" name="fcp-interface-active"<%if fcp-interface-active> checked="checked"<%/if> /> <%= Page.Options.Option.FcpInterfaceActive.Description|l10n|html></p>
</select>
</p>
- <h2><%= Page.Options.Section.Cleaning.Title|l10n|html></h2>
-
- <p><%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle=="{strong}" replacement=="<strong>"|replace needle=="{/strong}" replacement=="</strong>"></p>
- <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>
-
- <p><%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle=="{strong}" replacement=="<strong>"|replace needle=="{/strong}" replacement=="</strong>"></p>
- <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>
-
<p><button type="submit"><%= Page.Options.Button.Save|l10n|html></button></p>
</form>