|
|
|
@ -2700,22 +2700,19 @@ class UserManager |
|
|
|
* |
|
|
|
* |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static function get_search_form($query) { |
|
|
|
public static function get_search_form($query) { |
|
|
|
echo'<form method="get" action="'.api_get_path(WEB_PATH).'main/social/search.php"> |
|
|
|
echo'<form method="GET" action="'.api_get_path(WEB_PATH).'main/social/search.php"> |
|
|
|
|
|
|
|
<table cellspacing="0" cellpadding="0"> |
|
|
|
<table cellspacing="0" cellpadding="0" id="SearchTable"> |
|
|
|
<tr> |
|
|
|
<tbody><tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<div id="SearchQueryChunk"> |
|
|
|
<div id="search_label"> |
|
|
|
<div id="SearchQueryNav"> |
|
|
|
<b>'.get_lang('Search').'</b > ('.get_lang('UsersGroups').') |
|
|
|
<b>'.get_lang('Search').'</b > ('.get_lang('UsersGroups').') |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<input type="text" size="30" value="'.Security::remove_XSS($query).'" tabindex="1" id="standard_q" name="q"/> |
|
|
|
<input type="text" size="30" value="'.Security::remove_XSS($query).'" name="q"/> |
|
|
|
<button class="search" value="search"/>'.get_lang('Search').'</button> |
|
|
|
<button class="search" type="submit" value="search">'.get_lang('Search').'</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody></table></form>'; |
|
|
|
</table></form>'; |
|
|
|
} |
|
|
|
} |
|
|
|
//deprecated |
|
|
|
//deprecated |
|
|
|
public static function get_public_users($keyword, $from = 0, $number_of_items= 20, $column=2, $direction='ASC') { |
|
|
|
public static function get_public_users($keyword, $from = 0, $number_of_items= 20, $column=2, $direction='ASC') { |
|
|
|
|