From bfcdef6bc91753cb2044e3626f522b5b1aec129f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 14 Nov 2012 05:34:56 -0500
Subject: [PATCH] Merged revisions 3596-3670 from 3.0.5 stable branch.

---
 interface/lib/app.inc.php |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 71566e6..e0b237b 100755
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -213,6 +213,12 @@
 		$this->tpl->setVar('app_title', $this->_conf['app_title']);
 		if(isset($_SESSION['s']['user'])) {
 			$this->tpl->setVar('app_version', $this->_conf['app_version']);
+            // get pending datalog changes
+            $datalog = $this->db->datalogStatus();
+            $this->tpl->setVar('datalog_changes_txt', $this->lng('datalog_changes_txt'));
+            $this->tpl->setVar('datalog_changes_end_txt', $this->lng('datalog_changes_end_txt'));
+            $this->tpl->setVar('datalog_changes_count', $datalog['count']);
+            $this->tpl->setLoop('datalog_changes', $datalog['entries']);
 		} else {
 			$this->tpl->setVar('app_version', '');
 		}

--
Gitblit v1.9.1