From 3b6625bfe88660533ac0802aa1dca74c9e476d78 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sat, 9 Jan 2010 02:10:58 +0000 Subject: [PATCH] updates git-svn-id: http://www.observium.org/svn/observer/trunk@633 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/collectd.inc.php | 22 ++-------------------- html/pages/device/syslog.inc.php | 30 +++++++++--------------------- 2 files changed, 11 insertions(+), 41 deletions(-) diff --git a/html/pages/device/collectd.inc.php b/html/pages/device/collectd.inc.php index 84e61c8ff..af533292c 100644 --- a/html/pages/device/collectd.inc.php +++ b/html/pages/device/collectd.inc.php @@ -42,17 +42,8 @@ function dhtml_response_list(&$items, $method) { print(""); } +print_optionbar_start(); -echo("
- - - - - - -
-
-"); $plugins = collectd_list_plugins($device['hostname']); foreach ($plugins as &$plugin) { if(!$_GET['opta']) { $_GET['opta'] = $plugin; } @@ -64,16 +55,7 @@ echo("
- - - - - -
"); - +print_optionbar_end(); $pinsts = collectd_list_pinsts($device['hostname'], $_GET['opta']); foreach ($pinsts as &$instance) { diff --git a/html/pages/device/syslog.inc.php b/html/pages/device/syslog.inc.php index 7e55be60a..b423c5abf 100644 --- a/html/pages/device/syslog.inc.php +++ b/html/pages/device/syslog.inc.php @@ -1,12 +1,9 @@ -
- - - - - - -
-
+ +
- -
-
-
- - - - - - -
-