1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:15:55 +00:00

replace print_hidden with hidden_tag

This commit is contained in:
Andrew Dolgov
2021-02-16 14:32:06 +03:00
parent 26d6b84a57
commit 1f43d7916c
9 changed files with 38 additions and 38 deletions

View File

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