diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php
index c9fdbc4441..d8e0cfc5c0 100644
--- a/themes/enhanced/template.php
+++ b/themes/enhanced/template.php
@@ -38,6 +38,27 @@
+
+
0) {
- echo "
+
+
+
+ Domain Selector
+
+
+
+
+
+ $bgcolor1 = "#eaedf2";
+ $bgcolor2 = "#fff";
+ foreach($_SESSION['domains'] as $domain) {
+ if ($domain['domain_uuid'] != $_SESSION['domain_uuid']) {
+ $bgcolor = ($bgcolor == $bgcolor1) ? $bgcolor2 : $bgcolor1;
+ ?>
+ $ary_domains[] = $domain['domain_name'];
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+ }
?>
@@ -680,25 +812,13 @@ table tr:nth-last-child(-5) td:first-of-type {
0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) {
- //$tmp_style = "style=\"opacity:0.7;filter:alpha(opacity=70)\" ";
- //$tmp_style .= "onmouseover=\"this.style.opacity=1;this.filters.alpha.opacity=90\" ";
- //$tmp_style .= "onmouseout=\"this.style.opacity=0.7;this.filters.alpha.opacity=70\" ";
- $tmp_style = "style=\"opacity:0.7;\" ";
- $tmp_style .= "onmouseover=\"this.style.opacity=1;\" ";
- $tmp_style .= "onmouseout=\"this.style.opacity=0.7;\" ";
- echo " \n";
- }
+ //logged in show the domains block
+ if (strlen($_SESSION["username"]) > 0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) {
+ ?>
+ =$_SESSION['domain_name']?>
+
+
+ }
//logged out show the login
if (strlen($_SESSION["username"]) == 0) {
@@ -811,14 +931,14 @@ table tr:nth-last-child(-5) td:first-of-type {
\n";
- echo " fusionpbx.com. Copyright 2008 - 2013. All Rights Reserved\n";
- echo "\n";
+ echo " fusionpbx.com. Copyright 2008 - ".date("Y").". All rights reserved.\n";
+ echo "
\n";
}
else {
echo "\n";
}
?>
|