X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=4ec88cb844e6084d0dcf9f52213dcce75e294c10;hp=45a540c1f455901c0726c4c7efbb3a606fd0f68c;hb=820f04de1741b7f3f5205a9520f1adfbd88e6d58;hpb=0d74ff146a07d0fe8502a3b8572f588d9242056d diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 45a540c..4ec88cb 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -2,7 +2,30 @@ @@ -13,18 +36,132 @@
+

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

+

<%= 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.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.FcpOptions.Title|l10n|html>

-

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

-

+

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

-

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

-

+

+ <%= Page.Options.Option.FcpFullAccessRequired.Description|l10n|html|replace needle=="{link}" replacement==''|replace needle=="{/link}" replacement==''> + +