Changeset 7165
- Timestamp:
- May 13, 2008, 3:06:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/stable-2.8.x/webapp/lib/mail/sns.php
r6933 r7165 125 125 //--- 126 126 127 //プロフィール 画像変更127 //プロフィール写真変更 128 128 elseif ( 129 129 preg_match('/^p(\d+)$/', $to_user, $matches) || … … 189 189 $c_commu_id = $topic['c_commu_id']; 190 190 if (!_db_is_c_commu_member($c_commu_id, $this->c_member_id)) { 191 $this->error_mail('コミュニティに参加していないため投稿できませんでした ');191 $this->error_mail('コミュニティに参加していないため投稿できませんでした。'); 192 192 m_debug_log('mail_sns::add_commu_topic_comment() not a member'); 193 193 return false; … … 202 202 $body = $this->decoder->get_text_body(); 203 203 if ($body === '') { 204 $this->error_mail('本文が空のため投稿できませんでした ');204 $this->error_mail('本文が空のため投稿できませんでした。'); 205 205 m_debug_log('mail_sns::add_commu_topic_comment() body is empty'); 206 206 return false; … … 210 210 $ins_id = db_commu_insert_c_commu_topic_comment($c_commu_id, $topic['c_commu_topic_id'], $this->c_member_id, $body); 211 211 212 // 画像保存212 // 写真登録 213 213 $image_num = 1; 214 214 foreach ($images as $image) { … … 267 267 } 268 268 269 // 画像登録269 // 写真登録 270 270 $image_num = 1; 271 271 foreach ($images as $image) { … … 292 292 293 293 /** 294 * プロフィール 画像変更294 * プロフィール写真変更 295 295 */ 296 296 function add_member_image() … … 298 298 $c_member = db_common_c_member4c_member_id($this->c_member_id); 299 299 300 // 登録する 画像番号(1-3)を決める300 // 登録する写真番号(1-3)を決める 301 301 $target_number = 0; 302 302 if ($c_member['image_filename']) { … … 308 308 $target_number = 3; 309 309 } else { 310 $this->error_mail('プロフィール 画像の登録は最大三枚までです。');310 $this->error_mail('プロフィール写真の登録は最大3枚までです。'); 311 311 m_debug_log('mail_sns::add_diary() image is full'); 312 312 return false; … … 316 316 } 317 317 318 // 画像登録318 // 写真登録 319 319 if ($images = $this->decoder->get_images()) { 320 320 $image = $images[0]; … … 327 327 return true; 328 328 } else { 329 $this->error_mail('写真が添付されていないか、ファイルサイズが大きすぎるため、登録できませんでした。'); 329 330 m_debug_log('mail_sns::add_member_image() no images'); 330 331 return false;
Note: See TracChangeset
for help on using the changeset viewer.