-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jens,
Dne 17.5.2011 14:20, Jens Hektor napsal(a):
> 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
> ;-)
yes, that's right. Second way is to increase the value of maxlength
parameter. For example maxlength="500" is OK, too. :-)
Best regards,
Tomas
>
> 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
- --
Tomas Plesnik [email protected]
CSIRT-MU, Network Security Department http://www.muni.cz/csirt
Institute of Computer Science, Masaryk University, Brno, Czech Republic
PGP key ID: 0x9D3722F3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk3ScegACgkQGA/bT503IvM1sACgw645reRJtNgx3fBi9gDWxi97
7XAAoK642V/dPbO2pvt4TnxaAlzoHUbS
=dql4
-----END PGP 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