From 15f3433ba5a0c6f30fbf1085f7cb318acf43d29a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 18 Oct 2017 16:04:31 +0200 Subject: [PATCH 01/46] Re-designed settings page using Bootstrap Tabs. No functional change. Signed-off-by: DL6ER --- settings.php | 368 +++++++++++++++++++++++---------------------------- 1 file changed, 163 insertions(+), 205 deletions(-) diff --git a/settings.php b/settings.php index 2ef1de67..a09cbd26 100644 --- a/settings.php +++ b/settings.php @@ -63,8 +63,23 @@ if(isset($_POST["submit"])) { -
-
+
+
+ -
+
+
+
-
-
-

Query Logging (size of log )

-
-

Current status: Enabled (recommended) @@ -637,8 +626,6 @@ readStaticLeasesFile();

Note that disabling will render graphs on the web user interface useless

-
- -
+
+ +
+
+
+ + $value) { ?> +
+
+ +
+
+ +
+ +
+ + + + +
+
+
+
+
-
-
-

Pi-Hole's Block Lists

-
-
-
-
-
- - $value) { ?> -
-
- -
-
- -
- -
-
-
- -
-
-
-
-

API

-
-
+
+

Top Lists

Exclude the following domains from being shown in

-
-
- - -
+
+
+
+ +
-
-
- - -
+
+
+
+ +
+
+

Privacy settings (Statistics / Query Log)

+
-
-
-
+
+
-
-
-
-
+
+
+
+
+
+

Privacy mode

-
-
-
- +
-
+
+
-
-
-

Web User Interface

-
-
+
+
Query Log Page
@@ -813,58 +791,13 @@ readStaticLeasesFile();
-
- +
-
- -
-

Blocking Page

-
-

Show page with details if a site is blocked

-
-
-
-

If Yes: Hide content for in page ads?

-
-
-
-
-*/ ?> -
-
-

System Administration

-
-
- - - - - -
- - -
-
- - -
-
- - -
-
- - -
-
-
+
-
-
-

Pi-hole FTL (RunningNot running)

-
+
+
+FTL version: 
+
+Process identifier (PID): 
+
+Time FTL started: 
+
+User / Group:  / 
+
+Total CPU utilization: %
+Memory utilization: %
+Used memory: 
+
+
-
- FTL version:
- Process identifier (PID):
- Time FTL started:
- User / Group: /
- Total CPU utilization: %
- Memory utilization: %
- Used memory:
- -
-
-
-
-

Pi-hole Teleporter

-
-
-
+
+
@@ -932,6 +861,35 @@ if($FTL)

The PHP extension Phar is not loaded. Please ensure it is installed and loaded if you want to use the Pi-hole teleporter. +

+
+
+
+

Danger area!

+ + + + + + + + + +
+ + +
+
+ + +
+
+ + +
+
+
+
From aa546d4c7ec26833eb9499413948c13c5ffe0e59 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 18 Oct 2017 22:52:53 +0100 Subject: [PATCH 02/46] Move networking to `System` box, tidy up DHCP. (could probably do with more tidying) Signed-off-by: Adam Warner --- settings.php | 1889 ++++++++++++++++++++++++++++---------------------- 1 file changed, 1049 insertions(+), 840 deletions(-) diff --git a/settings.php b/settings.php index a09cbd26..51df6e0a 100644 --- a/settings.php +++ b/settings.php @@ -5,768 +5,853 @@ * * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ - require "scripts/pi-hole/php/header.php"; - require "scripts/pi-hole/php/savesettings.php"; - // Reread ini file as things might have been changed - $setupVars = parse_ini_file("/etc/pihole/setupVars.conf"); +require "scripts/pi-hole/php/header.php"; +require "scripts/pi-hole/php/savesettings.php"; +// Reread ini file as things might have been changed +$setupVars = parse_ini_file("/etc/pihole/setupVars.conf"); -function command_exist($cmd) { - return !empty(shell_exec(sprintf("which %s", escapeshellarg($cmd)))); +function command_exist($cmd) +{ + return !empty(shell_exec(sprintf("which %s", escapeshellarg($cmd)))); } + ?> refresh to the gravity page and start updating immediately -?> - - +if (isset($_POST["submit"])) { + if ($_POST["submit"] == "saveupdate") { + // If that is the case -> refresh to the gravity page and start updating immediately + ?> + + - - + + - 0){ ?> - + 0) { ?> + - 0){ ?> - + 0) { ?> +
-
- + + +
- +
@@ -493,184 +528,204 @@ if (isset($_POST["submit"])) { $DNSinterface = "single"; } ?> +
- -
- - - - - - - - $value) { ?> - - - - - - - - - - - - - - - - -
IPv4IPv6Name
">" - value="true" - checked > - ">" - value="true" - checked > - ">" - value="true" - checked disabled > - ">" - value="true" - checked disabled > -
-
-
- -
- -
-
checked> -
- value=""> -
- -
-
checked> -
- value=""> -
- -
-
checked> -
- value=""> -
- -
-
checked> -
- value=""> -
-
-
-
-
-
-

Advanced DNS settings

-
- -
+ + +
+
+
+

Upstream DNS Servers

-
-
-
+
+
+ + + + + + + $value) { ?> + + + + + + + + + + + + + + + + +
IPv4IPv6Name
">" + value="true" + checked > + ">" + value="true" + checked > + ">" + value="true" + checked disabled > + ">" + value="true" + checked disabled > +
-
-
-
-

Note that enabling these two options may increase your privacy - slightly, but - may also prevent you from being able to access local hostnames - if the - Pi-hole is not used as DHCP server

-
-
-
-

Validate DNS replies and cache DNSSEC data. When forwarding DNS - queries, - Pi-hole requests the DNSSEC records needed to validate the - replies. Use - Google or Norton DNS servers when activating DNSSEC. Note that - the size of - your log might increase significantly when enabling DNSSEC. A - DNSSEC - resolver test can be found here.

- -
- -
- -
-
- -
-
- +
+ +
+ +
+
checked> +
+ value=""> +
+ +
+
checked> +
+ value=""> +
+ +
+
checked> +
+ value=""> +
+ +
+
checked> +
+ value=""> +
-
- - -
+
+
+
+
+
+

Advanced DNS settings

+
+
+
+
+
+
+
+
+
+

Note that enabling these two options may increase your privacy + slightly, but + may also prevent you from being able to access local hostnames + if the + Pi-hole is not used as DHCP server

+
+
+
+

Validate DNS replies and cache DNSSEC data. When forwarding DNS + queries, + Pi-hole requests the DNSSEC records needed to validate the + replies. Use + Google or Norton DNS servers when activating DNSSEC. Note that + the size of + your log might increase significantly when enabling DNSSEC. A + DNSSEC + resolver test can be found here.

+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + +
+
+
+
%
-
From 5dc556c7b9f77b506848d558c16a583f761bc7b3 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 18 Oct 2017 23:14:26 +0100 Subject: [PATCH 04/46] move some of the PHP parts up above the HTML to make the HTML easier to work with. (WIP) Signed-off-by: Adam Warner --- settings.php | 422 ++++++++++++++++++++++++++------------------------- 1 file changed, 213 insertions(+), 209 deletions(-) diff --git a/settings.php b/settings.php index f6f41dbc..ace77b3e 100644 --- a/settings.php +++ b/settings.php @@ -115,6 +115,118 @@ if (isset($setupVars["IPV6_ADDRESS"])) { $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F"); ?> + + + + + +
-
-
- - +
@@ -640,128 +683,119 @@ $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F");
- -
-
-
-
-
-

Advanced DNS settings

-
-
-
-
-
-
-
-
-
-

Note that enabling these two options may increase your privacy - slightly, but - may also prevent you from being able to access local hostnames - if the - Pi-hole is not used as DHCP server

-
-
-
-

Validate DNS replies and cache DNSSEC data. When forwarding DNS - queries, - Pi-hole requests the DNSSEC records needed to validate the - replies. Use - Google or Norton DNS servers when activating DNSSEC. Note that - the size of - your log might increase significantly when enabling DNSSEC. A - DNSSEC - resolver test can be found here.

-
- -
- +
+
+
+
+
+

Advanced DNS settings

+
+
+
+
+
-
- +
+
-
- +

Note that enabling these two options may increase your privacy + slightly, but + may also prevent you from being able to access local hostnames + if the + Pi-hole is not used as DHCP server

+
+
-
+

Validate DNS replies and cache DNSSEC data. When forwarding DNS + queries, + Pi-hole requests the DNSSEC records needed to validate the + replies. Use + Google or Norton DNS servers when activating DNSSEC. Note that + the size of + your log might increase significantly when enabling DNSSEC. A + DNSSEC + resolver test can be found here.

+
+ +
+ +
+
+ +
+
+ +
+
+ +
+ + +
- - -
-
-
- -

Current status: - - Enabled (recommended) - - Disabled -

- -

Note that disabling will render graphs on the web user interface useless

- -
- - - - - - - - - - -
+
+
+

Current status: + + Enabled (recommended) + + Disabled +

+ +

Note that disabling will render graphs on the web user interface useless

+ +
+ + + + + + + + + + +
+
+
@@ -805,36 +839,6 @@ $hostname = trim(file_get_contents("/etc/hostname"), "\x00..\x1F");
-
From 37313bf400c7a7a6e3354c68df52667df97989b6 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 18 Oct 2017 23:41:03 +0100 Subject: [PATCH 05/46] Go to specified tab on save or hyperlink Signed-off-by: DL6ER --- scripts/pi-hole/js/settings.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 73c1dfab..31305b32 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -161,3 +161,9 @@ $("button[id^='adlist-btn-']").on("click", function (e) { $(this).siblings("input[name^='adlist-enable-']").prop("disabled", !status); $(this).siblings("a").css("text-decoration", textType); }); + +// Javascript to go to specified tab on save or hyperlink +$(function () { + var activeTab = $('[href=' + location.hash + ']'); + activeTab && activeTab.tab('show'); +}); From 1e105f1df617111b06fc5a583321ae8c41524150 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 18 Oct 2017 23:45:12 +0100 Subject: [PATCH 06/46] Change hash for save and reload Signed-off-by: DL6ER --- scripts/pi-hole/js/settings.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 31305b32..44a26f39 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -167,3 +167,7 @@ $(function () { var activeTab = $('[href=' + location.hash + ']'); activeTab && activeTab.tab('show'); }); +// Change hash for save and reload +$('.nav-tabs a').on('shown.bs.tab', function (e) { + window.location.hash = e.target.hash; +}) From 903cb2a4f43247884139e2e65f34df867f9466e3 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 18 Oct 2017 23:55:02 +0100 Subject: [PATCH 07/46] Make DNS the default tab Signed-off-by: DL6ER --- scripts/pi-hole/js/settings.js | 9 +++++---- settings.php | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 44a26f39..155557c3 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -164,10 +164,11 @@ $("button[id^='adlist-btn-']").on("click", function (e) { // Javascript to go to specified tab on save or hyperlink $(function () { - var activeTab = $('[href=' + location.hash + ']'); - activeTab && activeTab.tab('show'); + var activeTab = $("[href=" + location.hash + "]"); + activeTab && activeTab.tab("show"); }); // Change hash for save and reload -$('.nav-tabs a').on('shown.bs.tab', function (e) { +$(".nav-tabs a").on("shown.bs.tab", function (e) { window.location.hash = e.target.hash; -}) + window.scrollTo(0, 0); +}); diff --git a/settings.php b/settings.php index ace77b3e..ae9f45d1 100644 --- a/settings.php +++ b/settings.php @@ -231,8 +231,8 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
@@ -708,7 +708,7 @@ if (isset($setupVars["API_PRIVACY_MODE"])) { checked >Listen on all interfaces, permit all origins
-

Note that the last option should not be used on devices which are directly connected to the Internet. This option is safe if your Pi-hole is located within your local network, i.e. protected behind your router, and you have not forwarded port 53 to this device. In virtually all other cases you have to make sure that your Pi-hole is properly firewalled. +

Note that the last option should not be used on devices which are directly connected to the Internet. This option is safe if your Pi-hole is located within your local network, i.e. protected behind your router, and you have not forwarded port 53 to this device. In virtually all other cases you have to make sure that your Pi-hole is properly firewalled.

From 62b8c0d733ecbfc3de08530e906c6cfe59fde714 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 19 Oct 2017 23:06:38 +0100 Subject: [PATCH 14/46] fix dhcp lease table headers/footers. Signed-off-by: Adam Warner --- scripts/pi-hole/js/settings.js | 16 +-- settings.php | 219 ++++++++++++++++++--------------- 2 files changed, 128 insertions(+), 107 deletions(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 155557c3..03a7fa72 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -115,12 +115,9 @@ $(document).ready(function() { "columnDefs": [ { "bSortable": false, "orderable": false, targets: -1} ], "paging": false, "scrollCollapse": true, - "scrollY": "200px", + "scrollY": "500px", "scrollX" : true }); - $("#leaseexpand").on( "click", function () { - setTimeout(function(){leasetable.draw();},100); - } ); } if(document.getElementById("DHCPStaticLeasesTable")) { @@ -130,12 +127,15 @@ $(document).ready(function() { "paging": false, "scrollCollapse": true, "scrollY": "200px", - "scrollX" : true + "scrollX" : "100%" }); - $("#leaseexpand").on( "click", function () { - setTimeout(function(){staticleasetable.draw();},100); - } ); } + //call draw() on each table... they don't render properly with scrollX and scrollY set... ¯\_(ツ)_/¯ + $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { + leasetable.draw(); + staticleasetable.draw(); + }); + } ); // Handle hiding of alerts diff --git a/settings.php b/settings.php index 0bf3f4ce..72746feb 100644 --- a/settings.php +++ b/settings.php @@ -294,7 +294,6 @@ if (isset($setupVars["API_PRIVACY_MODE"])) { $piHoleDomain = "local"; } ?> -
@@ -484,84 +483,87 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {

DHCP leases

-
- - - - - - - - - - - - -
Remaining lease time:
DHCP UID: "> - - - - - -
MAC addressIP addressHostname
- -
-
-
-
- - - - - - - - - - - - +
+
+ +
MAC addressIP addressHostname
+ - - - - - - - - - - - - - -
0) { ?> -
- -
-

Specifying the MAC address is mandatory and only one entry per MAC - address is allowed. If the IP address is omitted and a host name is - given, the IP address will still be generated dynamically and the - specified host name will be used. If the host name is omitted, only - a - static lease will be added.

+ MAC address + IP address + Hostname + + + + + +
Remaining lease time:
DHCP UID: "> + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
MAC addressIP addressHostname
0) { ?> +
+ +
+

Specifying the MAC address is mandatory and only one entry per MAC + address is allowed. If the IP address is omitted and a host name is + given, the IP address will still be generated dynamically and the + specified host name will be used. If the host name is omitted, only + a + static lease will be added.

+
@@ -696,19 +698,30 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
+ checked >Listen + on all interfaces
Allows only queries from + devices that are at most one hop away (local + devices)
+ checked >Listen + on all interfaces, permit all origins
-

Note that the last option should not be used on devices which are directly connected to the Internet. This option is safe if your Pi-hole is located within your local network, i.e. protected behind your router, and you have not forwarded port 53 to this device. In virtually all other cases you have to make sure that your Pi-hole is properly firewalled.

+

Note that the last option should not be used on devices which are + directly connected to the Internet. This option is safe if your + Pi-hole is located within your local network, i.e. protected behind + your router, and you have not forwarded port 53 to this device. In + virtually all other cases you have to make sure that your Pi-hole is + properly firewalled.

@@ -976,18 +989,19 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
-FTL version: 
+                                FTL version: 
 
-Process identifier (PID): 
+                                Process identifier (PID): 
 
-Time FTL started: 
+                                Time FTL started: 
 
-User / Group:  / 
+                                User / Group: 
+                                / 
 
-Total CPU utilization: %
+                                Total CPU utilization: %
 Memory utilization: %
 Used memory: 
-
+
@@ -1101,17 +1115,24 @@ Memory utilization: %

Danger Zone!


-

-

-

-

+

+ +

+ +

+

+ +

+

+ +

From f6a05a00b3c804760429caa456b67c0108249093 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 19 Oct 2017 23:09:13 +0100 Subject: [PATCH 15/46] tidy up some experimenting Signed-off-by: Adam Warner --- scripts/pi-hole/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 03a7fa72..b5b274a5 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -115,7 +115,7 @@ $(document).ready(function() { "columnDefs": [ { "bSortable": false, "orderable": false, targets: -1} ], "paging": false, "scrollCollapse": true, - "scrollY": "500px", + "scrollY": "200px", "scrollX" : true }); } @@ -127,7 +127,7 @@ $(document).ready(function() { "paging": false, "scrollCollapse": true, "scrollY": "200px", - "scrollX" : "100%" + "scrollX" : true }); } //call draw() on each table... they don't render properly with scrollX and scrollY set... ¯\_(ツ)_/¯ From 3640867942bdbf2d0a219b7f757ad65eecbcdf96 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 20 Oct 2017 19:30:17 +0200 Subject: [PATCH 16/46] :codacy: Signed-off-by: DL6ER --- scripts/pi-hole/js/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index b5b274a5..5b6b5960 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -131,7 +131,7 @@ $(document).ready(function() { }); } //call draw() on each table... they don't render properly with scrollX and scrollY set... ¯\_(ツ)_/¯ - $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { + $("a[data-toggle=\"tab\"]").on("shown.bs.tab", function (e) { leasetable.draw(); staticleasetable.draw(); }); From 7bd0fb1e56af02da38937ef44810a5e5ccb6d3c9 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 20 Oct 2017 22:29:53 +0100 Subject: [PATCH 17/46] Sort out system tab. Start sorting out blocklists tab... but it's very broken! Duplicates disabled lists.... Signed-off-by: Adam Warner --- settings.php | 392 +++++++++++++++++++++++++++++---------------------- 1 file changed, 225 insertions(+), 167 deletions(-) diff --git a/settings.php b/settings.php index 72746feb..e51fd9d8 100644 --- a/settings.php +++ b/settings.php @@ -231,19 +231,85 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
-
@@ -1197,8 +1190,6 @@ if (isset($setupVars["API_PRIVACY_MODE"])) { system
- - From a2f090571262544c9f3f10af37c4cf40a930d32c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 21 Oct 2017 13:19:14 +0200 Subject: [PATCH 34/46] Combine API and web interface tabs Signed-off-by: DL6ER --- settings.php | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/settings.php b/settings.php index d0310c0a..b606b7e9 100644 --- a/settings.php +++ b/settings.php @@ -235,8 +235,7 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
  • Block Lists
  • DNS
  • DHCP
  • -
  • API
  • -
  • Web Interface
  • +
  • API / Web interface
  • Teleporter
  • @@ -838,11 +837,20 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    - + +
    -
    +

    API settings

    @@ -904,23 +912,7 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    -
    - -
    - -
    - -
    -
    -
    +

    Web interface settings

    From 1a707a081fbed12f49d35672678b7f3317b5173c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 21 Oct 2017 13:53:34 +0200 Subject: [PATCH 35/46] Rearragne buttons on the system tabs Signed-off-by: DL6ER --- scripts/pi-hole/js/settings.js | 17 ++++++ settings.php | 103 ++++++++++++++++----------------- 2 files changed, 68 insertions(+), 52 deletions(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index 3dccbb92..e9217ea8 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -84,6 +84,23 @@ $(".confirm-flushlogs").confirm({ dialogClass: "modal-dialog modal-mg" }); +$(".confirm-disablelogging").confirm({ + text: "Note that disabling query logging will render graphs on the web user interface useless. Are you sure you want to disable your logging?", + title: "Confirmation required", + confirm(button) { + $("#disablelogsform").submit(); + }, + cancel(button) { + // nothing to do + }, + confirmButton: "Yes, disable logs", + cancelButton: "No, go back", + post: true, + confirmButtonClass: "btn-danger", + cancelButtonClass: "btn-success", + dialogClass: "modal-dialog modal-mg" +}); + $(".api-token").confirm({ text: "Make sure that nobody else can scan this code around you. They will have full access to the API without having to know the password. Note that the generation of the QR code will take some time.", title: "Confirmation required", diff --git a/settings.php b/settings.php index b606b7e9..7647016f 100644 --- a/settings.php +++ b/settings.php @@ -1056,6 +1056,19 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    +
    +
    +

    Logging

    +
    +
    +

    Current status: + + Enabled (recommended) + + Disabled +

    +
    +
    - -
    -
    -
    -
    -

    Logging

    -
    -
    -

    Current status: - - Enabled (recommended) - - Disabled -

    - -

    Note that disabling will render graphs on the web user interface useless

    - -
    - -
    -
    -
    -
    -

    Danger Zone!


    -
    - +
    +
    + +
    +
    + + + +
    + + + + +
    + +
    -
    - -
    -
    - +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + + +
    From 8b61ea5c05beef12b1c1df9ba0f69f4fa75ec456 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 21 Oct 2017 14:33:16 +0200 Subject: [PATCH 36/46] Another small arrangement Signed-off-by: DL6ER --- settings.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/settings.php b/settings.php index 7647016f..2a7ff3dc 100644 --- a/settings.php +++ b/settings.php @@ -1143,7 +1143,7 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    - +
    @@ -1161,9 +1161,7 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    - +
    -
    + +
    @@ -1163,11 +1164,13 @@ if (isset($setupVars["API_PRIVACY_MODE"])) {
    +
    +