From 48271f4634aa6cfc3015858633a037138c70a88d Mon Sep 17 00:00:00 2001
From: Pim van den Berg
Date: Sun, 11 Oct 2009 12:24:32 +0200
Subject: replace plus and minus on host page by images
---
host.php | 6 +++---
layout/minus.gif | Bin 0 -> 112 bytes
layout/plus.gif | Bin 0 -> 116 bytes
3 files changed, 3 insertions(+), 3 deletions(-)
create mode 100644 layout/minus.gif
create mode 100644 layout/plus.gif
diff --git a/host.php b/host.php
index f98ca99..3bf3698 100644
--- a/host.php
+++ b/host.php
@@ -21,7 +21,7 @@ if(!$plugins) {
# first the ones defined in overview
foreach($CONFIG['overview'] as $plugin) {
if (in_array($plugin, $plugins)) {
- printf("
[-] %s
\n", $plugin);
+ printf(" %s
\n", $CONFIG['weburl'], $plugin);
graphs_from_plugin($host, $plugin);
}
}
@@ -31,10 +31,10 @@ foreach($plugins as $plugin) {
if (!in_array($plugin, $CONFIG['overview'])) {
$url = sprintf('%s'."\n", $CONFIG['weburl'], $host, $plugin, $plugin);
if ($splugin == $plugin) {
- printf("[-] %s
\n", $url);
+ printf(" %s
\n", $CONFIG['weburl'], $url);
graphs_from_plugin($host, $plugin);
} else {
- printf("[+] %s
\n", $url);
+ printf(" %s
\n", $CONFIG['weburl'], $url);
}
}
}
diff --git a/layout/minus.gif b/layout/minus.gif
new file mode 100644
index 0000000..6a7c99e
Binary files /dev/null and b/layout/minus.gif differ
diff --git a/layout/plus.gif b/layout/plus.gif
new file mode 100644
index 0000000..d289e4f
Binary files /dev/null and b/layout/plus.gif differ
--
cgit v1.1