X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=cd1ff2ff4e0e7c0acc61882beec08aae67c0574a;hb=6ceda699ed09af534cfb6c4dd1dc95c476d135b7;hp=bd9de95cd55cec7332f2b4db151bb8044ffaf45d;hpb=d679c9cab83d96c2a452543474b1fa14d231a047;p=Sone.git diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index bd9de95..cd1ff2f 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -8,6 +8,9 @@ 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.CharactersPerPost", function(postsPerPageText) { + registerInputTextareaSwap("#sone #options input[name=characters-per-post]", postsPerPageText, "characters-per-post", true, true); + }); getTranslation("WebInterface.DefaultText.Option.PositiveTrust", function(positiveTrustText) { registerInputTextareaSwap("#sone #options input[name=positive-trust]", positiveTrustText, "positive-trust", true, true); }); @@ -31,6 +34,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>@@ -41,17 +46,40 @@
<%= 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> +<%= Page.Options.Option.CharactersPerPost.Description|l10n|html>
+ <%if =characters-per-post|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>
@@ -61,10 +89,14 @@checked="checked"<%/if> /> <%= Page.Options.Option.FcpInterfaceActive.Description|l10n|html>
-<%= Page.Options.Option.SoneRescueMode.Description|l10n|html>
-+
+ <%= Page.Options.Option.FcpFullAccessRequired.Description|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''> + +