Project

General

Profile

1
<%@ page language="java"%>
2
<%
3
/**
4
 * 
5
 * '$RCSfile$'
6
 * Copyright: 2008 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    '$Author: leinfelder $'
9
 *      '$Date: 2010-08-23 12:37:53 -0700 (Mon, 23 Aug 2010) $'
10
 * '$Revision: 5509 $'
11
 * 
12
 * This program is free software; you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation; either version 2 of the License, or
15
 * (at your option) any later version.
16
 * 
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
     
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
 */  
26
%>
27

    
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30
<html>
31
<head>
32
<title>Semantic search</title>
33
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/semtools/semtools.css">
34
<script type="text/javascript"
35
	src="<%=STYLE_SKINS_URL%>/semtools/search.js"></script>
36

    
37
<script type="text/javascript">
38
                    	    // Set defaults for this installation
39
                    	    //var BP_SEARCH_SERVER = "http://oor-01.cim3.net";
40
                    	    //var BP_SITE = "Sandbox";
41
                    	    //var BP_ORG = "OOR";
42
                    	  </script>
43
<script language="Javascript" type="text/JavaScript"
44
	src="<%=STYLE_SKINS_URL%>/semtools/bioportal/form_complete.js">
45
</script>
46

    
47
<script language="javascript" type="text/javascript" src="<%=STYLE_SKINS_URL%>/semtools/semtools.js"></script>
48
<script language="javascript" type="text/javascript" src="<%=STYLE_COMMON_URL%>/branding.js"></script>
49

    
50
</head>
51
<body>
52
<script language="javascript">
53
	insertTemplateOpening("<%=CONTEXT_URL%>");
54
</script>
55

    
56
<h2>Concept search</h2>
57

    
58
<form method="POST" action="<%=SERVLET_URL%>" target="_top" id="searchForm" name="searchForm" onSubmit="return checkSearch(this)">
59
	<input name="query" type="hidden" />
60
	<input name="qformat" value="semtools" type="hidden" />
61
	<input name="action" value="squery" type="hidden" />
62

    
63
	<table>
64
		<tr>
65
			<td>Entity: (SBC only)</td>
66
			<td><input type="text" name="entity" class="bp_form_complete-1523-uri" size="100" /></td>
67
		</tr>
68
		<tr>
69
			<td>Characteristic: (all)</td>
70
			<td><input type="text" name="characteristic" class="bp_form_complete-all-uri" size="100" /></td>
71
		</tr>
72
		<tr>
73
			<td>Standard: (all)</td>
74
			<td><input type="text" name="standard" class="bp_form_complete-all-uri" size="100" /></td>
75
		</tr>
76
		<tr>
77
			<td>Protocol: (all)</td>
78
			<td><input type="text" name="protocol" class="bp_form_complete-all-uri" size="100" /></td>
79
		</tr>
80
		<tr>
81
			<td colspan="2"><input type="submit" value="Search"/></td>
82
		</tr>
83
	</table>
84
</form>
85

    
86
<h2>Ontology search</h2>
87
<div id="bp_quick_jump"></div>
88
<script type="text/javascript">
89
    var BP_ontology_id = "all";
90
</script>
91
<script src="<%=STYLE_SKINS_URL%>/semtools/bioportal/quick_jump.js" type="text/javascript" charset="utf-8">
92
</script>
93

    
94
<h2>Tree browser</h2>
95

    
96
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
97
	id="OntologyTree" width="300" height="100%"
98
	codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
99
	<param name="movie" value="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" />
100
	<param name="quality" value="high" />
101
	<param name="bgcolor" value="#ffffff" />
102
	<param name="allowScriptAccess" value="always" />
103
	<param name="flashVars" value="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true" />
104
	<embed src="http://keg.cs.uvic.ca/ncbo/ontologytree/OntologyTree.swf" quality="high" bgcolor="#ffffff"
105
		width="300" height="100%" name="OntologyTree" align="middle"
106
		play="true"
107
		loop="false"
108
		allowScriptAccess="always"
109
		type="application/x-shockwave-flash"
110
		flashVars="ontology=1523&alerterrors=false&canchangeontology=false&virtual=true"
111
		pluginspage="http://www.adobe.com/go/getflashplayer">
112
	</embed>
113
</object>
114

    
115
<!-- Included default search/login -->
116
<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
117
<script language="javascript">
118
	insertMap("<%=CONTEXT_URL%>");
119
</script>
120
<br/>
121
<% } %>
122
  
123
<script language="javascript">
124
	insertSearchBox("<%=CONTEXT_URL%>");
125
	insertLoginBox("<%=CONTEXT_URL%>");	
126
</script>
127

    
128
<script language="javascript">
129
	insertTemplateClosing("<%=CONTEXT_URL%>");
130
</script>
131

    
132
</body>
133
</html>
(9-9/19)