diff --git a/themes/default/template.php b/themes/default/template.php index 2b6f272e52..bf23ee4055 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -384,13 +384,12 @@ echo "
\n"; echo " \n"; if (file_exists($_SERVER["DOCUMENT_ROOT"]."/app/domains/domains.php")) { - $href = '/app/domains/domains.php'; + $domain_path = '".PROJECT_PATH."/app/domains/domains.php'; } else { - $href = '/core/domain_settings/domains.php'; + $domain_path = '".PROJECT_PATH."/core/domains/domains.php'; } - echo "".$text['theme-title-domains']." (".sizeof($_SESSION['domains']).")"; - + echo " ".$text['theme-title-domains']." (".sizeof($_SESSION['domains']).")"; echo "

\n"; echo " \n"; echo " \n"; @@ -401,8 +400,8 @@ echo "
\n"; foreach($_SESSION['domains'] as $domain) { $bgcolor = ($bgcolor == $bgcolor1) ? $bgcolor2 : $bgcolor1; $bgcolor = ($domain['domain_uuid'] == $_SESSION['domain_uuid']) ? "#eeffee" : $bgcolor; - echo "
"; - echo "".escape($domain['domain_name'])."\n"; + echo "
"; + echo "".escape($domain['domain_name'])."\n"; if ($domain['domain_description'] != '') { echo " - ".escape($domain['domain_description'])."\n"; } @@ -755,4 +754,4 @@ else { echo "\n"; echo "\n"; -?> \ No newline at end of file +?>