For some reason my pre-4 firefox seemed to ignore the "maxlength" parameter in the textarea of details.php.
I removed it and am happy again entering somewhat lengthy filter expressions ;-)
Patch below contains some additional time ranges, too.
---------------------------------------------------
--- details.php.orig 2010-06-09 08:23:03.000000000 +0200
+++ details.php 2011-05-17 14:13:01.000000000 +0200
@@ -16,9 +16,9 @@
* 0.5 * 576 * 300 = 86400 => 1 day
* $scale * 172800 = time range of graph
*/
-$WinSizeScale = array ( 0.25, 0.5, 1, 2,
3.5, 7, 14);
+$WinSizeScale = array ( 0.25, 0.5, 1, 2, 3.5, 7, 15, 30, 60, 90, 120, 183,
366 );
// labels of the scale selector
-$WinSizeLabels = array ( '12 Hours', '1 day', '2 days', '4 days', '1 week', '2
weeks', '1 month' );
+$WinSizeLabels = array ( '12 Hours', '1 day', '2 days', '4 days', '1 week', '2
weeks', '1 month', '2 months', '4 months', '6 months', '8 months', '1 year', '2
years' );
// Definitions for the netflow processing table
$TopNOption = array ( 10, 20, 50, 100, 200, 500);
@@ -1274,7 +1274,7 @@
<INPUT TYPE="button" NAME="JSbutton2" Value="All Sources"
onClick="SelectAllSources()">
</TD>
<td style="vertical-align:top;">
- <textarea name="filter" id="filter" multiline="true"
wrap="phisical" rows="6" cols="50" maxlength="50"><?php
+ <textarea name="filter" id="filter" multiline="true"
wrap="phisical" rows="6" cols="50"><?php
$display_filter = array_key_exists('editfilter',
$process_form) ? $process_form['editfilter'] : $process_form['filter'];
foreach ( $display_filter as $line ) {
print htmlspecialchars(stripslashes($line)) .
"\n";
---------------------------------------------------
Best regards, Jens Hektor
--
Dipl.-Phys. Jens Hektor, Netzbetrieb
RWTH Aachen University, Center for Computing and Communication
Room 2.04, Wendlingweg 10, 52074 Aachen (Germany)
Phone: +49 241 80 29206 - Fax: +49 241 80 22100
http://www.rz.rwth-aachen.de - [email protected]
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
