| @@ 943-949 (lines=7) @@ | ||
| 940 | $obj->status = base64_decode($xmlDoc->comment->status->body)==''?'1':base64_decode($xmlDoc->comment->status->body); |
|
| 941 | $obj->list_order = $obj->comment_srl*-1; |
|
| 942 | // Change content information (attachment) |
|
| 943 | if(count($files)) |
|
| 944 | { |
|
| 945 | foreach($files as $key => $val) |
|
| 946 | { |
|
| 947 | $obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val.'"',$obj->content); |
|
| 948 | } |
|
| 949 | } |
|
| 950 | // Comment list first |
|
| 951 | $list_args = new stdClass; |
|
| 952 | $list_args->comment_srl = $obj->comment_srl; |
|
| @@ 176-181 (lines=6) @@ | ||
| 173 | $obj->notify_message = 'N'; |
|
| 174 | // Change content information (attachment) |
|
| 175 | $obj->content = str_replace('[##_ATTACH_PATH_##]/','',$obj->content); |
|
| 176 | if(count($files)) |
|
| 177 | { |
|
| 178 | foreach($files as $key => $val) { |
|
| 179 | $obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val->url.'"',$obj->content); |
|
| 180 | } |
|
| 181 | } |
|
| 182 | ||
| 183 | $obj->content = preg_replace_callback('!\[##_Movie\|([^\|]*)\|(.*?)_##\]!is', array($this, '_replaceTTMovie'), $obj->content); |
|
| 184 | ||