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 /classes/feeds.php | |
parent | 8cf37284e757cd4b36beb69fe3180dabea3e648b (diff) |
use print_hidden() for hidden dojo form fields
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 1375f0c37..a41109383 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1027,8 +1027,8 @@ class Feeds extends Handler_Protected { } function quickAddFeed() { - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"addfeed\">"; + print_hidden("op", "rpc"); + print_hidden("method", "addfeed"); print "<div id='fadd_error_message' style='display : none' class='alert alert-danger'></div>"; @@ -1111,8 +1111,8 @@ class Feeds extends Handler_Protected { $browser_search = $this->dbh->escape_string($_REQUEST["search"]); - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">"; - print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"updateFeedBrowser\">"; + print_hidden("op", "rpc"); + print_hidden("method", "updateFeedBrowser"); print "<div dojoType=\"dijit.Toolbar\"> <div style='float : right'> |