Changeset View
Changeset View
Standalone View
Standalone View
src/applications/pholio/view/PholioMockImagesView.php
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | private function calculateBehaviorConfig() { | ||||
); | ); | ||||
$download_icon = array( | $download_icon = array( | ||||
javelin_tag('span', array('aural' => true), pht('Download File')), | javelin_tag('span', array('aural' => true), pht('Download File')), | ||||
id(new PHUIIconView())->setIcon('fa-download'), | id(new PHUIIconView())->setIcon('fa-download'), | ||||
); | ); | ||||
$login_uri = id(new PhutilURI('/login/')) | $login_uri = id(new PhutilURI('/login/')) | ||||
->setQueryParam('next', (string)$this->getRequestURI()); | ->replaceQueryParam('next', (string)$this->getRequestURI()); | ||||
$config = array( | $config = array( | ||||
'mockID' => $mock->getID(), | 'mockID' => $mock->getID(), | ||||
'panelID' => $this->panelID, | 'panelID' => $this->panelID, | ||||
'viewportID' => $this->viewportID, | 'viewportID' => $this->viewportID, | ||||
'commentFormID' => $this->getCommentFormID(), | 'commentFormID' => $this->getCommentFormID(), | ||||
'images' => $images, | 'images' => $images, | ||||
'selectedID' => $selected_id, | 'selectedID' => $selected_id, | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |