Differential D9431 Diff 22523 src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
| Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
| $first_uri = $pager->getFirstPageURI(); | $first_uri = $pager->getFirstPageURI(); | ||||
| if ($first_uri) { | if ($first_uri) { | ||||
| $links[] = phutil_tag( | $links[] = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $first_uri, | 'href' => $first_uri, | ||||
| ), | ), | ||||
| "\xC2\xAB ". pht("Newest")); | "\xC2\xAB ". pht('Newest')); | ||||
| } | } | ||||
| $prev_uri = $pager->getPrevPageURI(); | $prev_uri = $pager->getPrevPageURI(); | ||||
| if ($prev_uri) { | if ($prev_uri) { | ||||
| $links[] = phutil_tag( | $links[] = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $prev_uri, | 'href' => $prev_uri, | ||||
| ), | ), | ||||
| "\xE2\x80\xB9 " . pht("Newer")); | "\xE2\x80\xB9 " . pht('Newer')); | ||||
| } | } | ||||
| $next_uri = $pager->getNextPageURI(); | $next_uri = $pager->getNextPageURI(); | ||||
| if ($next_uri) { | if ($next_uri) { | ||||
| $links[] = phutil_tag( | $links[] = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $next_uri, | 'href' => $next_uri, | ||||
| ), | ), | ||||
| pht("Older") . " \xE2\x80\xBA"); | pht('Older') . " \xE2\x80\xBA"); | ||||
| } | } | ||||
| $pager_top = phutil_tag( | $pager_top = phutil_tag( | ||||
| 'div', | 'div', | ||||
| array('class' => 'phabricator-chat-log-pager-top'), | array('class' => 'phabricator-chat-log-pager-top'), | ||||
| $links); | $links); | ||||
| $pager_bottom = phutil_tag( | $pager_bottom = phutil_tag( | ||||
| Show All 35 Lines | $log = phutil_tag( | ||||
| ), | ), | ||||
| $table); | $table); | ||||
| $jump_link = phutil_tag( | $jump_link = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => '#latest' | 'href' => '#latest' | ||||
| ), | ), | ||||
| pht("Jump to Bottom") . " \xE2\x96\xBE"); | pht('Jump to Bottom') . " \xE2\x96\xBE"); | ||||
| $jump = phutil_tag( | $jump = phutil_tag( | ||||
| 'div', | 'div', | ||||
| array( | array( | ||||
| 'class' => 'phabricator-chat-log-jump' | 'class' => 'phabricator-chat-log-jump' | ||||
| ), | ), | ||||
| $jump_link); | $jump_link); | ||||
| ▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines | |||||