aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-08 19:04:07 -0800
committerfriendica <info@friendica.com>2014-03-08 19:04:07 -0800
commit80e381176e1e301782bc56cbb7c6037825eddf2d (patch)
treefa8474d75a1cea5d03c47e7d1b9b7ac15dfcfccc /view/tpl
parentbef416a2d122609cb43b046cfc4211421f4149fd (diff)
downloadvolse-hubzilla-80e381176e1e301782bc56cbb7c6037825eddf2d.tar.gz
volse-hubzilla-80e381176e1e301782bc56cbb7c6037825eddf2d.tar.bz2
volse-hubzilla-80e381176e1e301782bc56cbb7c6037825eddf2d.zip
collapse the advanced directory search so that folks who think they're advanced but really aren't don't whinge about it.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/peoplefind.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl
index 268861781..c1462a9e9 100755
--- a/view/tpl/peoplefind.tpl
+++ b/view/tpl/peoplefind.tpl
@@ -4,12 +4,16 @@
<form action="directory" method="post" />
<input class="icon-search" id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" placeholder="&#xf002;"/>
<input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" />
+ <br />
{{if $advanced_search}}
+ <a href="#" onclick="openClose('advanced-people-search-div'); return false;">{{$advanced_search}}</a>
+ <div id="advanced-people-search-div" style="display: none;">
<input class="icon-search" id="side-peoplefind-url" type="text" name="query" size="24" title="{{$advanced_hint}}" placeholder="&#xf002;"/>
<input id="side-peoplefind-submit" type="submit" name="submit" value="{{$find_advanced}}" />
+ </div>
+ <br />
{{/if}}
</form>
- <br />
{{if $similar}}<a href="match" >{{$similar}}</a><br />{{/if}}
{{if $loggedin}}<a href="suggest" >{{$suggest}}</a><br />{{/if}}
<a href="randprof" >{{$random}}</a><br />