Project

General

Profile

metacat / lib / style / skins / knb2 / include_searchbox.jsp @ 3106

1
<% 
2
 /**
3
  *  '$RCSfile$'
4
  *      Authors: Matt Jones, CHad Berkley
5
  *    Copyright: 2000 Regents of the University of California and the
6
  *               National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *
9
  *   '$Author: perry $'
10
  *     '$Date: 2006-12-06 15:14:19 -0800 (Wed, 06 Dec 2006) $'
11
  * '$Revision: 3106 $'
12
  * 
13
  * This program is free software; you can redistribute it and/or modify
14
  * it under the terms of the GNU General Public License as published by
15
  * the Free Software Foundation; either version 2 of the License, or
16
  * (at your option) any later version.
17
  *
18
  * This program is distributed in the hope that it will be useful,
19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
  * GNU General Public License for more details.
22
  *
23
  * You should have received a copy of the GNU General Public License
24
  * along with this program; if not, write to the Free Software
25
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
  *
27
  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
28
  * convert an XML file showing the resultset of a query
29
  * into an HTML format suitable for rendering with modern web browsers.
30
  */
31
%>
32
<!-- *********************** START SEARCHBOX TABLE ************************* -->
33
<table width="740" border="0" cellspacing="0" cellpadding="0">
34
  <tr> 
35
    <td width="10" align="right" valign="top"><img src="images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
36
    <td width="720" class="sectionheader">search for data on the 
37
      KNB</td>
38
    <td width="10" align="left" valign="top"><img src="images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
39
  </tr>
40
  <tr> 
41
    <td colspan="3"> <table width="740" border="0" cellpadding="0" cellspacing="0" class="subpanel">
42
        <tr> 
43
          <td colspan="2"></td>
44
        </tr>
45
        <tr valign="baseline"> 
46
          <td colspan="2"><form action="<%=METACAT_URL%>" name="searchForm"
47
                   method="post" target="_top" onSubmit="return allowSearch(this);">
48
              <%=sessionidField%> <%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> 
49
              <table width="100%" border="0" cellpadding="5" cellspacing="0">
50
                <tr> 
51
                  <td width="94" rowspan="2" align="left" valign="top"><img src="images/search.jpg" width="94" height="80"></td>
52
                  <td colspan="2" valign="middle" class="text_example"><p> <%= loginStatus %>&nbsp&nbsp;(<a href="index.jsp#loginanchor" target="_top"><%=loginButtonLabel%></a>).&nbsp; You may search the KNB without 
53
                      being logged into your account, but will have access only 
54
                      to &quot;public&quot; data (see &quot;login &amp; registration&quot;)<br></br> 
55
                      Enter a search phrase (e.g. biodiversity) to search for 
56
                      data sets in the KNB, or click &quot;advanced search &quot; 
57
                      to enter more-detailed search criteria, or simply browse 
58
                      by category using the links below.</p></td>
59
                </tr>
60
                <tr valign="middle"> 
61
                  <td align="right" class="searchcat"> <input type="text" name="anyfield"  size="30" maxlength="200"> 
62
                    &nbsp;&nbsp;</td>
63
                  <td width="365" align="left" class="searchcat"> <input type="submit" value="Search KNB"> 
64
                    &nbsp;&nbsp;&nbsp;<a href="advancedsearch.jsp" target="_top"> 
65
                    &raquo;&nbsp;advanced&nbsp;search&nbsp;&laquo;</a></td>
66
                </tr>
67
              </table>
68
            </form></td>
69
        </tr>
70
        <%
71
/*
72
US Geography
73
------------
74
Northeast, Southeast, South, Midwest, Northwest, Southwest, Pacific Ocean, Atlantic Ocean, 
75
Great Lakes, (could also list states here)
76
*/
77
%>
78
        <tr> 
79
          <td width="375">&nbsp;</td>
80
          <td width="365">&nbsp;</td>
81
        </tr>
82
      </table></td>
83
  </tr>
84
</table>
85
<!-- ************************* END SEARCHBOX TABLE ************************* -->