X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsearch.php;h=ac848a0ceced8af051aee13655c98c95155d61f3;hb=286578542f5bbd4695904103cee7d90eecf8087f;hp=300eb912c13c59412786c36b6c6a9c98974d6959;hpb=9bf8efc45f51455257410c98c827002551bd330d;p=friendica.git diff --git a/mod/search.php b/mod/search.php index 300eb912c1..ac848a0cec 100644 --- a/mod/search.php +++ b/mod/search.php @@ -9,13 +9,26 @@ function search_saved_searches() { ); if(count($r)) { - $o .= '
'; - $o .= '

' . t('Saved Searches') . '

' . "\r\n"; - $o .= '
' . "\r\n"; + + + $tpl = get_markup_template("saved_searches_aside.tpl"); + + $o .= replace_macros($tpl, array( + '$title' => t('Saved Searches'), + '$add' => '', + '$searchbox' => '', + '$saved' => $saved, + )); } return $o; @@ -80,9 +93,7 @@ function search_content(&$a) { require_once('include/security.php'); require_once('include/conversation.php'); - $o = '' . "\r\n"; - - $o .= '

' . t('Search') . '

'; + $o = '

' . t('Search') . '

'; if(x($a->data,'search')) $search = notags(trim($a->data['search']));