Changeset 9042
- Timestamp:
- Nov 8, 2008, 8:56:01 AM (14 years ago)
- Location:
- OpenPNE3/trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/apps/pc_frontend/modules/member/actions/actions.class.php
r9031 r9042 76 76 return sfView::SUCCESS; 77 77 } 78 79 /** 80 * Executes invite action 81 * 82 * @param sfRequest $request A request object 83 */ 84 public function executeInvite($request) 85 { 86 $this->form = new InviteForm(); 87 if ($request->isMethod('post')) 88 { 89 $this->form->bind($request->getParameter('pc_address')); 90 if ($this->form->isValid()) 91 { 92 $token = $this->form->register(); 93 $subject = OpenPNEConfig::get('sns_name').'の招待状が届いています'; 94 $body = $this->getPartial('global/requestRegisterURLMail', array('token' => $token->getValue())); 95 sfOpenPNEMailSend::execute($subject, $this->form->getValue('pc_address'), OpenPNEConfig::get('admin_mail_address'), $body); 96 97 return sfView::SUCCESS; 98 } 99 } 100 101 return sfView::INPUT; 102 } 78 103 } -
OpenPNE3/trunk/apps/pc_frontend/templates/_partsBox.php
r8929 r9042 30 30 <ul class="moreInfo button"> 31 31 <li> 32 <input class="input_submit" type="submit" value=" 変更" />32 <input class="input_submit" type="submit" value="<?php echo $option['button'] ?>" /> 33 33 </li> 34 34 </ul> -
OpenPNE3/trunk/data/fixtures/004_import_navi_menu.yml
r8138 r9042 15 15 type: "secure_global" 16 16 uri: "member/config" 17 18 secure_global_navi_invite: 19 type: "secure_global" 20 uri: "member/invite" 17 21 18 22 secure_global_navi_logout: … … 85 89 culture: "ja_JP" 86 90 91 secure_global_navi_invite_i18n: 92 id: secure_global_navi_invite 93 caption: "友人を招待する" 94 culture: "ja_JP" 95 87 96 secure_global_navi_logout_i18n: 88 97 id: secure_global_navi_logout -
OpenPNE3/trunk/lib/helper/PartsHelper.php
r8929 r9042 58 58 function include_box($id, $title = '', $body = '', $option = array()) 59 59 { 60 if (!empty($option['form']) && !isset($option['button'])) { 61 $option['button'] = '変更'; 62 } 63 60 64 $params = array( 61 65 'id' => $id,
Note: See TracChangeset
for help on using the changeset viewer.