aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-12-15 14:53:25 +0000
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-12-15 14:53:25 +0000
commit049f08e6ad6d79c06d924e609d2af77a47f0c9c1 (patch)
tree785f1fea22399ef7f48b8818abda3ce7b9ff0e56
parent5f08bd05c3b1f89543172fdcf6e2471e63be4570 (diff)
parentce88f0ab6a98bc2e6afffc44699c23d2d9575057 (diff)
downloadvolse-hubzilla-049f08e6ad6d79c06d924e609d2af77a47f0c9c1.tar.gz
volse-hubzilla-049f08e6ad6d79c06d924e609d2af77a47f0c9c1.tar.bz2
volse-hubzilla-049f08e6ad6d79c06d924e609d2af77a47f0c9c1.zip
Merge pull request #744 from pafcu/searchhelp
Add hint on how to use search box
-rw-r--r--include/nav.php1
-rwxr-xr-xview/tpl/nav.tpl2
-rw-r--r--view/tpl/saved_searches.tpl2
-rw-r--r--view/tpl/suggest_widget.tpl4
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="&#xf002;" 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="&#xf002; {{$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>