mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 12:25:56 +00:00
replace print_hidden with hidden_tag
This commit is contained in:
@@ -524,9 +524,9 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
$title = htmlspecialchars($row["title"]);
|
||||
|
||||
print_hidden("id", "$feed_id");
|
||||
print_hidden("op", "pref-feeds");
|
||||
print_hidden("method", "editSave");
|
||||
print \Controls\hidden_tag("id", "$feed_id");
|
||||
print \Controls\hidden_tag("op", "pref-feeds");
|
||||
print \Controls\hidden_tag("method", "editSave");
|
||||
|
||||
print "<header>".__("Feed")."</header>";
|
||||
print "<section>";
|
||||
@@ -821,9 +821,9 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
print "<p>";
|
||||
|
||||
print_hidden("ids", "$feed_ids");
|
||||
print_hidden("op", "pref-feeds");
|
||||
print_hidden("method", "batchEditSave");
|
||||
print \Controls\hidden_tag("ids", "$feed_ids");
|
||||
print \Controls\hidden_tag("op", "pref-feeds");
|
||||
print \Controls\hidden_tag("method", "batchEditSave");
|
||||
|
||||
print "<header>".__("Feed")."</header>";
|
||||
print "<section>";
|
||||
|
||||
@@ -327,16 +327,16 @@ class Pref_Filters extends Handler_Protected {
|
||||
|
||||
print "<form onsubmit='return false'>";
|
||||
|
||||
print_hidden("op", "pref-filters");
|
||||
print \Controls\hidden_tag("op", "pref-filters");
|
||||
|
||||
if ($filter_id) {
|
||||
print_hidden("id", "$filter_id");
|
||||
print_hidden("method", "editSave");
|
||||
print \Controls\hidden_tag("id", "$filter_id");
|
||||
print \Controls\hidden_tag("method", "editSave");
|
||||
} else {
|
||||
print_hidden("method", "add");
|
||||
print \Controls\hidden_tag("method", "add");
|
||||
}
|
||||
|
||||
print_hidden("csrf_token", $_SESSION['csrf_token']);
|
||||
print \Controls\hidden_tag("csrf_token", $_SESSION['csrf_token']);
|
||||
|
||||
print "<header>".__("Caption")."</header>
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user