diff options
author | marijus <mario@mariovavti.com> | 2014-11-12 10:27:13 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-11-12 10:27:13 +0100 |
commit | 1ed144b83c3cefb685dfff37fd7d415bf5a2ffdb (patch) | |
tree | eaa6d615f1206fa8a577e5080a6cb9232b62ef4d /view | |
parent | ada2e43ea27feab8be956c01bf3ef13c8ce49049 (diff) | |
download | volse-hubzilla-1ed144b83c3cefb685dfff37fd7d415bf5a2ffdb.tar.gz volse-hubzilla-1ed144b83c3cefb685dfff37fd7d415bf5a2ffdb.tar.bz2 volse-hubzilla-1ed144b83c3cefb685dfff37fd7d415bf5a2ffdb.zip |
make search and advanced search use the same input form
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/peoplefind.tpl | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index 6ec37539b..2f23948c8 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -1,25 +1,15 @@ <div id="peoplefind-sidebar" class="widget"> <h3>{{$findpeople}}</h3> <form action="directory" method="post" /> - <div class="form-group"> - <div class="input-group"> - <input class="widget-input" type="text" name="search" title="{{$hint}}" placeholder="{{$desc}}" /> - <div class="input-group-btn"> - <button class="btn btn-default btn-sm" type="submit" name="submit"><i class="icon-search"></i></button> - </div> - </div> - </div> - {{if $advanced_search}} - <div class="form-group"> - <div id="advanced-people-search-div" class="input-group"> - <input class="widget-input" type="text" name="query" title="{{$advanced_hint}}" placeholder="{{$find_advanced}}" /> + <div class="form-group"> + <div class="input-group"> + <input class="widget-input" type="text" name="search" title="{{$hint}}{{if $advanced_search}}{{$advanced_hint}}{{/if}}" placeholder="{{$desc}}" /> <div class="input-group-btn"> - <button class="btn btn-default btn-sm" type="submit" name="submit"><i class="icon-search"></i></button> + <button class="btn btn-default btn-sm" type="submit" name="submit"><i class="icon-search"></i></button> + </div> </div> </div> - </div> - {{/if}} -</form> + </form> <ul class="nav nav-pills nav-stacked"> {{if $similar}}<li><a href="match" >{{$similar}}</a></li>{{/if}} {{if $loggedin}}<li><a href="suggest" >{{$suggest}}</a></li>{{/if}} |