From 84d11b570eff1aa5f5b375bbc8eaf21235334e50 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 17 Jan 2016 17:07:49 -0500 Subject: [PATCH] Changed line endings - Also changed return to die --- footer.html | 34 +++---- header.html | 268 ++++++++++++++++++++++++++-------------------------- list.php | 228 ++++++++++++++++++++++---------------------- php/add.php | 22 ++--- php/get.php | 28 +++--- php/sub.php | 22 ++--- 6 files changed, 301 insertions(+), 301 deletions(-) diff --git a/footer.html b/footer.html index c7e96a1c..e2957dfe 100644 --- a/footer.html +++ b/footer.html @@ -1,18 +1,18 @@ - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/header.html b/header.html index 400d8689..83e22e04 100644 --- a/header.html +++ b/header.html @@ -1,135 +1,135 @@ - - - - - Pi-hole Admin Console - - - - - - - - - - - - - - -
-
- - - - -
- - - -
- + + + + + Pi-hole Admin Console + + + + + + + + + + + + + + +
+
+ + + + +
+ + + +
+
\ No newline at end of file diff --git a/list.php b/list.php index f753ae3e..80a3b9d4 100644 --- a/list.php +++ b/list.php @@ -1,114 +1,114 @@ - - - - - - -
- - - - - -
- - - - - - - -
    - - - - + + + + + + +
    + + + + + +
    + + + + + + + +
      + + + + diff --git a/php/add.php b/php/add.php index e780af81..95585ee7 100644 --- a/php/add.php +++ b/php/add.php @@ -1,12 +1,12 @@ -= 0; $i--) { - if($list[$i] == "") - unset($list[$i]); -} - += 0; $i--) { + if($list[$i] == "") + unset($list[$i]); +} + echo json_encode(array_values($list)); \ No newline at end of file diff --git a/php/sub.php b/php/sub.php index 081da03f..2b13b975 100644 --- a/php/sub.php +++ b/php/sub.php @@ -1,12 +1,12 @@ -