root/devel/mod/search/lib/search_user_info_menu.php

Revision 1539, 1.2 kB (checked in by renato, 1 year ago)

Setting prop svn:eol-style in LOTS of files.

  • Property svn:mime-type set to text/plain
  • Property svn:eol-style set to native
Line 
1 <?php
2
3     global $page_owner;
4     global $CFG;
5     $profile_id = $page_owner;
6
7     $title = __gettext("Search");
8
9     $randomTags = __gettext("Random tags"); // gettext variable
10    
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()
16                 {
17                   document.searchform.submit() ;
18                 }
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>
26
27 END;
28
29     $run_result .= "<li id=\"search\">";
30     $run_result .= templates_draw(array(
31                                         'context' => 'sidebarholder',
32                                         'title' => $title,
33                                         'body' => $body
34                                         )
35                                         );
36     $run_result .= "</li>";
37
38 ?>
Note: See TracBrowser for help on using the browser.