1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 19:31:28 +00:00

use print_hidden() for hidden dojo form fields

This commit is contained in:
Andrew Dolgov
2017-02-10 14:36:21 +03:00
parent 8cf37284e7
commit 328118d12e
14 changed files with 75 additions and 75 deletions

View File

@@ -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'>