phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc common_functions.inc.php,1.7,1.8


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc common_functions.inc.php,1.7,1.8
Date: Sun, 26 May 2002 16:00:37 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30345

Modified Files:
        common_functions.inc.php 
Log Message:
remove stray whitespace, etc

Index: common_functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/common_functions.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** common_functions.inc.php    26 May 2002 08:50:40 -0000      1.7
--- common_functions.inc.php    26 May 2002 20:00:35 -0000      1.8
***************
*** 177,181 ****
                                }
                                break;
!                       case "isprint":
                                $length = strlen($string);
                                $position = 0;
--- 177,181 ----
                                }
                                break;
!                       case 'isprint':
                                $length = strlen($string);
                                $position = 0;
***************
*** 183,187 ****
                                {
                                        $char = substr($string, $position, 1);
!                                       if ($char < ' ' || $char > '~')
                                        {
                                                return False;
--- 183,187 ----
                                {
                                        $char = substr($string, $position, 1);
!                                       if ($char < ' ' || $char > '~')
                                        {
                                                return False;
***************
*** 190,194 ****
                                }
                                return True;
!               break;
                        case 'alpha':
                                if (preg_match("/^[a-z]+$/i", $string))
--- 190,194 ----
                                }
                                return True;
!                               break;
                        case 'alpha':
                                if (preg_match("/^[a-z]+$/i", $string))
***************
*** 242,246 ****
                                }
                                break;
!                       case "password":
                                $password_length = strlen($string);
                                $password_numbers = 
Array('0','1','2','3','4','5','6','7','8','9');
--- 242,246 ----
                                }
                                break;
!                       case 'password':
                                $password_length = strlen($string);
                                $password_numbers = 
Array('0','1','2','3','4','5','6','7','8','9');
***************
*** 301,305 ****
                                                }
                                        }
!                               
                                        if ($pass_verify_num == False)
                                        {
--- 301,305 ----
                                                }
                                        }
! 
                                        if ($pass_verify_num == False)
                                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]