summaryrefslogtreecommitdiff
path: root/plugins/af_readability
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-10 14:57:25 +0300
committerAndrew Dolgov <[email protected]>2017-02-10 14:57:25 +0300
commitdc8bd8a640ee7d4508212e12823fc9094258e819 (patch)
tree057d321b0a94ef4e74cf16063a2c73efe8f703ef /plugins/af_readability
parent51198e7e40e4ac72c376baff27e9ec7bb4afab54 (diff)
add some print_checkbox/print_button calls; rename some plugin preference pane titles
Diffstat (limited to 'plugins/af_readability')
-rwxr-xr-xplugins/af_readability/init.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php
index a4cb892af..9557a9791 100755
--- a/plugins/af_readability/init.php
+++ b/plugins/af_readability/init.php
@@ -36,7 +36,7 @@ class Af_Readability extends Plugin {
function hook_prefs_tab($args) {
if ($args != "prefFeeds") return;
- print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('af_readability settings')."\">";
+ print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Readability settings (af_readability)')."\">";
print_notice("Enable the plugin for specific feeds in the feed editor.");
@@ -61,15 +61,11 @@ class Af_Readability extends Plugin {
print_hidden("plugin", "af_readability");
$enable_share_anything = $this->host->get($this, "enable_share_anything");
- $enable_share_anything_checked = $enable_share_anything ? "checked" : "";
- print "<input dojoType=\"dijit.form.CheckBox\"
- $enable_share_anything_checked name=\"enable_share_anything\" id=\"enable_share_anything\">
- <label for=\"enable_share_anything\">" . __("Use Readability for pages shared via bookmarklet.") . "</label>";
-
- print "<p><button dojoType=\"dijit.form.Button\" type=\"submit\">".
- __("Save")."</button>";
+ print_checkbox("enable_share_anything", $enable_share_anything);
+ print "&nbsp;<label for=\"enable_share_anything\">" . __("Use Readability for pages shared via bookmarklet.") . "</label>";
+ print "<p>"; print_button("submit", __("Save"));
print "</form>";
$enabled_feeds = $this->host->get($this, "enabled_feeds");