Template logoutTemplate = templateFactory.createTemplate(createReader("/templates/logout.html"));
Template optionsTemplate = templateFactory.createTemplate(createReader("/templates/options.html"));
Template aboutTemplate = templateFactory.createTemplate(createReader("/templates/about.html"));
- Template helpTemplate = templateFactory.createTemplate(createReader("/templates/help.html"));
PageToadletFactory pageToadletFactory = new PageToadletFactory(sonePlugin.pluginRespirator().getHLSimpleClient(), "/Sone/");
pageToadlets.add(pageToadletFactory.createPageToadlet(new IndexPage(indexTemplate, this), "Index"));
pageToadlets.add(pageToadletFactory.createPageToadlet(new LogoutPage(logoutTemplate, this), "Logout"));
pageToadlets.add(pageToadletFactory.createPageToadlet(new OptionsPage(optionsTemplate, this), "Options"));
pageToadlets.add(pageToadletFactory.createPageToadlet(new AboutPage(aboutTemplate, this, SonePlugin.VERSION), "About"));
- pageToadlets.add(pageToadletFactory.createPageToadlet(new SoneTemplatePage("help.html", helpTemplate, "Page.Help.Title", this), "Help"));
pageToadlets.add(pageToadletFactory.createPageToadlet(new SoneTemplatePage("noPermission.html", noPermissionTemplate, "Page.NoPermission.Title", this)));
pageToadlets.add(pageToadletFactory.createPageToadlet(new SoneTemplatePage("wotPluginMissing.html", wotPluginMissingTemplate, "Page.WotPluginMissing.Title", this)));
pageToadlets.add(pageToadletFactory.createPageToadlet(new StaticPage("css/", "/static/css/", "text/css")));
Navigation.Menu.Item.Options.Tooltip=Options for the Sone plugin
Navigation.Menu.Item.About.Name=About
Navigation.Menu.Item.About.Tooltip=Information about Sone
-Navigation.Menu.Item.Help.Name=Help
-Navigation.Menu.Item.Help.Tooltip=The Sone User Manual
-
-Page.Help.Title=Help - Sone
-Page.Help.Page.Title=The Sone User Manual
-Page.Help.Text.Introduction=Though Sone aims to be very easy to use there probably are a couple of functions that need to be explained.
-Page.Help.Topic.Blocking.Title=What is “blocking?”
-Page.Help.Topic.Blocking.Text=“Blocking a Sone” means to exclude it from the current Sone distribution method. Every time your Sone is updated, a list of all Sones you know is distributed as well—unless you block or blacklist a Sone.
-Page.Help.Topic.Blacklisting.Title=What is the difference between “blocking” and “blacklisting?”
-Page.Help.Topic.Blacklisting.Text=Blocking a Sone is only possible when you are logged in to a Sone so you can choose to not distribute somebody else’s Sone per Sone. Blacklisting works globally—a blacklisted Sone will not be distributed by any Sone on your node, starting with the next update of each Sone. A blacklisted Sone will also not appear in your “Known Sones” anymore, it will only be shown on the “Blacklist” page.
Page.About.Title=About - Sone
Page.About.Page.Title=About
+++ /dev/null
-<%include include/head.html>
-
- <h1><%= Page.Help.Page.Title|l10n|html></h1>
-
- <p><%= Page.Help.Text.Introduction|l10n|html></p>
-
- <h2><%= Page.Help.Topic.Blocking.Title|l10n|html></h2>
-
- <p><%= Page.Help.Topic.Blocking.Text|l10n|html></p>
-
- <h2><%= Page.Help.Topic.Blacklisting.Title|l10n|html></h2>
-
- <p><%= Page.Help.Topic.Blacklisting.Text|l10n|html></p>
-
-<%include include/tail.html>