summaryrefslogtreecommitdiff
path: root/lib/KolabAdmin
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-13 13:02:42 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-13 13:02:42 (GMT)
commit3786fe6b0a3bcd8b1542143e1d545b08f7f32877 (patch)
tree77bef8f0f229725ebd0e1c5f7ac7bd7bdbc914dd /lib/KolabAdmin
parent42235552b8c245a9d5723909f719ff56c3c343ed (diff)
downloadkolab-webadmin-3786fe6b0a3bcd8b1542143e1d545b08f7f32877.tar.gz
Remove dist_conf from page.tpl and logout.php.
Diffstat (limited to 'lib/KolabAdmin')
-rw-r--r--lib/KolabAdmin/include/mysmarty.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/KolabAdmin/include/mysmarty.php b/lib/KolabAdmin/include/mysmarty.php
index 0e27fa5..a7dba5c 100644
--- a/lib/KolabAdmin/include/mysmarty.php
+++ b/lib/KolabAdmin/include/mysmarty.php
@@ -33,6 +33,8 @@ class MySmarty extends Smarty {
global $language;
global $basedir;
global $smarty_compiledir;
+ global $webserver_web_prefix;
+ global $params;
$this->Smarty();
$this->config_dir = $basedir.'configs/';
@@ -45,8 +47,10 @@ class MySmarty extends Smarty {
//$this->register_outputfilter("count_bytes");
- $this->assign( 'topdir', $topdir );
- $this->assign( 'self_url', $_SERVER['REQUEST_URI'] );
+ $this->assign('webserver_web_prefix', $webserver_web_prefix);
+ $this->assign('kolab_wui', $params['kolab_wui']);
+ $this->assign('topdir', $topdir);
+ $this->assign('self_url', $_SERVER['REQUEST_URI']);
$cleanurl = preg_replace('/(\?|&)lang=(.*)(&|$)/', '', $_SERVER['REQUEST_URI']);
$this->assign( 'lang_url',