diff options
author | Friendika <info@friendika.com> | 2011-05-26 17:47:33 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-26 17:47:33 -0700 |
commit | 341f853b042f0f4dcdc5e256c46a25c402d2de2e (patch) | |
tree | cb337a534cad645820a3634fc7e57399d6409f26 /boot.php | |
parent | 7acb8fa6e7144435b81b57e3ad949846b1cbb68d (diff) | |
download | volse-hubzilla-341f853b042f0f4dcdc5e256c46a25c402d2de2e.tar.gz volse-hubzilla-341f853b042f0f4dcdc5e256c46a25c402d2de2e.tar.bz2 volse-hubzilla-341f853b042f0f4dcdc5e256c46a25c402d2de2e.zip |
search from network page
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2106,10 +2106,10 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { if(! function_exists('search')) { -function search($s) { +function search($s,$id='search-box',$url='/search') { $a = get_app(); - $o = '<div id="search-box">'; - $o .= '<form action="' . $a->get_baseurl() . '/search' . '" method="get" >'; + $o = '<div id="' . $id . '">'; + $o .= '<form action="' . $a->get_baseurl() . $url . '" method="get" >'; $o .= '<input type="text" name="search" id="search-text" value="' . $s .'" />'; $o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />'; $o .= '</form></div>'; |