aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-12-10 00:32:49 +0100
committermarijus <mario@localhost.localdomain>2013-12-10 00:32:49 +0100
commit76d8501d671ae7d4234f1a905cd0e506c7f9b23e (patch)
tree3731b6a86621be0f706954a85dd6016793918b2c /include
parent75ebf06131e935795b7072acc012c9e37669eade (diff)
downloadvolse-hubzilla-76d8501d671ae7d4234f1a905cd0e506c7f9b23e.tar.gz
volse-hubzilla-76d8501d671ae7d4234f1a905cd0e506c7f9b23e.tar.bz2
volse-hubzilla-76d8501d671ae7d4234f1a905cd0e506c7f9b23e.zip
saved search icon work and bugfixes for #tags not beeing deletable and save button showing if saved search is disabled
Diffstat (limited to 'include')
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 9254508a4..f425690ba 100755
--- a/include/text.php
+++ b/include/text.php
@@ -734,7 +734,7 @@ function search($s,$id='search-box',$url='/search',$save = false) {
$o .= '<form action="' . $a->get_baseurl((stristr($url,'network')) ? true : false) . $url . '" method="get" >';
$o .= '<input type="text" class="icon-search" name="search" id="search-text" placeholder="&#xf002;" value="' . $s .'" onclick="this.submit();" />';
$o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />';
- if($save)
+ if(feature_enabled(local_user(),'savedsearch'))
$o .= '<input type="submit" name="save" id="search-save" value="' . t('Save') . '" />';
$o .= '</form></div>';
return $o;