mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
use print_hidden() for hidden dojo form fields
This commit is contained in:
@@ -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" : "";
|
||||
|
||||
Reference in New Issue
Block a user