-
Notifications
You must be signed in to change notification settings - Fork 35
/
Save.jsp
59 lines (46 loc) · 2.3 KB
/
Save.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<%@ include file="Prelude.jsp" %>
<HTML>
<HEAD>
<TITLE>Sigma KB Save As</TITLE>
<style>@import url(kifb.css);</style>
</HEAD>
<BODY BGCOLOR=#FFFFFF>
<table width=95% cellspacing=0 cellpadding=0><tr><td valign="top">
<table cellspacing=0 cellpadding=0><tr><td align="left" valign="top">
<img src="pixmaps/sigmaSymbol-gray.gif"></td><td> </td><td align="left" valign="top">
<img src="pixmaps/logoText-gray.gif"><BR> <font COLOR=teal></font></td></tr></table></td>
<td valign="bottom"></td><td>
<font face="Arial,helvetica"><b>[ <A href="home.jsp">Help</A> ]</b></FONT></td></tr></table>
<br><table ALIGN="LEFT" WIDTH=80%><tr><TD BGCOLOR='#AAAAAA'><IMG SRC='pixmaps/1pixel.gif' width=1 height=1 border=0></TD></tr></table><BR>
<%
/** This code is copyright Articulate Software (c) 2003. Some portions
copyright Teknowledge (c) 2003 and reused under the terms of the GNU license.
This software is released under the GNU Public License <http://www.gnu.org/copyleft/gpl.html>.
Users of this code also consent, by use of this code, to credit Articulate Software
and Teknowledge in any writings, briefings, publications, presentations, or
other representations of any software which incorporates, builds on, or uses this
code. Please cite the following article in any publication with references:
Pease, A., (2003). The Sigma Ontology Development Environment,
in Working Notes of the IJCAI-2003 Workshop on Ontology and Distributed Systems,
August 9, Acapulco, Mexico. See also sigmakee.sourceforge.net
*/
if (role == null || !role.equalsIgnoreCase("admin"))
response.sendRedirect("KBs.jsp");
String skbName = request.getParameter("skb");
String[] formats = new String[3];
formats[0] = "KIF";
formats[1] = "PROTEGE";
formats[2] = "DAML";
%>
<FORM action="Util.jsp">
SKB: <%= Util.genSelector( SKBMgr.getDefaultSKBMgr().getSKBKeys(), skbName, "skb") %>
<h4> To Save as </h4>
<font face="Arial,helvetica"><b>File Format: </b></font>
<%= Util.genSelector( formats, formats[0], "format") %>
<INPUT type="hidden" name="req" value="save_as">
<INPUT type="submit" name="action" value="Save">
</FORM>
<br><table ALIGN="LEFT" WIDTH=80%><tr><TD BGCOLOR='#AAAAAA'><IMG SRC='pixmaps/1pixel.gif' width=1 height=1 border=0></TD></tr></table><BR>
<%@ include file="Postlude.jsp" %>
</BODY>
</HTML>