Ignore:
Timestamp:
2007/03/30 14:33:02 (16 years ago)
Author:
naka
Message:
 
File:
1 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        } 
Note: See TracChangeset for help on using the changeset viewer.