Revision 2651
Added by sgarg about 19 years ago
lib/style/skins/esa/moderator.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* '$RCSfile$' |
|
3 |
* Authors: Matt Jones |
|
4 |
* Copyright: 2000 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* |
|
8 |
* '$Author$' |
|
9 |
* '$Date$' |
|
10 |
* '$Revision$' |
|
11 |
* |
|
12 |
* This is an HTML document for displaying metadata catalog tools |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or modify |
|
15 |
* it under the terms of the GNU General Public License as published by |
|
16 |
* the Free Software Foundation; either version 2 of the License, or |
|
17 |
* (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
27 |
--> |
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
29 |
<html> |
|
30 |
<head> |
|
31 |
<title>ESA Data Repository</title> |
|
32 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="@systemidserver@@style-skins-path@/esa/esa.css"></link> |
|
35 |
<script language="JavaScript" type="text/JavaScript" |
|
36 |
src="@systemidserver@@style-skins-path@/esa/esa.js"></script> |
|
37 |
<script language="JavaScript" type="text/JavaScript" |
|
38 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
39 |
</head> |
|
40 |
<body> |
|
41 |
<script language="JavaScript"> |
|
42 |
insertTemplateOpening(); |
|
43 |
insertSearchBox(); |
|
44 |
</script> |
|
45 |
<b>Login Page for Moderators</b> |
|
46 |
<br /> |
|
47 |
<menu> |
|
48 |
<form name="loginform" method="post" action="@servlet-path@" |
|
49 |
target="_top" id="loginform"> |
|
50 |
<input type="hidden" name="action" value="login"> <input type= |
|
51 |
"hidden" name="username" value=""> <input type="hidden" name= |
|
52 |
"qformat" value="esa"> <input type="hidden" name= |
|
53 |
"enableediting" value="false"> |
|
54 |
|
|
55 |
<table> |
|
56 |
<tr valign="middle"> |
|
57 |
<td align="left" valign="middle" class="text_plain"> |
|
58 |
username:</td> |
|
59 |
|
|
60 |
<td width="173" align="left" class="text_plain" style= |
|
61 |
"padding-top: 2px; padding-bottom: 2px;"><input name="uid" |
|
62 |
type="text" style="width: 140px;" value=""></td> |
|
63 |
</tr> |
|
64 |
|
|
65 |
<tr valign="middle"> |
|
66 |
<td height="28" align="left" valign="middle" class= |
|
67 |
"text_plain">organization:</td> |
|
68 |
|
|
69 |
<td align="left" class="text_plain" style= |
|
70 |
"padding-top: 2px; padding-bottom: 2px;"><select name= |
|
71 |
"organization" style="width:140px;"> |
|
72 |
<option value="NCEAS">NCEAS</option> |
|
73 |
</select></td> |
|
74 |
</tr> |
|
75 |
|
|
76 |
<tr valign="middle"> |
|
77 |
<td width="85" align="left" valign="middle" class= |
|
78 |
"text_plain">password:</td> |
|
79 |
|
|
80 |
<td colspan="2" align="left" class="text_plain" style= |
|
81 |
"padding-top: 2px; padding-bottom: 2px;"> |
|
82 |
<table width="100%" border="0" cellpadding="0" |
|
83 |
cellspacing="0"> |
|
84 |
<tr> |
|
85 |
<td width="150" align="left"><input name="password" |
|
86 |
type="password" maxlength="50" style="width:140px;" |
|
87 |
value=""></td> |
|
88 |
|
|
89 |
<td align="center" class="buttonBG_login"> |
|
90 |
<input type="submit" name="loginAction" value="Login" |
|
91 |
class="button_login"></td> |
|
92 |
|
|
93 |
<td align="left"> </td> |
|
94 |
</tr> |
|
95 |
</table> |
|
96 |
</td> |
|
97 |
</tr> |
|
98 |
</table> |
|
99 |
</form> |
|
100 |
</menu> |
|
101 |
</li> |
|
102 |
<p> </p> |
|
103 |
<script language="JavaScript"> |
|
104 |
insertTemplateClosing(); |
|
105 |
</script> |
|
106 |
</body> |
|
107 |
</html> |
|
0 | 108 |
lib/style/skins/esa/esa.xml | ||
---|---|---|
10 | 10 |
<!-- |
11 | 11 |
ARE THESE STILL NEEDED???????????? |
12 | 12 |
|
13 |
<doctype publicid="-//NCEAS//login//EN"> |
|
14 |
<target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/login.xsl</target> |
|
15 |
</doctype> |
|
16 | 13 |
|
17 | 14 |
<doctype publicid="-//NCEAS//eml-generic//EN"> |
18 | 15 |
<target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/generic-morpho.xsl</target> |
19 | 16 |
</doctype> |
20 | 17 |
--> |
21 | 18 |
|
19 |
<doctype publicid="-//NCEAS//login//EN"> |
|
20 |
<target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/esa/login.xsl</target> |
|
21 |
</doctype> |
|
22 | 22 |
|
23 | 23 |
<!-- pre-beta6 modules --> |
24 | 24 |
<!-- NOTE these settings are unchanged from the previous version - only the xsl |
lib/style/skins/esa/login.xsl | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!-- |
|
3 |
* '$RCSfile$' |
|
4 |
* Authors: Jivka Bojilova |
|
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$' |
|
10 |
* '$Date$' |
|
11 |
* '$Revision$' |
|
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 with information about login action |
|
29 |
* into an HTML format suitable for rendering with modern web browsers. |
|
30 |
--> |
|
31 |
|
|
32 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
33 |
|
|
34 |
<xsl:output method="html"/> |
|
35 |
<xsl:param name="sessid"/> |
|
36 |
<xsl:param name="qformat">default</xsl:param> |
|
37 |
<xsl:param name="enableediting">false</xsl:param> |
|
38 |
<xsl:template match="/"> |
|
39 |
<html> |
|
40 |
<head> |
|
41 |
<link rel="stylesheet" type="text/css" |
|
42 |
href="@style-skins-path@/esa/esa.css" /> |
|
43 |
<script language="Javascript" type="text/JavaScript" |
|
44 |
src="@style-skins-path@/esa/esa.js" /> |
|
45 |
<script language="Javascript" type="text/JavaScript" |
|
46 |
src="@style-common-path@/branding.js" /> |
|
47 |
</head> |
|
48 |
|
|
49 |
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> |
|
50 |
<script language="JavaScript"> |
|
51 |
insertTemplateOpening(); |
|
52 |
insertSearchBox(); |
|
53 |
</script> |
|
54 |
<xsl:if test="count(login) > 0"> |
|
55 |
<script language="JavaScript"> |
|
56 |
<![CDATA[ |
|
57 |
window.location="@servlet-path@?action=squery&qformat=esa&query=<pathquery version=\"1.2\"><querytitle>Moderator-Search</querytitle><returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype><returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype><returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype><returndoctype>-//NCEAS//resource//EN</returndoctype><returndoctype>-//NCEAS//eml-dataset//EN</returndoctype><returnfield>originator/individualName/surName</returnfield><returnfield>originator/individualName/givenName</returnfield><returnfield>creator/individualName/surName</returnfield><returnfield>creator/individualName/givenName</returnfield><returnfield>originator/organizationName</returnfield><returnfield>creator/organizationName</returnfield><returnfield>dataset/title</returnfield><returnfield>keyword</returnfield><querygroup operator=\"INTERSECT\"><queryterm searchmode=\"not-contains\" casesensitive=\"false\"><value>public</value><pathexpr>dataset/access/allow/principal</pathexpr></queryterm></querygroup></pathquery>" |
|
58 |
]]> |
|
59 |
</script> |
|
60 |
</xsl:if> |
|
61 |
<xsl:if test="count(unauth_login) > 0"> |
|
62 |
<p class="text_plain"><xsl:value-of select="unauth_login/message" /></p> |
|
63 |
</xsl:if> |
|
64 |
<p class="text_plain">Return to the <a href="@systemidserver@@style-skins-path@/esa/" target="_top">Registry home</a>. |
|
65 |
</p> |
|
66 |
<script language="JavaScript"> |
|
67 |
insertTemplateClosing(); |
|
68 |
</script> |
|
69 |
</body> |
|
70 |
</html> |
|
71 |
</xsl:template> |
|
72 |
|
|
73 |
</xsl:stylesheet> |
|
74 |
|
|
0 | 75 |
Also available in: Unified diff
New files and modification of esa.xml for the new moderation facility for esa skin.