From ed9f10872240231125007cf32b95007281558cac Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Dec 2013 21:20:55 -0800 Subject: comanchify the savedsearch widget --- include/text.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index f425690ba..aa23f96b0 100755 --- a/include/text.php +++ b/include/text.php @@ -741,6 +741,20 @@ function search($s,$id='search-box',$url='/search',$save = false) { } +function searchbox($s,$id='search-box',$url='/search',$save = false) { + $a = get_app(); + $o = '
'; + $o .= '
'; + $o .= ''; + $o .= ''; + $o .= ''; + if(feature_enabled(local_user(),'savedsearch')) + $o .= ''; + $o .= '
'; + return $o; +} + + function valid_email($x){ if(get_config('system','disable_email_validation')) -- cgit v1.2.3