X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=86c1388ad3bf94e2a3a3f43210c82739dc5406c6;hp=db5eb8061d0f0490f0eb61cf979ab13ade3da99c;hb=63df577f7ced52acfa93e4a7f329292069d8ba9d;hpb=25268a9eaec7aa079e9b3dcc25ced0bbddd493b5 diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index db5eb80..86c1388 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -8,6 +8,12 @@ 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.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); }); @@ -40,29 +46,89 @@ <%= Page.Options.Option.AutoFollow.Description|l10n|html>

+

+ disabled="disabled"<%/if><%if enable-sone-insert-notifications> checked="checked"<%/if> /> + <%= Page.Options.Option.EnableSoneInsertNotifications.Description|l10n|html> +

+ +

+ disabled="disabled"<%/if><%if show-notification-new-sones> checked="checked"<%/if>/> + <%= Page.Options.Option.ShowNotificationNewSones.Description|l10n|html> +

+ +

+ disabled="disabled"<%/if><%if show-notification-new-posts> checked="checked"<%/if>/> + <%= Page.Options.Option.ShowNotificationNewPosts.Description|l10n|html> +

+ +

+ disabled="disabled"<%/if><%if show-notification-new-replies> checked="checked"<%/if>/> + <%= Page.Options.Option.ShowNotificationNewReplies.Description|l10n|html> +

+ + <%ifnull !currentSone> + <%/if> +

<%= Page.Options.Section.RuntimeOptions.Title|l10n|html>

<%= 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> +

+ +

<%= Page.Options.Option.PostCutOffLength.Description|l10n|html>

+ <%if =post-cut-off-length|in collection=fieldErrors> +

<%= Page.Options.Warnings.ValueNotChanged|l10n|html>

+ <%/if> +

+ +

+ checked="checked"<%/if> /> + <%= Page.Options.Option.RequireFullAccess.Description|l10n|html>

+

+

<%= Page.Options.Section.TrustOptions.Title|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>

-

<%= Page.Options.Section.RescueOptions.Title|l10n|html>

+

<%= Page.Options.Section.FcpOptions.Title|l10n|html>

-

<%= Page.Options.Option.SoneRescueMode.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.Section.Cleaning.Title|l10n|html>