Changeset 11674 for branches/mobile/html


Ignore:
Timestamp:
2007/03/09 14:14:40 (15 years ago)
Author:
rebelt
Message:

下記の問題点の修正です。

  • 検証結果19
Location:
branches/mobile/html/mobile
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/mobile/html/mobile/entry/index.php

    r11569 r11674  
    221221} 
    222222 
    223 if($objPage->year == '') { 
    224     $objPage->year = '----'; 
    225 } 
    226  
    227223//----¡¡¥Ú¡¼¥¸É½¼¨ 
    228224$objView->assignobj($objPage); 
     
    366362function lfErrorCheck2($array) { 
    367363 
    368     global $objConn; 
     364    global $objConn, $objDate; 
    369365    $objErr = new SC_CheckError($array); 
    370366     
     
    374370 
    375371    $objErr->doFunc(array("À­ÊÌ", "sex") ,array("SELECT_CHECK", "NUM_CHECK"));  
    376     $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("SELECT_CHECK", "CHECK_DATE")); 
     372    $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", 4), array("EXIST_CHECK", "SPTAB_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
     373    if (!isset($objErr->arrErr['year'])) { 
     374        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getStartYear()), array("MIN_CHECK")); 
     375        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getEndYear()), array("MAX_CHECK")); 
     376    } 
     377    $objErr->doFunc(array("À¸Ç¯·îÆü (·îÆü)", "month", "day"), array("SELECT_CHECK")); 
     378    if (!isset($objErr->arrErr['year']) && !isset($objErr->arrErr['month']) && !isset($objErr->arrErr['day'])) { 
     379        $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("CHECK_DATE")); 
     380    } 
    377381     
    378382    return $objErr->arrErr; 
  • branches/mobile/html/mobile/mypage/change.php

    r11569 r11674  
    188188} 
    189189 
    190 if($objPage->year == '') { 
    191     $objPage->year = '----'; 
    192 } 
    193  
    194190//----¡¡¥Ú¡¼¥¸É½¼¨ 
    195191$objView->assignobj($objPage); 
     
    367363function lfErrorCheck2($array) { 
    368364 
    369     global $objConn; 
     365    global $objConn, $objDate; 
    370366    $objErr = new SC_CheckError($array); 
    371367     
     
    375371 
    376372    $objErr->doFunc(array("À­ÊÌ", "sex") ,array("SELECT_CHECK", "NUM_CHECK"));  
    377     $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("SELECT_CHECK", "CHECK_DATE")); 
     373    $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", 4), array("EXIST_CHECK", "SPTAB_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
     374    if (!isset($objErr->arrErr['year'])) { 
     375        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getStartYear()), array("MIN_CHECK")); 
     376        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getEndYear()), array("MAX_CHECK")); 
     377    } 
     378    $objErr->doFunc(array("À¸Ç¯·îÆü (·îÆü)", "month", "day"), array("SELECT_CHECK")); 
     379    if (!isset($objErr->arrErr['year']) && !isset($objErr->arrErr['month']) && !isset($objErr->arrErr['day'])) { 
     380        $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("CHECK_DATE")); 
     381    } 
    378382     
    379383    return $objErr->arrErr; 
Note: See TracChangeset for help on using the changeset viewer.