source: trunk/SRC/Documentation/idldoc/templates/search.tt @ 191

Last change on this file since 191 was 69, checked in by smasson, 18 years ago

debug + new xxx

File size: 3.6 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Template needs structure with the following fields:
6       header :
7       styles :
8       version : IDLdoc version
9       date : string containing date of file creation
10       embed : 0 for link to CSS, 1 for embed CSS
11       css_location : if embed then string filename of CSS file location, o/w href to CSS file
12       idldoc_syntax_filename : file containing IDLdoc output for the idldoc routine
13       navbar_filename : filename of navbar template
14       footer : filename of footer file to include
15       tagline_filename : filename of tagline template
16     Plus stuff needed by the templates: navbar, tagline
17-->
18
19<!-- Generated by IDLdoc [% version %] on [% date %] -->
20
21<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
22  <head>
23    <title>Search Library ([% title %])</title>
24
25    [% IF embed %]
26    <style type="text/css" media="all">
27         [% INCLUDE css_location %]
28    </style>   
29    <style type="text/css" media="print">
30         [% INCLUDE print_css_location %]
31    </style>
32    [% ELSE %]
33    <link rel="stylesheet" type="text/css" href="[% root %]/main_files.css" media="all"/>
34    <link rel="stylesheet" type="text/css" href="[% root %]/main_files_print.css" media="print"/>
35    [% END %]
36
37      <script type="text/javascript">
38        function setTitle() {
39          document.formSearch.txtSearch.focus();
40          parent.document.title="Search Library ([% title %])";
41        }
42      </script>
43      <script type="text/javascript" src="./search.js"></script>
44  </head>
45     
46  <body onload="setTitle();">
47   
48    [% INCLUDE_TEMPLATE navbar_filename %]
49   
50    <div id="container">
51         
52      <h1>Search Library</h1>
53
54      <div id="search">
55         
56        <form name="formSearch" action="javascript:startsearch() //">
57          <input class="writein" name="txtSearch" size="50" />&nbsp; <input name="send" type="submit" value="Search" />
58              <table>
59                <tr>
60                  <td>
61                    <input class="checkbox" name="searchTitles" type="checkbox" checked="checked" value="searchTitles" onClick="javascript:toggleSearchTitles() //" />Search titles
62                  </td>
63                  <td>
64                    <input class="checkbox" name="showDescriptions" type="checkbox" checked="checked" value="showDescriptions" onClick="javascript:toggleOmitDescriptions() //" />Show descriptions
65                  </td>
66                </tr>
67                <tr>
68                  <td>
69                    <input class="checkbox" name="searchDescriptions" type="checkbox" checked="checked" value="searchDescriptions" onClick="javascript:toggleSearchDescriptions() //" />Search descriptions
70                  </td>
71                  <td>
72                   
73                    <input class="checkbox" name="sortResults" type="checkbox" checked="checked" value="sortResults" onClick="javascript:toggleSortResults() //" />Sort results by type
74                  </td>
75                </tr>
76                <tr>
77                  <td>
78                    <input class="checkbox" name="searchContents" type="checkbox" checked="checked" value="searchContents" onClick="javascript:toggleSearchContent() //" />Search content
79                  </td>
80                  <td>
81                    <input class="checkbox" name="matchSummary" type="checkbox" checked="checked" value="matchSummary" onClick="javascript:toggleMatchSummary() //" />Match summary
82                  </td>
83                </tr>
84              </table>
85        </form>
86
87        <p>For best results enter just one or two words.  Searches on
88        more than one word will be treated "as a phrase".  Use the
89        asterisk (*) character for wildcard searches.</p>
90
91      </div>
92
93      [% IF footer NE '' %]<div id="footer">[% INCLUDE footer %]</div>[% END %]
94     
95      [% INCLUDE_TEMPLATE tagline_filename %]
96     
97    </div>
98   
99  </body>
100</html>
101
102
103
104
Note: See TracBrowser for help on using the repository browser.