summaryrefslogtreecommitdiff
path: root/plugins/af_proxy_http/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-17 21:44:21 +0300
committerAndrew Dolgov <[email protected]>2021-02-17 21:44:21 +0300
commite4609c18efceebb1e021d814f53061ada7f6489a (patch)
tree0968e0da3dc2d1b4cdc12c2a29549c27dc82ea14 /plugins/af_proxy_http/init.php
parentb16abc157ee584f4be80a537ee24ec9e5ff25496 (diff)
* add (disabled) shortcut syntax for plugin methods
* add controls shortcut for pluginhandler tags * add similar shortcut for frontend * allow plugins to selectively exclude their methods from CSRF checking
Diffstat (limited to 'plugins/af_proxy_http/init.php')
-rw-r--r--plugins/af_proxy_http/init.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/af_proxy_http/init.php b/plugins/af_proxy_http/init.php
index 5804e450f..d6cee5fcd 100644
--- a/plugins/af_proxy_http/init.php
+++ b/plugins/af_proxy_http/init.php
@@ -229,9 +229,7 @@ class Af_Proxy_Http extends Plugin {
}
</script>";
- print \Controls\hidden_tag("op", "pluginhandler");
- print \Controls\hidden_tag("method", "save");
- print \Controls\hidden_tag("plugin", "af_proxy_http");
+ print \Controls\pluginhandler_tags($this, "save");
$proxy_all = sql_bool_to_bool($this->host->get($this, "proxy_all"));
print \Controls\checkbox_tag("proxy_all", $proxy_all);