From 22e7f9de84d631f97588c9acaf1f05c860eda088 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 23 May 2007 17:11:42 -0400 Subject: [PATCH] updated mail module --- interface/lib/app.inc.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php index fc6f610..9854b63 100644 --- a/interface/lib/app.inc.php +++ b/interface/lib/app.inc.php @@ -170,6 +170,9 @@ $this->tpl->setVar('app_title',$conf["app_title"]); $this->tpl->setVar('delete_confirmation',$this->lng('delete_confirmation')); $this->tpl->setVar('app_module',$_SESSION["s"]["module"]["name"]); + if($_SESSION["s"]["user"]["typ"] == 'admin') { + $this->tpl->setVar('is_admin',1); + } } -- Gitblit v1.9.1