- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/class/pages/campaign/LC_Page_CampaignEntry.php
r18562 r18609 52 52 $this->arrJob = $masterData->getMasterData("mtb_job"); 53 53 $this->arrReminder = $masterData->getMasterData("mtb_reminder"); 54 $this->objDate = new SC_Date(START_BIRTH_YEAR, date("Y",strtotime("now"))); 55 $this->arrYear = $this->objDate->getYear('', 1950); // 日付プルダウン設定 56 $this->arrMonth = $this->objDate->getMonth(); 57 $this->arrDay = $this->objDate->getDay(); 54 55 // 生年月日選択肢の取得 56 $objDate = new SC_Date(START_BIRTH_YEAR, date("Y",strtotime("now"))); 57 $this->arrYear = $objDate->getYear('', 1950, ''); 58 $this->arrMonth = $objDate->getMonth(true); 59 $this->arrDay = $objDate->getDay(true); 58 60 } 59 61 … … 115 117 $this->arrForm = $_POST; 116 118 117 if($this->arrForm['year'] == '----') {118 $this->arrForm['year'] = '';119 }120 121 119 $this->arrForm['email'] = strtolower($this->arrForm['email']); // emailはすべて小文字で処理 122 120 $this->arrForm['email02'] = strtolower($this->arrForm['email02']); // emailはすべて小文字で処理 … … 129 127 130 128 if ($this->arrErr || $_POST["mode"] == "return") { // 入力エラーのチェック 131 foreach($ arrRegistColumn as $key) {132 $this->$key ['column'] = $arrForm[$key['column']];129 foreach($this->arrForm as $key => $val) { 130 $this->$key = $val; 133 131 } 134 132 … … 171 169 $objQuery = new SC_Query(); 172 170 173 $subject = $objHelperMail->sfMakeSubject( $objQuery, $objMailText, $this,'会員登録のご確認');171 $subject = $objHelperMail->sfMakeSubject('会員登録のご確認'); 174 172 175 173 $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl"); … … 201 199 } 202 200 203 if($this->year == '') {204 $this->year = '----';205 }206 207 201 //---- ページ表示 208 202 $objView->assignobj($this); … … 369 363 $objErr->doFunc(array("パスワードを忘れたときのヒント 答え", "reminder_answer", STEXT_LEN) ,array("EXIST_CHECK","SPTAB_CHECK" , "MAX_LENGTH_CHECK")); 370 364 $objErr->doFunc(array("メールマガジン", "mailmaga_flg") ,array("SELECT_CHECK", "NUM_CHECK")); 371 $objErr->doFunc(array("生年月日", "year", "month", "day"), array("CHECK_ DATE"));365 $objErr->doFunc(array("生年月日", "year", "month", "day"), array("CHECK_BIRTHDAY")); 372 366 373 367
Note: See TracChangeset
for help on using the changeset viewer.