diff options
author | Andrew Dolgov <[email protected]> | 2021-02-18 11:54:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-18 11:54:29 +0300 |
commit | 466cba39d86487ce3c81d7aeade96e9f9e4a119d (patch) | |
tree | 2e21056edf73e853319a05aa25b038c078c4cfd1 /plugins/mail/init.php | |
parent | 1adb9bb6b643736706b746629b849df9cdf45e50 (diff) | |
parent | b888bc2091c6737846f54a729ee047e4693fd8e3 (diff) |
Merge branch 'master' of git.fakecake.org:fox/tt-rss
Diffstat (limited to 'plugins/mail/init.php')
-rw-r--r-- | plugins/mail/init.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/mail/init.php b/plugins/mail/init.php index bb576a4d9..4b62d1e64 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -45,9 +45,7 @@ class Mail extends Plugin { title="<i class='material-icons'>mail</i> <?= __('Mail plugin') ?>"> <form dojoType="dijit.form.Form"> - <?= \Controls\hidden_tag("op", "pluginhandler") ?> - <?= \Controls\hidden_tag("method", "save") ?> - <?= \Controls\hidden_tag("plugin", "mail") ?> + <?= \Controls\pluginhandler_tags($this, "save") ?> <script type="dojo/method" event="onSubmit" args="evt"> evt.preventDefault(); @@ -150,12 +148,10 @@ class Mail extends Plugin { <form dojoType='dijit.form.Form'> - <?= \Controls\hidden_tag("op", "pluginhandler") ?> - <?= \Controls\hidden_tag("plugin", "mail") ?> - <?= \Controls\hidden_tag("method", "sendEmail") ?> + <?= \Controls\pluginhandler_tags($this, "sendemail") ?> - <?= \Controls\hidden_tag("from_email", "$user_email") ?> - <?= \Controls\hidden_tag("from_name", "$user_name") ?> + <?= \Controls\hidden_tag("from_email", $user_email) ?> + <?= \Controls\hidden_tag("from_name", $user_name) ?> <script type='dojo/method' event='onSubmit' args='evt'> evt.preventDefault(); |