Changeset 16833
- Timestamp:
- 2007/11/28 17:10:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
r16582 r16833 126 126 } 127 127 128 $this->initNewMode( );128 $this->initNewMode("new"); 129 129 130 130 $arrErr = $this->validateNewMode(); … … 156 156 * @return void 157 157 */ 158 function initNewMode( ) {158 function initNewMode($mode) { 159 159 $objForm = new SC_FormParam(); 160 160 … … 162 162 $objForm->addParam('所属', 'department', STEXT_LEN, 'KV', array('MAX_LENGTH_CHECK')); 163 163 $objForm->addParam('ログインID', 'login_id', '' , '', array('EXIST_CHECK', 'ALNUM_CHECK')); 164 //$objForm->addParam('パスワード', 'password', '' , '', array('EXIST_CHECK', 'ALNUM_CHECK')); 164 if ($mode == "new" || ($mode == "edit" && $_POST['password'] != DUMMY_PASS)) { 165 $objForm->addParam('パスワード', 'password', '' , '', array('EXIST_CHECK', 'ALNUM_CHECK')); 166 } 165 167 $objForm->addParam('権限', 'authority', INT_LEN, '', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 166 168 … … 213 215 214 216 // newアクションと同じパラメータを使用するので。。。分けた方が良い? 215 $this->initNewMode( );217 $this->initNewMode("edit"); 216 218 217 219 $arrErr = $this->validateEditMode();
Note: See TracChangeset
for help on using the changeset viewer.