From ee0b66b6bd14d116b878a57f1d35b466d9994138 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Feb 2021 12:13:02 +0300 Subject: [PATCH] af_proxy_http: markup cleanup --- plugins/af_proxy_http/init.php | 50 ++++++++++++++++------------------ 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/plugins/af_proxy_http/init.php b/plugins/af_proxy_http/init.php index d6cee5fcd..2c472a32d 100644 --- a/plugins/af_proxy_http/init.php +++ b/plugins/af_proxy_http/init.php @@ -209,39 +209,37 @@ class Af_Proxy_Http extends Plugin { function hook_prefs_tab($args) { if ($args != "prefFeeds") return; + ?> - print "
extension ".__('Image proxy settings (af_proxy_http)')."\">"; +
- print "
"; + - print ""; + - 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); - print " 
"; +
- print "
"; - - print \Controls\submit_tag(__("Save")); - - print "
"; - - print "
"; + + +
+