Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/view/PhamePostView.php
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | return phutil_tag( | ||||
| $this->getUser()), | $this->getUser()), | ||||
| $this->getAuthor()->getName())); | $this->getAuthor()->getName())); | ||||
| } | } | ||||
| public function renderBody() { | public function renderBody() { | ||||
| return phutil_tag( | return phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'phame-post-body', | 'class' => 'phame-post-body phabricator-remarkup', | ||||
| ), | ), | ||||
| $this->getBody()); | $this->getBody()); | ||||
| } | } | ||||
| public function renderSummary() { | public function renderSummary() { | ||||
| return phutil_tag( | return phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'phame-post-body', | 'class' => 'phame-post-body phabricator-remarkup', | ||||
| ), | ), | ||||
| $this->getSummary()); | $this->getSummary()); | ||||
| } | } | ||||
| public function renderComments() { | public function renderComments() { | ||||
| $post = $this->getPost(); | $post = $this->getPost(); | ||||
| switch ($post->getCommentsWidget()) { | switch ($post->getCommentsWidget()) { | ||||
| ▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines | |||||