From e8881a28d6697a668d4d1f1ef5f4556e548caa2e Mon Sep 17 00:00:00 2001 From: Tealk Date: Thu, 18 Mar 2021 10:15:38 +0100 Subject: [PATCH 1/7] Wrap service with a div --- classes/service.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/service.php b/classes/service.php index 268715c..f771b4a 100644 --- a/classes/service.php +++ b/classes/service.php @@ -244,18 +244,20 @@ public function render(){ } // Render the service status + echo '
'; echo '
  • ' . $this->name .''; //echo '
  • ' . $this->name . ''; if(!empty($this->description)) { echo ' '; } - if ($this->status!=-1){?>
    status]);?>
    + if ($this->status!=-1){?>
    status]);?>
    '; if ( isset($boolFinish) && $boolFinish) { echo ''; } + echo '
  • '; } public function jsonSerialize() { From d5a4beae84161043e380086a556794fc590e2ac7 Mon Sep 17 00:00:00 2001 From: Tealk Date: Thu, 18 Mar 2021 10:29:57 +0100 Subject: [PATCH 2/7] fix variables forgotten $ and wrong variable --- template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.php b/template.php index ba89407..51e351d 100644 --- a/template.php +++ b/template.php @@ -56,9 +56,9 @@ public static function render_header($page_name, $admin = false){ Date: Thu, 18 Mar 2021 11:42:26 +0100 Subject: [PATCH 3/7] fix head.txt path #142 --- template.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/template.php b/template.php index 51e351d..e0e058e 100644 --- a/template.php +++ b/template.php @@ -57,8 +57,9 @@ public static function render_header($page_name, $admin = false){ Date: Thu, 18 Mar 2021 11:54:42 +0100 Subject: [PATCH 4/7] fix variables #142 --- template.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/template.php b/template.php index e0e058e..d8dc300 100644 --- a/template.php +++ b/template.php @@ -26,7 +26,7 @@ public static function render_header($page_name, $admin = false){ if ( 'admin' == $str_url ) { $strSubsMenu = ''; } else { - if (SUBSCRIBE_EMAIL || SUBSCRIBE_TELEGRAM ) { + if ($SUBSCRIBE_EMAIL || $SUBSCRIBE_TELEGRAM ) { // Subscriber menu is to be shown... $strSubsMenu = '