X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=34a1196ea0bff7ef8284846844c940a52c91cc65;hb=6786bfaaf465c8434610362ee11d91377e80a72a;hp=57f3c5f4eeaeae321392cbc37990c11a61c5ed02;hpb=1dfe9f0daba9a1103c5566b81af5bed7791dde5c;p=Sone.git diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 57f3c5f..34a1196 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.ImagesPerPage", function(imagesPerPageText) { + registerInputTextareaSwap("#sone #options input[name=images-per-page]", imagesPerPageText, "images-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); }); @@ -36,7 +39,7 @@
<%= Page.Options.Section.SoneSpecificOptions.NotLoggedIn|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>
+<%= Page.Options.Section.SoneSpecificOptions.NotLoggedIn|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>
<%else><%= Page.Options.Section.SoneSpecificOptions.LoggedIn|l10n|html>
<%/if> @@ -66,6 +69,60 @@ <%= Page.Options.Option.ShowNotificationNewReplies.Description|l10n|html> +<%= Page.Options.Option.ShowAvatars.Description|l10n|html>
+ +<%= Page.Options.Option.LoadLinkedImages.Description|l10n|html>
+ +<%= Page.Options.Option.InsertionDelay.Description|l10n|html>
@@ -80,6 +137,12 @@ <%/if> +<%= Page.Options.Option.ImagesPerPage.Description|l10n|html>
+ <%if =images-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>
@@ -119,22 +182,14 @@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.FcpFullAccessRequired.Description|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''>
-<%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement=""|replace needle="{/strong}" replacement="">
-- -
<%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement=""|replace needle="{/strong}" replacement="">
--