Changeset 12037


Ignore:
Timestamp:
2007/03/30 14:33:02 (14 years ago)
Author:
naka
Message:
 
Location:
branches/dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_CheckError.php

    r11689 r12037  
    390390        } 
    391391        if(strlen($this->arrParam[$value[1]]) > 0 && ! mb_ereg("^[¥¡-¥öŽ¦-Žß¡¼]+$", $this->arrParam[$value[1]])) { 
     392            $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Ï¥«¥¿¥«¥Ê¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£<br />";   
     393        } 
     394    } 
     395     
     396    /*¡¡¥«¥¿¥«¥Ê¤ÎȽÄê2¡Ê¥¿¥Ö¡¢¥¹¥Ú¡¼¥¹¤Ïµö²Ä¤¹¤ë¡Ë¡¡*/ 
     397    // value[0] = ¹àÌÜ̾ value[1] = ȽÄêÂоÝʸ»úÎó  
     398    function KANABLANK_CHECK( $value ) {                // ÆþÎÏʸ»ú¤¬¥«¥Ê°Ê³°¤Ê¤é¥¨¥é¡¼¤òÊÖ¤¹ 
     399        if(isset($this->arrErr[$value[1]])) { 
     400            return; 
     401        } 
     402        if(strlen($this->arrParam[$value[1]]) > 0 && ! mb_ereg("^([¡¡ \t\r\n]|[¥¡-¥ö]|[¡¼])+$", $this->arrParam[$value[1]])) { 
    392403            $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Ï¥«¥¿¥«¥Ê¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£<br />";   
    393404        } 
  • branches/dev/html/admin/customer/index.php

    r11774 r12037  
    306306    $objErr->doFunc(array("ÅÔÆ»Éܸ©", "pref", 2), array("NUM_CHECK","MAX_LENGTH_CHECK")); 
    307307    $objErr->doFunc(array("¸ÜµÒ̾", "name", STEXT_LEN), array("MAX_LENGTH_CHECK")); 
    308     $objErr->doFunc(array("¸ÜµÒ̾(¥«¥Ê)", "kana", STEXT_LEN), array("KANA_CHECK", "MAX_LENGTH_CHECK")); 
     308    $objErr->doFunc(array("¸ÜµÒ̾(¥«¥Ê)", "kana", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK" ,"MAX_LENGTH_CHECK", "KANABLANK_CHECK")); 
    309309    $objErr->doFunc(array("ÃÂÀ¸Æü(³«»ÏÆü)", "b_start_year", "b_start_month", "b_start_day"), array("CHECK_DATE")); 
    310310    $objErr->doFunc(array("ÃÂÀ¸Æü(½ªÎ»Æü)", "b_end_year", "b_end_month", "b_end_day"), array("CHECK_DATE")); 
Note: See TracChangeset for help on using the changeset viewer.