From 10ad741a22797b6710be1091d9e502e71929f255 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 17 Sep 2010 21:24:35 +0200 Subject: automatic alignment of graph legend Function fill_ds_names is renamed to parse_ds_names and now also appends spaces to ds_names to make them equal of lenght. --- plugin/apache.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugin/apache.php') diff --git a/plugin/apache.php b/plugin/apache.php index 1dc3540..7153662 100644 --- a/plugin/apache.php +++ b/plugin/apache.php @@ -13,17 +13,17 @@ $obj = new Type_GenericStacked($CONFIG); $obj->data_sources = array('count'); $obj->order = array('open', 'idle_cleanup', 'finishing', 'logging', 'closing', 'dnslookup', 'keepalive', 'sending', 'reading', 'starting', 'waiting'); $obj->ds_names = array( - 'open' => 'Open (empty) ', - 'waiting' => 'Waiting ', - 'starting' => 'Starting up ', + 'open' => 'Open (empty)', + 'waiting' => 'Waiting', + 'starting' => 'Starting up', 'reading' => 'Reading request', - 'sending' => 'Sending reply ', - 'keepalive' => 'Keepalive ', - 'dnslookup' => 'DNS Lookup ', - 'closing' => 'Closing ', - 'logging' => 'Logging ', - 'finishing' => 'Finishing ', - 'idle_cleanup' => 'Idle cleanup ', + 'sending' => 'Sending reply', + 'keepalive' => 'Keepalive', + 'dnslookup' => 'DNS Lookup', + 'closing' => 'Closing', + 'logging' => 'Logging', + 'finishing' => 'Finishing', + 'idle_cleanup' => 'Idle cleanup', ); $obj->colors = array( 'open' => 'e0e0e0', -- cgit v1.1