Changeset 21441 for branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
r21420 r21441 78 78 $arrForm = array(); 79 79 80 switch ($this->getMode()) {80 switch ($this->getMode()) { 81 81 case 'new': 82 82 // パラメーターの初期化 … … 87 87 $this->arrForm = $objFormParam->getHashArray(); 88 88 89 if (SC_Utils_Ex::isBlank($arrErr)) {89 if (SC_Utils_Ex::isBlank($arrErr)) { 90 90 91 91 $this->insertMemberData($this->arrForm); … … 115 115 $this->arrForm = $objFormParam->getHashArray(); 116 116 117 if (SC_Utils_Ex::isBlank($arrErr)) {117 if (SC_Utils_Ex::isBlank($arrErr)) { 118 118 119 119 $this->updateMemberData($this->arrForm['member_id'], $this->arrForm); … … 150 150 } 151 151 152 switch ($clean_mode_flg) {152 switch ($clean_mode_flg) { 153 153 case 'edit': 154 154 $this->tpl_mode = $clean_mode_flg; … … 221 221 // ログインID・パスワードの文字数チェック 222 222 $objErr = new SC_CheckError_Ex(); 223 if ($mode == 'new') {223 if ($mode == 'new') { 224 224 $objErr->doFunc(array("パスワード", 'password', ID_MIN_LEN, ID_MAX_LEN), array("NUM_RANGE_CHECK")); 225 225 $objErr->doFunc(array("ログインID", 'login_id', ID_MIN_LEN, ID_MAX_LEN), array("NUM_RANGE_CHECK")); 226 } elseif ($mode == 'edit') {226 } elseif ($mode == 'edit') { 227 227 $objErr->doFunc(array("パスワード", 'password', ID_MIN_LEN, ID_MAX_LEN), array("SPTAB_CHECK" ,"NUM_RANGE_CHECK")); 228 228 $objErr->doFunc(array("ログインID", 'login_id', ID_MIN_LEN, ID_MAX_LEN), array("SPTAB_CHECK" ,"NUM_RANGE_CHECK")); … … 231 231 $arrErr = $objErr->arrErr; 232 232 233 switch ($mode) {233 switch ($mode) { 234 234 case 'new': 235 235 // 管理者名が登録済みでないか … … 299 299 300 300 // $pagenoが0以上の整数かチェック 301 if (SC_Utils_Ex::sfIsInt($pageno) && $pageno > 0) {301 if (SC_Utils_Ex::sfIsInt($pageno) && $pageno > 0) { 302 302 $clean_pageno = $pageno; 303 303 } … … 358 358 $sqlVal['work'] = $arrMemberData['work']; 359 359 $sqlVal['update_date'] = 'CURRENT_TIMESTAMP'; 360 if ($arrMemberData['password'] != DEFAULT_PASSWORD) {360 if ($arrMemberData['password'] != DEFAULT_PASSWORD) { 361 361 $salt = SC_Utils_Ex::sfGetRandomString(10); 362 362 $sqlVal['salt'] = $salt;
Note: See TracChangeset
for help on using the changeset viewer.