Changeset 2911
- Timestamp:
- May 15, 2007, 11:13:50 PM (14 years ago)
- Location:
- OpenPNE/branches/2.8.x/webapp/modules/pc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/2.8.x/webapp/modules/pc/page/h_diary_edit.php
r2864 r2911 20 20 21 21 $c_diary = db_diary_get_c_diary4id($target_c_diary_id); 22 if (!(is_null($subject) || is_null($body))) {23 $c_diary['subject'] = $subject;24 $c_diary['body'] = $body;25 }26 22 27 23 // target が指定されていない … … 53 49 //プロフィール 54 50 $this->set("target_member", db_member_c_member4c_member_id($u)); 55 $this->set("diary", $c_diary);56 51 57 52 //カレンダー関係 … … 96 91 } 97 92 93 if (!(is_null($subject) || is_null($body))) { 94 $c_diary['subject'] = $subject; 95 $c_diary['body'] = $body; 96 } 97 if ($public_flag) { 98 $c_diary['public_flag'] = util_cast_public_flag_diary($public_flag); 99 } 100 $this->set("diary", $c_diary); 101 98 102 // inc_entry_point 99 103 $this->set('inc_entry_point', fetch_inc_entry_point($this->getView(), 'h_diary_edit')); -
OpenPNE/branches/2.8.x/webapp/modules/pc/templates/h_diary_edit_confirm.tpl
r1081 r2911 247 247 <input type="hidden" name="subject" value="({$form_val.subject})"> 248 248 <input type="hidden" name="body" value="({$form_val.body})"> 249 <input type="hidden" name="public_flag" value="({$form_val.public_flag})"> 249 250 <input type="hidden" name="category" value="({$form_val.category})"> 250 251 <td><input type="submit" class="submit" value=" 修 正 "></td>
Note: See TracChangeset
for help on using the changeset viewer.