Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionController.php
| Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | abstract class DiffusionController extends PhabricatorController { | ||||
| protected function renderPathLinks(DiffusionRequest $drequest, $action) { | protected function renderPathLinks(DiffusionRequest $drequest, $action) { | ||||
| $path = $drequest->getPath(); | $path = $drequest->getPath(); | ||||
| $path_parts = array_filter(explode('/', trim($path, '/'))); | $path_parts = array_filter(explode('/', trim($path, '/'))); | ||||
| $divider = phutil_tag( | $divider = phutil_tag( | ||||
| 'span', | 'span', | ||||
| array( | array( | ||||
| 'class' => 'phui-header-divider'), | 'class' => 'phui-header-divider', | ||||
| ), | |||||
| '/'); | '/'); | ||||
| $links = array(); | $links = array(); | ||||
| if ($path_parts) { | if ($path_parts) { | ||||
| $links[] = phutil_tag( | $links[] = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $drequest->generateURI( | 'href' => $drequest->generateURI( | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||