Module: nagvis Branch: master Commit: a6feccbd447247ee2ea40e646cfaab3fdde73be6 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=a6feccbd447247ee2ea40e646cfaab3fdde73be6
Author: Lars Michelsen <[email protected]> Date: Wed Sep 2 18:08:42 2009 +0200 #93 Changed validation for textbox width: Only auto or unsigned integer allowed --- share/nagvis/includes/defines/matches.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/nagvis/includes/defines/matches.php b/share/nagvis/includes/defines/matches.php index 7c88ace..6cc395f 100644 --- a/share/nagvis/includes/defines/matches.php +++ b/share/nagvis/includes/defines/matches.php @@ -55,5 +55,5 @@ define('MATCH_HTML_TEMPLATE_FILE', '/^tmpl\.(.+)\.html$/i'); define('MATCH_PHP_FILE', '/^(.+\.php)$/i'); define('MATCH_INTEGER_PRESIGN', '/^[\+\-]?[0-9]+$/'); define('MATCH_ORDER', '/^(?:asc|desc)$/'); -define('MATCH_TEXTBOX_WIDTH', '/^(\-?[0-9]+|auto)$/'); +define('MATCH_TEXTBOX_WIDTH', '/^([0-9]+|auto)$/'); ?> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
