summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/page_footer.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-25 13:13:02 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-25 13:13:02 +0000
commit4da027caebdac710d323f4cab0e1642bd1ec5a5b (patch)
treef3f2b2878f929da0825b9ee47f529515ff6a925d /frontends/php/include/page_footer.php
parentd23332dbc5dabb29dfec400d2d9ba782b46b5615 (diff)
- improved permission system for nondistributed system
git-svn-id: svn://svn.zabbix.com/trunk@3381 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_footer.php')
-rw-r--r--frontends/php/include/page_footer.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/page_footer.php b/frontends/php/include/page_footer.php
index 81f083df..055ef415 100644
--- a/frontends/php/include/page_footer.php
+++ b/frontends/php/include/page_footer.php
@@ -17,6 +17,10 @@
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
+?>
+<?php
+ require_once("include/config.inc.php");
+
global $USER_DETAILS;
global $page;
@@ -37,8 +41,8 @@
"page_footer_l"),
new CCol(array(
new CSpan(SPACE.SPACE."|".SPACE.SPACE,"divider"),
- S_CONNECTED_AS.SPACE."'".$USER_DETAILS["alias"]."'".SPACE.
- S_FROM_SMALL.SPACE."'".$USER_DETAILS["node"]['name']."'"
+ S_CONNECTED_AS.SPACE."'".$USER_DETAILS["alias"]."'".
+ (ZBX_DISTRIBUTED ? SPACE.S_FROM_SMALL.SPACE."'".$USER_DETAILS["node"]['name']."'" : '')
),
"page_footer_r")
));