diff options
author | Andrew Dolgov <[email protected]> | 2017-02-10 14:36:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-10 14:36:21 +0300 |
commit | 328118d12ef6ba98650da8e1a1a505e080a58adf (patch) | |
tree | 2468577340c29b3b452ed67168641e5d3d730129 /plugins/af_readability | |
parent | 8cf37284e757cd4b36beb69fe3180dabea3e648b (diff) |
use print_hidden() for hidden dojo form fields
Diffstat (limited to 'plugins/af_readability')
-rwxr-xr-x | plugins/af_readability/init.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index 34bd99ae0..a4cb892af 100755 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -56,9 +56,9 @@ class Af_Readability extends Plugin { } </script>"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pluginhandler\">"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_readability\">"; + print_hidden("op", "pluginhandler"); + print_hidden("method", "save"); + print_hidden("plugin", "af_readability"); $enable_share_anything = $this->host->get($this, "enable_share_anything"); $enable_share_anything_checked = $enable_share_anything ? "checked" : ""; |