X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=9ef5ceb700085e7d221b5655118a88b11fee1adf;hp=0e8181cc3f3c73cae797a72ccb5bbed5a50ddb43;hb=03fecfe9165c16cdc23d3cd9716e2437e91a1918;hpb=68882b660ba80ab62387fbcc3ae3392adf3a3e82 diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 0e8181c..9ef5ceb 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -1,8 +1,22 @@ <%include include/head.html> - @@ -13,9 +27,147 @@
+

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

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

+ disabled="disabled"<%/if><%if auto-follow> checked="checked"<%/if> /> + <%= 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.LoadLinkedImagesOptions.Title|l10n|html>

+ +

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

+ + + +

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

+

+ +

<%= Page.Options.Section.FcpOptions.Title|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.WebOfTrustOptions.Title|l10n|html>

+ +

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

+