A series of changes to push Elgg's approach to themes in a more CSS driven direction...
[elgg.git] / units / search / search_user_info_menu.php
blob943d693ac8a3abaaa315087de7331e310183ff5e
1 <?php
3 global $page_owner;
4 $profile_id = $page_owner;
6 $title = gettext("Search");
8 $url=url;
9 $randomTags = gettext("Random tags"); // gettext variable
11 $body = <<< END
12 <form id="searchform" name="searchform" action="{$url}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="{$url}search/tags.php">$randomTags</a></li>
24 </ul>
25 </form>
27 END;
29 $run_result .= "<li id=\"search\">";
30 $run_result .= run("templates:draw", array(
31 'context' => 'sidebarholder',
32 'title' => $title,
33 'body' => $body
36 $run_result .= "</li>";