Changeset 22472


Ignore:
Timestamp:
2013/01/30 13:03:03 (8 years ago)
Author:
Seasoft
Message:

#2081 (SC_FormParam#checkError NUM_POINT_CHECK に対応させる)

Location:
branches/version-2_12-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_FormParam.php

    r22317 r22472  
    218218                    case 'SELECT_CHECK': 
    219219                    case 'FILE_NAME_CHECK_BY_NOUPLOAD': 
     220                    case 'NUM_POINT_CHECK': 
    220221                        $this->recursionCheck($this->disp_name[$index], $func, 
    221222                            $value, $arrErr, $key, $this->length[$index]); 
  • branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis.php

    r22206 r22472  
    256256            $objFormParam->addParam('ダウンロード無制限', 'downloadable_days_unlimited', array('EXIST_CHECK')); 
    257257        } 
    258         $objFormParam->addParam('緯度', 'latitude', STEXT_LEN, '',  array('MAX_LENGTH_CHECK')); 
    259         $objFormParam->addParam('軽度', 'longitude', STEXT_LEN, '',  array('MAX_LENGTH_CHECK')); 
     258        $objFormParam->addParam('緯度', 'latitude', STEXT_LEN, '',  array('MAX_LENGTH_CHECK', 'NUM_POINT_CHECK')); 
     259        $objFormParam->addParam('軽度', 'longitude', STEXT_LEN, '',  array('MAX_LENGTH_CHECK', 'NUM_POINT_CHECK')); 
    260260 
    261261        $objFormParam->addParam('定休日', 'regular_holiday_ids', INT_LEN, 'n', array('MAX_LENGTH_CHECK')); 
     
    274274        $objErr->doFunc(array('FAX', 'fax01', 'fax02', 'fax03'), array('TEL_CHECK')); 
    275275 
    276         $objErr->doFunc(array('緯度', 'latitude', STEXT_LEN), array('NUM_POINT_CHECK', 'MAX_LENGTH_CHECK')); 
    277         $objErr->doFunc(array('経度', 'longitude', STEXT_LEN), array('NUM_POINT_CHECK', 'MAX_LENGTH_CHECK')); 
    278  
    279276        return array_merge((array)$arrErr, (array)$objErr->arrErr); 
    280277    } 
Note: See TracChangeset for help on using the changeset viewer.