From 5752f732b0349e3748f6763baf3e8aacebca6140 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 14 Aug 2015 09:17:20 -0600 Subject: [PATCH] Fix the path to the new default setting, and the changes to the minimized theme. --- themes/enhanced/template.php | 2 +- themes/minimized/template.php | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php index d923aae385..3b5579bcb9 100644 --- a/themes/enhanced/template.php +++ b/themes/enhanced/template.php @@ -1570,7 +1570,7 @@ if (strlen($_SESSION['message']) > 0) { } //logout icon - if ($_SESSION['username'] != '' && $_SESSION['theme']['logout_icon_visible'] == "true") { + if ($_SESSION['username'] != '' && $_SESSION['theme']['logout_icon_visible']['text'] == "true") { $username_full = $_SESSION['username'].((count($_SESSION['domains']) > 1) ? "@".$_SESSION["user_context"] : null); echo ""; unset($username_full); diff --git a/themes/minimized/template.php b/themes/minimized/template.php index 6af07a2011..1fa791cb71 100644 --- a/themes/minimized/template.php +++ b/themes/minimized/template.php @@ -1411,7 +1411,7 @@ SPAN.playback_progress_bar { } //logout icon - if ($_SESSION['username'] != '') { + if ($_SESSION['username'] != '' && $_SESSION['theme']['logout_icon_visible']['text'] == "true") { $username_full = $_SESSION['username'].((count($_SESSION['domains']) > 1) ? "@".$_SESSION["user_context"] : null); echo ""; unset($username_full); @@ -1433,7 +1433,15 @@ SPAN.playback_progress_bar {
- () + ".$text['theme-title-domains']." (".sizeof($_SESSION['domains']).")"; + ?>