aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-26 17:47:33 -0700
committerFriendika <info@friendika.com>2011-05-26 17:47:33 -0700
commit341f853b042f0f4dcdc5e256c46a25c402d2de2e (patch)
treecb337a534cad645820a3634fc7e57399d6409f26 /boot.php
parent7acb8fa6e7144435b81b57e3ad949846b1cbb68d (diff)
downloadvolse-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index c567533c1..7d96eac9f 100644
--- a/boot.php
+++ b/boot.php
@@ -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>';