From 47df07db5b29c58fb91a88bbf207ee79a63370e4 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 3 May 2014 06:00:54 +0000 Subject: [PATCH] Change the enhanced theme to use PHP to write the HTML this fixes a problem that affected my Odroid when using SQLite and multi-tenant result was every page was blank because of an error on every page --- themes/enhanced/template.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php index b315df289c..c648873dd5 100644 --- a/themes/enhanced/template.php +++ b/themes/enhanced/template.php @@ -830,14 +830,17 @@ table tr:nth-last-child(-5) td:first-of-type {
-
"; + echo "".$domain['domain_name']."\n"; + if ($domain['domain_description'] != '') { + echo " - ".$domain['domain_description']."\n"; } + echo "\n"; + $ary_domain_names[] = $domain['domain_name']; + $ary_domain_descs[] = str_replace('"','\"',$domain['domain_description']); } } ?>