From 222b29535ac5895f40c29a7dac35ba605db6fe3d Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 27 Mar 2020 22:39:05 +0000 Subject: [PATCH] templatize adblock tab content --- templates/adblock.php | 79 ++++------------------------------- templates/adblock/general.php | 35 ++++++++++++++++ templates/adblock/logging.php | 25 +++++++++++ 3 files changed, 69 insertions(+), 70 deletions(-) create mode 100644 templates/adblock/general.php create mode 100644 templates/adblock/logging.php diff --git a/templates/adblock.php b/templates/adblock.php index b14a268f..1897d39a 100755 --- a/templates/adblock.php +++ b/templates/adblock.php @@ -2,7 +2,7 @@ "> - "> + "> "> @@ -36,76 +36,15 @@
+ + +
- -
- -
-
-

- -
- -
- aria-describedby="adblock-description"> - -
-

- block DNS requests for ads, tracking and other virtual garbage. Blocklists are gathered from multiple, actively maintained sources and automatically updated, cleaned, optimized and moderated on a daily basis.") ?> -

- conf-file and addn-hosts to the dnsmasq configuration.") ?> -
-

-
- -
-
- -
- - -
-
-
- -
-
-
- - -
-

-
-
- '.htmlspecialchars($log, ENT_QUOTES).''; - ?> -
-
-
- - - + + - - - + + + diff --git a/templates/adblock/general.php b/templates/adblock/general.php new file mode 100644 index 00000000..0d669c17 --- /dev/null +++ b/templates/adblock/general.php @@ -0,0 +1,35 @@ + +
+
+
+

+
+ +
+ aria-describedby="adblock-description"> + +
+

+ block DNS requests for ads, tracking and other virtual garbage. Blocklists are gathered from multiple, actively maintained sources and automatically updated, cleaned, optimized and moderated on a daily basis.") ?> +

+ conf-file and addn-hosts to the dnsmasq configuration.") ?> +
+

+
+
+
+ +
+ + +
+
+
+
+
+
+ diff --git a/templates/adblock/logging.php b/templates/adblock/logging.php new file mode 100644 index 00000000..c210ebdb --- /dev/null +++ b/templates/adblock/logging.php @@ -0,0 +1,25 @@ + +
+

+
+
+ '.htmlspecialchars($log, ENT_QUOTES).''; + ?> +
+
+
+