Thanks Jens - I'll put that on the fix list!
- Peter
On 5/17/11 14:20, Jens Hektor wrote:
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
--
--
Be nice to your netflow data
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss