diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-14 18:40:59 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-14 18:40:59 +0100 |
commit | ce88f0ab6a98bc2e6afffc44699c23d2d9575057 (patch) | |
tree | eb07e0a91976e88290b57395486ad54c72ce8405 | |
parent | 513efc8928b52d0a24ed588f9a3bd49eae3ffe9e (diff) | |
download | volse-hubzilla-ce88f0ab6a98bc2e6afffc44699c23d2d9575057.tar.gz volse-hubzilla-ce88f0ab6a98bc2e6afffc44699c23d2d9575057.tar.bz2 volse-hubzilla-ce88f0ab6a98bc2e6afffc44699c23d2d9575057.zip |
Add hint on how to use search box
-rw-r--r-- | include/nav.php | 1 | ||||
-rwxr-xr-x | view/tpl/nav.tpl | 2 | ||||
-rw-r--r-- | view/tpl/saved_searches.tpl | 2 | ||||
-rw-r--r-- | view/tpl/suggest_widget.tpl | 4 |
4 files changed, 5 insertions, 4 deletions
diff --git a/include/nav.php b/include/nav.php index 9a9dfd6d6..a9bff4b29 100644 --- a/include/nav.php +++ b/include/nav.php @@ -259,6 +259,7 @@ $powered_by = ''; '$localuser' => local_user(), '$sel' => $a->nav_sel, '$powered_by' => $powered_by, + '$help' => t('@name, #tag, content'), '$pleasewait' => t('Please wait...') )); diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index e87049f26..4241c0a92 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -165,7 +165,7 @@ <ul class="nav navbar-nav navbar-right"> <li class="hidden-xs"> <form method="get" action="search" role="search"> - <div id="nav-search-spinner"></div><input class="icon-search" id="nav-search-text" type="text" value="" placeholder="" name="search" title="{{$nav.search.3}}" onclick="this.submit();"/> + <div id="nav-search-spinner"></div><input class="icon-search" id="nav-search-text" type="text" value="" placeholder=" {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();"/> </form> </li> <li class="visible-xs"> diff --git a/view/tpl/saved_searches.tpl b/view/tpl/saved_searches.tpl index ee797ea9d..73987f192 100644 --- a/view/tpl/saved_searches.tpl +++ b/view/tpl/saved_searches.tpl @@ -1,4 +1,4 @@ -<div class="widget"> +<div class="widget saved-search-widget"> <h3 id="search">{{$title}}</h3> {{$searchbox}} diff --git a/view/tpl/suggest_widget.tpl b/view/tpl/suggest_widget.tpl index eba8b496e..7b9afa668 100644 --- a/view/tpl/suggest_widget.tpl +++ b/view/tpl/suggest_widget.tpl @@ -1,4 +1,4 @@ -<div class="widget"> +<div class="widget suggestions-widget"> <h3>{{$title}}</h3> {{if $entries}} {{foreach $entries as $child}} @@ -7,4 +7,4 @@ {{/if}} <div class="clear"></div> <div class="suggest-widget-more"><a href="suggest">{{$more}}</a></div> -</div>
\ No newline at end of file +</div> |