root/devel-backup/units/search/search_user_info_menu.php

Revision 85, 0.9 kB (checked in by sven, 3 years ago)

fixed some html and some whitespace. more defaulting to default icon.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3         global $page_owner;
4         $profile_id = $page_owner;
5     
6         $title = gettext("Search");
7
8         $url=url;
9         $randomTags = gettext("Random tags"); // gettext variable
10         
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()
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="{$url}search/tags.php">$randomTags</a></li>
24             </ul>
25         </form>
26
27 END;
28
29         $run_result .= "<li id=\"search\">";
30         $run_result .= run("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.