diff options
author | Andrew Dolgov <[email protected]> | 2021-02-16 14:32:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-16 14:32:06 +0300 |
commit | 1f43d7916cda16e9680b9087bda1f52934e8f25b (patch) | |
tree | a88b881b4262817a4d273e038b4dbc6071b439ab /plugins/mail/init.php | |
parent | 26d6b84a572b5cbd99acffc5ae727ea6d1be543a (diff) |
replace print_hidden with hidden_tag
Diffstat (limited to 'plugins/mail/init.php')
-rw-r--r-- | plugins/mail/init.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php index b1263ece5..ffd0397e0 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -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(); |