From 23bdb608fe93cf4a98683dae0a09fcca30aa9d1d Mon Sep 17 00:00:00 2001 From: osmiy Date: Tue, 7 Nov 2006 08:56:18 +0000 Subject: - developed frontend installation wizard (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3434 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/page_header.php | 40 +++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'frontends/php/include/page_header.php') diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php index 72f85541..43693086 100644 --- a/frontends/php/include/page_header.php +++ b/frontends/php/include/page_header.php @@ -20,6 +20,7 @@ ?> - - - - + \n"; - - if(isset($page['title'])) - $page['title'] .= ' [refreshed every '.$USER_DETAILS['refresh'].' sec]'; - } - - if(isset($page['title'])) + if(!isset($page['title'])) $page['title'] = 'ZABBIX'; + + if(defined('ZBX_DISTRIBUTED')) { if($curr_node_data = DBfetch(DBselect('select * from nodes where nodeid='.$ZBX_CURNODEID))) $page['title'] = '('.$curr_node_data['name'].') '.$page['title']; - - echo " ".$page['title']."\n"; } + + if(defined('ZBX_PAGE_DO_REFRESH') && $USER_DETAILS["refresh"]) + { +?> + "> + - + <?php echo $page['title'] ?> + + + + S_ADMINISTRATION, "default_page_id" => 0, "pages"=>array( - array("url"=>"admin.php" ,"label"=>S_ADMINISTRATION ), ZBX_DISTRIBUTED ? array("url"=>"nodes.php" ,"label"=>S_NODES) : null , array("url"=>"users.php" ,"label"=>S_USERS , "sub_pages"=>array("popup_media.php", @@ -205,7 +207,9 @@ COpt::profiling_start("page"); ), array("url"=>"media_types.php" ,"label"=>S_MEDIA_TYPES ), array("url"=>"audit.php" ,"label"=>S_AUDIT ), - array("url"=>"report4.php" ,"label"=>S_NOTIFICATIONS ) + array("url"=>"report4.php" ,"label"=>S_NOTIFICATIONS ), + array("url"=>"instal.php" ,"label"=>S_INSTALLATION , + "sub_pages"=>array("setup.php")) ) ), "login"=>array( -- cgit