root/releases/0.1.1b/units/search/search_user_info_menu.php

Revision 2, 0.8 kB (checked in by sven, 3 years ago)

importing elgg-0.1.1a

Line 
1 <?php
2
3         global $page_owner;
4         $profile_id = $page_owner;
5     
6         $title = "Search";
7
8         $body = <<< END
9         <form style="margin: 0px; padding: 0px" name="searchform" action="/search/all.php">
10              <script language="JavaScript" type="text/javascript">
11                 <!--
12                 function submitthis()
13                 {
14                   document.searchform.submit() ;
15                 }
16                 -->
17             </script>
18             <p align="center">
19                 <input name="tag" type="text" value="" style="width: 110px">&nbsp;<a href="javascript:submitthis()" style="text-decoration: none">&gt;&gt;</a><br />
20                 <a href="/search/tags.php">Random tags</a>
21             </p>
22         </form>
23
24 END;
25
26         $run_result .= "<div class=\"box_search\">";
27         $run_result .= run("templates:draw", array(
28                                 'context' => 'infobox',
29                                 'name' => $title,
30                                 'contents' => $body
31                             )
32                             );
33         $run_result .= "</div>";
34
35 ?>
Note: See TracBrowser for help on using the browser.