X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=368c14e2747f588fb8d64c430a59d94fa8778b73;hb=dc1846ee73e3005aea42d74977627866f34ffd61;hp=4086306fea59a9fbf159fb2f5a5247874733115b;hpb=405b583a558a067d9bcb8217004e14ac93aa2af2;p=Sone.git diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 4086306..368c14e 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -5,6 +5,18 @@ getTranslation("WebInterface.DefaultText.Option.InsertionDelay", function(insertionDelayDefaultText) { registerInputTextareaSwap("#sone #options input[name=insertion-delay]", insertionDelayDefaultText, "insertion-delay", true, true); }); + getTranslation("WebInterface.DefaultText.Option.PostsPerPage", function(postsPerPageText) { + registerInputTextareaSwap("#sone #options input[name=posts-per-page]", postsPerPageText, "posts-per-page", 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); + }); }); @@ -19,6 +31,8 @@ <%ifnull currentSone>
<%= Page.Options.Section.SoneSpecificOptions.NotLoggedIn|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>
+ <%else> +<%= Page.Options.Section.SoneSpecificOptions.LoggedIn|l10n|html>
<%/if>@@ -29,22 +43,57 @@
<%= Page.Options.Option.InsertionDelay.Description|l10n|html>
+ <%if =insertion-delay|in collection=fieldErrors> +<%= Page.Options.Warnings.ValueNotChanged|l10n|html>
+ <%/if> +<%= Page.Options.Option.PostsPerPage.Description|l10n|html>
+ <%if =posts-per-page|in collection=fieldErrors> +<%= Page.Options.Warnings.ValueNotChanged|l10n|html>
+ <%/if> + + ++ checked="checked"<%/if> /> + <%= Page.Options.Option.RequireFullAccess.Description|l10n|html>
+ +<%= Page.Options.Option.PositiveTrust.Description|l10n|html>
+ <%if =positive-trust|in collection=fieldErrors> +<%= Page.Options.Warnings.ValueNotChanged|l10n|html>
+ <%/if><%= Page.Options.Option.NegativeTrust.Description|l10n|html>
+ <%if =negative-trust|in collection=fieldErrors> +<%= Page.Options.Warnings.ValueNotChanged|l10n|html>
+ <%/if><%= Page.Options.Option.TrustComment.Description|l10n|html>
+checked="checked"<%/if> /> <%= Page.Options.Option.FcpInterfaceActive.Description|l10n|html>
+ ++ <%= Page.Options.Option.FcpFullAccessRequired.Description|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''> + +
+<%= Page.Options.Option.SoneRescueMode.Description|l10n|html>
+<%= Page.Options.Option.SoneRescueMode.Description1|l10n|html>
+<%= Page.Options.Option.SoneRescueMode.Description2|l10n|html>
+<%= Page.Options.Option.SoneRescueMode.Description3|l10n|html>