@@ 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 |
@@ 1003-1009 (lines=7) @@ | ||
1000 | $obj->email_address = $obj->user_id . '@example.com'; |
|
1001 | } |
|
1002 | // Change content information (attachment) |
|
1003 | if(count($files)) |
|
1004 | { |
|
1005 | foreach($files as $key => $val) |
|
1006 | { |
|
1007 | $obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val.'"',$obj->content); |
|
1008 | } |
|
1009 | } |
|
1010 | // Comment list first |
|
1011 | $list_args = new stdClass; |
|
1012 | $list_args->comment_srl = $obj->comment_srl; |