From 95539119e14bb1a472cb732989a978dd240bc04b Mon Sep 17 00:00:00 2001 From: vogelor <vogelor@ispconfig3> Date: Tue, 04 May 2010 05:28:07 -0400 Subject: [PATCH] Improved Theme-Handling (nor every user can have its own theme) --- interface/lib/app.inc.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php index 28ba6bc..8694324 100644 --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -203,6 +203,10 @@ if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) { $this->tpl->setVar('is_reseller', 1); } + /* Show username */ + if(isset($_SESSION['s']['user'])) { + $this->tpl->setVar('cpuser', $_SESSION['s']['user']['username']); + } } } // end class -- Gitblit v1.9.1