@@ -47,15 +47,15 @@ |
||
| 47 | 47 | |
| 48 | 48 | public function onCreatePost(Event $event) { |
| 49 | 49 | $result = '<div style="padding: 9px 16px;border:1px solid #EEE;margin-bottom:16px;">' |
| 50 | - .'<strong>Posted by</strong> ' |
|
| 51 | - .$this->mediator->publish(new Event('formatUsername', $event->data['username'], $this)) |
|
| 52 | - .' (' |
|
| 53 | - .$this->mediator->publish(new Event('formatGroup', $event->data['group'], $this)) |
|
| 54 | - .')<br /><strong>Posted Date</strong> ' |
|
| 55 | - .$this->mediator->publish(new Event('formatDate', $event->data['date'], $this)) |
|
| 56 | - .'<br />' |
|
| 57 | - .$this->mediator->publish(new Event('formatMessage', $event->data['message'], $this)) |
|
| 58 | - .'</div>'; |
|
| 50 | + .'<strong>Posted by</strong> ' |
|
| 51 | + .$this->mediator->publish(new Event('formatUsername', $event->data['username'], $this)) |
|
| 52 | + .' (' |
|
| 53 | + .$this->mediator->publish(new Event('formatGroup', $event->data['group'], $this)) |
|
| 54 | + .')<br /><strong>Posted Date</strong> ' |
|
| 55 | + .$this->mediator->publish(new Event('formatDate', $event->data['date'], $this)) |
|
| 56 | + .'<br />' |
|
| 57 | + .$this->mediator->publish(new Event('formatMessage', $event->data['message'], $this)) |
|
| 58 | + .'</div>'; |
|
| 59 | 59 | return $result; |
| 60 | 60 | } |
| 61 | 61 | } |