Changeset View
Changeset View
Standalone View
Standalone View
src/view/page/menu/PhabricatorMainMenuSearchView.php
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | $primary_input = phutil_tag( | ||||
'name' => 'search:primary', | 'name' => 'search:primary', | ||||
'value' => 'true', | 'value' => 'true', | ||||
)); | )); | ||||
$form = phabricator_form( | $form = phabricator_form( | ||||
$user, | $user, | ||||
array( | array( | ||||
'action' => '/search/', | 'action' => '/search/', | ||||
'method' => 'POST', | |||||
), | ), | ||||
phutil_tag_div('phabricator-main-menu-search-container', array( | phutil_tag_div('phabricator-main-menu-search-container', array( | ||||
$input, | $input, | ||||
phutil_tag( | phutil_tag( | ||||
'button', | 'button', | ||||
array('id' => $button_id), | array('id' => $button_id), | ||||
pht('Search')), | pht('Search')), | ||||
$primary_input, | $primary_input, | ||||
$target, | $target, | ||||
))); | ))); | ||||
return $form; | return $form; | ||||
} | } | ||||
} | } |