]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_readability/init.php
use print_hidden() for hidden dojo form fields
[tt-rss.git] / plugins / af_readability / init.php
index 34bd99ae006324f66527d641d2bd870fe6cbdd21..a4cb892af0ee9b05374ec59bb112b4164e9109de 100755 (executable)
@@ -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" : "";