aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-22 21:24:41 -0700
committerfriendica <info@friendica.com>2014-05-22 21:24:41 -0700
commit345f784f670ed8f41bf0435f1cba8a634597b92d (patch)
treecaebe7246bdf64a57ad40f3f782d5dfc03f0e634 /include
parent39d5f2abcfbeabb2e7d1483dfb753eda8882b35b (diff)
downloadvolse-hubzilla-345f784f670ed8f41bf0435f1cba8a634597b92d.tar.gz
volse-hubzilla-345f784f670ed8f41bf0435f1cba8a634597b92d.tar.bz2
volse-hubzilla-345f784f670ed8f41bf0435f1cba8a634597b92d.zip
fix search to use in app
Diffstat (limited to 'include')
-rw-r--r--include/apps.php3
-rwxr-xr-xinclude/text.php4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/apps.php b/include/apps.php
index ab09ff531..6897669d6 100644
--- a/include/apps.php
+++ b/include/apps.php
@@ -130,7 +130,8 @@ function translate_system_apps(&$arr) {
'Mail' => t('Mail'),
'Mood' => t('Mood'),
'Poke' => t('Poke'),
- 'Chat' => t('Chat')
+ 'Chat' => t('Chat'),
+ 'Search' => t('Search')
);
if(array_key_exists($arr['name'],$apps))
diff --git a/include/text.php b/include/text.php
index 0e136fe8e..b249c9767 100755
--- a/include/text.php
+++ b/include/text.php
@@ -810,9 +810,9 @@ function search($s,$id='search-box',$url='/search',$save = false) {
$o = '<div id="' . $id . '">';
$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') . '" />';
+ $o .= '<input class="search-submit btn btn-default" type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />';
if(feature_enabled(local_user(),'savedsearch'))
- $o .= '<input type="submit" name="save" id="search-save" value="' . t('Save') . '" />';
+ $o .= '<input class="search-save btn btn-default" type="submit" name="save" id="search-save" value="' . t('Save') . '" />';
$o .= '</form></div>';
return $o;
}