From b9828ab2e237efd59e662b4305e866a33519a9a4 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 4 Feb 2008 17:00:46 +0000 Subject: fixed html syntax issues fixed spelling of standard deviation --- CHANGES | 2 ++ etc/config.dist | 2 +- lib/Smokeping.pm | 7 ++++--- lib/Smokeping/sorters/StdDev.pm | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 9ebe98a..1d6a8e8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +* Fixed div structure in hierarchy and filter form --tobi + 2008/1/23 -- released version 2.3.0 * Integrated TCPPing Probe -- Norman Rasmussen diff --git a/etc/config.dist b/etc/config.dist index 48a0702..c8758d0 100644 --- a/etc/config.dist +++ b/etc/config.dist @@ -58,7 +58,7 @@ title = The most interesting destinations sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation -format = Stdandard Deviation %f +format = Standard Deviation %f ++ max sorter = Max(entries=>5) diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 5a9cca2..efda646 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1483,13 +1483,14 @@ sub hierarchy_switcher($$){ ); $print .= ""; } - $print .= "
Filter:
"; + $print .= "
Filter:
"; + $print .= "
"; $print .= $q->textfield (-name=>'filter', -onChange=>'hswitch.submit()', -size=>15, ); - $print .= $q->end_form(); - $print .= "


"; + $print .= ''.$q->end_form(); + $print .= "

"; return $print; } diff --git a/lib/Smokeping/sorters/StdDev.pm b/lib/Smokeping/sorters/StdDev.pm index fc97446..d43c9a8 100644 --- a/lib/Smokeping/sorters/StdDev.pm +++ b/lib/Smokeping/sorters/StdDev.pm @@ -21,7 +21,7 @@ Call the sorter in the charts section of the config file sorter = StdDev(entries=>4) title = Top StdDev menu = Std Deviation - format = Stdandard Deviation %f + format = Standard Deviation %f =head1 COPYRIGHT -- cgit v1.2.3-24-g4f1b