From 345f784f670ed8f41bf0435f1cba8a634597b92d Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 22 May 2014 21:24:41 -0700 Subject: fix search to use in app --- app/search.apd | 3 +++ app/search.png | Bin 0 -> 8544 bytes include/apps.php | 3 ++- include/text.php | 4 ++-- view/css/widgets.css | 7 +++++-- 5 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 app/search.apd create mode 100644 app/search.png diff --git a/app/search.apd b/app/search.apd new file mode 100644 index 000000000..ed48909b4 --- /dev/null +++ b/app/search.apd @@ -0,0 +1,3 @@ +url: $baseurl/search +name: Search +photo: $baseurl/app/search.png diff --git a/app/search.png b/app/search.png new file mode 100644 index 000000000..e483280ec Binary files /dev/null and b/app/search.png differ 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 = '
'; $o .= '
'; $o .= ''; - $o .= ''; + $o .= ''; if(feature_enabled(local_user(),'savedsearch')) - $o .= ''; + $o .= ''; $o .= '
'; return $o; } diff --git a/view/css/widgets.css b/view/css/widgets.css index f42ec65ee..8607cb562 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -45,8 +45,11 @@ margin: 10px 0 7px 0; } -#search-save { - margin: 10px 0 7px 5px; +#netsearch-box #search-save { + margin: 9px 0 7px 6px; +} +.search-save { + margin: 7px 0 7px 7px; } .saved-search-li { -- cgit v1.2.3