X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=119c8a188cb81e92d0bd92b38fc3515db169d761;hp=94e01dc0c9d3ee67e876ed810995c907587ed214;hb=0f7a91f4fa689a4084d7db5987a534b4b4fc3866;hpb=14dd8f2dcddb3ebfa0618677f10fe11b8f86ecdd diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 94e01dc..119c8a1 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.Title|l10n|html>

<%ifnull currentSone> -

<%= 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> @@ -69,26 +72,26 @@

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

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

- + @@ -107,6 +110,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>

@@ -146,20 +155,20 @@

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.Section.Cleaning.Title|l10n|html>

-

<%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement=""|replace needle="{/strong}" 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="">

+

<%= Page.Options.Option.ReallyClearOnNextRestart.Description|l10n|html|replace needle=="{strong}" replacement==""|replace needle=="{/strong}" replacement=="">