X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Foptions.html;h=cd1ff2ff4e0e7c0acc61882beec08aae67c0574a;hp=0e8181cc3f3c73cae797a72ccb5bbed5a50ddb43;hb=bb2c8cb2d47a77bcef2d299ad4bf8e16f22a6198;hpb=68882b660ba80ab62387fbcc3ae3392adf3a3e82 diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 0e8181c..cd1ff2f 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -2,7 +2,24 @@ @@ -13,9 +30,82 @@
+

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

+ +

<%= 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.CharactersPerPost.Description|l10n|html>

+ <%if =characters-per-post|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>

+ +

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

+

+