mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:55:56 +00:00
replace print_hidden with hidden_tag
This commit is contained in:
@@ -218,9 +218,9 @@ class Af_Proxy_Http extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "af_proxy_http");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "af_proxy_http");
|
||||
|
||||
$proxy_all = $this->host->get($this, "proxy_all");
|
||||
print_checkbox("proxy_all", $proxy_all);
|
||||
|
||||
@@ -157,9 +157,9 @@ class Af_Psql_Trgm extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "af_psql_trgm");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "af_psql_trgm");
|
||||
|
||||
print "<h2>" . __("Global settings") . "</h2>";
|
||||
|
||||
|
||||
@@ -87,9 +87,9 @@ class Af_Readability extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "af_readability");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "af_readability");
|
||||
|
||||
$enable_share_anything = $this->host->get($this, "enable_share_anything");
|
||||
|
||||
|
||||
@@ -58,9 +58,9 @@ class Af_RedditImgur extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "af_redditimgur");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "af_redditimgur");
|
||||
|
||||
print "<fieldset class='narrow'>";
|
||||
print "<label class='checkbox'>";
|
||||
|
||||
@@ -58,9 +58,9 @@ class Mail extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "mail");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "mail");
|
||||
|
||||
$addresslist = $this->host->get($this, "addresslist");
|
||||
|
||||
@@ -86,9 +86,9 @@ class Mail extends Plugin {
|
||||
$ids = explode(",", $_REQUEST['param']);
|
||||
$ids_qmarks = arr_qmarks($ids);
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("plugin", "mail");
|
||||
print_hidden("method", "sendEmail");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("plugin", "mail");
|
||||
print \Controls\hidden_tag("method", "sendEmail");
|
||||
|
||||
$sth = $this->pdo->prepare("SELECT email, full_name FROM ttrss_users WHERE
|
||||
id = ?");
|
||||
@@ -105,8 +105,8 @@ class Mail extends Plugin {
|
||||
if (!$user_name)
|
||||
$user_name = $_SESSION['name'];
|
||||
|
||||
print_hidden("from_email", "$user_email");
|
||||
print_hidden("from_name", "$user_name");
|
||||
print \Controls\hidden_tag("from_email", "$user_email");
|
||||
print \Controls\hidden_tag("from_name", "$user_name");
|
||||
|
||||
$tpl = new Templator();
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@ class Note extends Plugin {
|
||||
|
||||
$note = $row['note'];
|
||||
|
||||
print_hidden("id", "$param");
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "setNote");
|
||||
print_hidden("plugin", "note");
|
||||
print \Controls\hidden_tag("id", "$param");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "setNote");
|
||||
print \Controls\hidden_tag("plugin", "note");
|
||||
|
||||
print "<textarea dojoType='dijit.form.SimpleTextarea'
|
||||
style='font-size : 12px; width : 98%; height: 100px;'
|
||||
|
||||
@@ -71,9 +71,9 @@ class NSFW extends Plugin {
|
||||
}
|
||||
</script>";
|
||||
|
||||
print_hidden("op", "pluginhandler");
|
||||
print_hidden("method", "save");
|
||||
print_hidden("plugin", "nsfw");
|
||||
print \Controls\hidden_tag("op", "pluginhandler");
|
||||
print \Controls\hidden_tag("method", "save");
|
||||
print \Controls\hidden_tag("plugin", "nsfw");
|
||||
|
||||
print "<table width=\"100%\" class=\"prefPrefsList\">";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user