Fixing a small css issue in the user class.
[elgg.git] / units / search / search_user_info_menu.php
blob22d4a2d315a30f5d68adeb56e39156cc26e28338
1 <?php
3 global $page_owner;
4 global $CFG;
5 $profile_id = $page_owner;
7 $title = __gettext("Search");
9 $randomTags = __gettext("Random tags"); // gettext variable
11 $body = <<< END
12 <form id="searchform" name="searchform" action="{$CFG->wwwroot}search/all.php">
13 <script language="JavaScript" type="text/javascript">
14 <!--
15 function submitthis()
17 document.searchform.submit() ;
19 -->
20 </script>
21 <ul>
22 <li><input name="tag" type="text" value="" style="width: 110px" />&nbsp;<a href="javascript:submitthis()" style="text-decoration: none">&gt;&gt;</a></li>
23 <li><a href="{$CFG->wwwroot}search/tags.php">$randomTags</a></li>
24 </ul>
25 </form>
27 END;
29 $run_result .= "<li id=\"search\">";
30 $run_result .= templates_draw(array(
31 'context' => 'sidebarholder',
32 'title' => $title,
33 'body' => $body
36 $run_result .= "</li>";