From 6f67c78cf8668e570c5ef7fd4430e3d0e4a66aef Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 22 Nov 2008 07:49:58 -0500
Subject: [PATCH] Replaced php code for app version in main template with a template variable.
---
interface/lib/app.inc.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 46a9114..9d635ae 100644
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -181,6 +181,7 @@
if(isset($_SESSION['s']['user']) && $this->auth->has_clients($_SESSION['s']['user']['userid'])) {
$this->tpl->setVar('is_reseller', 1);
}
+ $this->tpl->setVar('ISPC_APP_VERSION', ISPC_APP_VERSION);
}
} // end class
--
Gitblit v1.9.1