Changeset 1525
- Timestamp:
- Jan 7, 2007, 11:45:02 PM (15 years ago)
- Location:
- OpenPNE/branches/myumyu/prj_openpne2/webapp/modules/ktai
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/myumyu/prj_openpne2/webapp/modules/ktai/do/h_diary_edit_insert_c_diary.php
r1265 r1525 23 23 24 24 if (is_null($subject) || $subject === '') { 25 $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 2 );25 $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 2,'subject'=>$subject,'body' => $body,'public_flag' => $public_flag); 26 26 openpne_redirect('ktai', 'page_h_diary_edit', $p); 27 27 } 28 28 29 29 if (is_null($body) || $body === '') { 30 $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 1 );30 $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 1,'subject'=>$subject,'body' => $body,'public_flag' => $public_flag); 31 31 openpne_redirect('ktai', 'page_h_diary_edit', $p); 32 32 } -
OpenPNE/branches/myumyu/prj_openpne2/webapp/modules/ktai/page/h_diary_edit.php
r1268 r1525 24 24 } 25 25 } else { 26 $c_diary['public_flag'] = $c_member['public_flag_diary']; 26 $c_diary['subject'] = $requests['subject']; 27 $c_diary['body'] = $requests['body']; 28 if($requests['public_flag']) 29 $c_diary['public_flag'] = $requests['public_flag']; 30 else 31 $c_diary['public_flag'] = $c_member['public_flag_diary']; 27 32 $this->set('target_c_diary', $c_diary); 28 33 } -
OpenPNE/branches/myumyu/prj_openpne2/webapp/modules/ktai/validate/page/h_diary_edit.ini
r2 r1525 1 [subject] 2 type = "string" 3 4 [body] 5 type = "string" 6 7 [public_flag] 8 type = "string" 9 1 10 [target_c_diary_id] 2 11 type = "int"
Note: See TracChangeset
for help on using the changeset viewer.