X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=4ec88cb844e6084d0dcf9f52213dcce75e294c10;hp=cd1ff2ff4e0e7c0acc61882beec08aae67c0574a;hb=820f04de1741b7f3f5205a9520f1adfbd88e6d58;hpb=bb2c8cb2d47a77bcef2d299ad4bf8e16f22a6198 diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index cd1ff2f..4ec88cb 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -8,9 +8,15 @@ 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); }); + 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); }); @@ -33,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> @@ -43,6 +49,53 @@ <%= 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> +

+ +

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

+ +

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

+ + +

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

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

@@ -57,12 +110,24 @@ <%/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>

<%/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>

@@ -90,22 +155,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.Section.Cleaning.Title|l10n|html>

- -

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

-

-