1 |
2651
|
sgarg
|
<!--
|
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 |
2655
|
sgarg
|
|
40 |
|
|
<script language="JavaScript" type="text/javascript">
|
41 |
|
|
function submitform(formObj) {
|
42 |
|
|
|
43 |
|
|
if (trim(formObj.elements["loginAction"].value)!="Login") return true;
|
44 |
|
|
//trim username & passwd:
|
45 |
|
|
var username = trim(formObj.elements["uid"].value);
|
46 |
|
|
var organization = trim(formObj.elements["organization"].value);
|
47 |
|
|
var password = trim(formObj.elements["password"].value);
|
48 |
|
|
|
49 |
|
|
if (username=="") {
|
50 |
|
|
alert("You must type a username. \n"+popupMsg);
|
51 |
|
|
formObj.elements["uid"].focus();
|
52 |
|
|
return false;
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
if (organization=="") {
|
56 |
|
|
alert("You must select an organization. \n"+popupMsg);
|
57 |
|
|
formObj.elements["organization"].focus();
|
58 |
|
|
return false;
|
59 |
|
|
}
|
60 |
|
|
|
61 |
|
|
if (password=="") {
|
62 |
|
|
alert("You must type a password. \n"+popupMsg);
|
63 |
|
|
formObj.elements["password"].focus();
|
64 |
|
|
return false;
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
formObj.username.value="uid="+formObj.elements["uid"].value+",o="+formObj.elements["organization"].value+",dc=ecoinformatics,dc=org";
|
68 |
|
|
return true;
|
69 |
|
|
}
|
70 |
|
|
|
71 |
|
|
function trim(stringToTrim) {
|
72 |
|
|
return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
|
73 |
|
|
}
|
74 |
|
|
|
75 |
|
|
</script>
|
76 |
|
|
|
77 |
2651
|
sgarg
|
</head>
|
78 |
|
|
<body>
|
79 |
|
|
<script language="JavaScript">
|
80 |
|
|
insertTemplateOpening();
|
81 |
|
|
insertSearchBox();
|
82 |
|
|
</script>
|
83 |
|
|
<b>Login Page for Moderators</b>
|
84 |
|
|
<br />
|
85 |
|
|
<menu>
|
86 |
2655
|
sgarg
|
<form name="loginform" method="post" action="@servlet-path@"
|
87 |
|
|
target="_top" onsubmit="return submitform(this);" id="loginform">
|
88 |
2651
|
sgarg
|
<input type="hidden" name="action" value="login"> <input type=
|
89 |
|
|
"hidden" name="username" value=""> <input type="hidden" name=
|
90 |
|
|
"qformat" value="esa"> <input type="hidden" name=
|
91 |
|
|
"enableediting" value="false">
|
92 |
|
|
|
93 |
|
|
<table>
|
94 |
|
|
<tr valign="middle">
|
95 |
|
|
<td align="left" valign="middle" class="text_plain">
|
96 |
|
|
username:</td>
|
97 |
|
|
|
98 |
|
|
<td width="173" align="left" class="text_plain" style=
|
99 |
|
|
"padding-top: 2px; padding-bottom: 2px;"><input name="uid"
|
100 |
|
|
type="text" style="width: 140px;" value=""></td>
|
101 |
|
|
</tr>
|
102 |
|
|
|
103 |
|
|
<tr valign="middle">
|
104 |
|
|
<td height="28" align="left" valign="middle" class=
|
105 |
|
|
"text_plain">organization:</td>
|
106 |
|
|
|
107 |
|
|
<td align="left" class="text_plain" style=
|
108 |
|
|
"padding-top: 2px; padding-bottom: 2px;"><select name=
|
109 |
|
|
"organization" style="width:140px;">
|
110 |
2655
|
sgarg
|
<option value="" selected>— choose one —</option>
|
111 |
|
|
<option value="NCEAS" >NCEAS</option>
|
112 |
3117
|
tao
|
<option value="LTER" >LTER</option>
|
113 |
|
|
<option value="KU" >KU</option>
|
114 |
|
|
<option value="OBFS" >OBFS</option>
|
115 |
|
|
<option value="OSUSB" >OSUSB</option>
|
116 |
2655
|
sgarg
|
<option value="PISCO" >PISCO</option>
|
117 |
|
|
<option value="SDSC" >SDSC</option>
|
118 |
3117
|
tao
|
<option value="UCNRS" >UCNRS</option>
|
119 |
2655
|
sgarg
|
<option value="unaffiliated">unaffiliated</option>
|
120 |
2651
|
sgarg
|
</select></td>
|
121 |
|
|
</tr>
|
122 |
|
|
|
123 |
|
|
<tr valign="middle">
|
124 |
|
|
<td width="85" align="left" valign="middle" class=
|
125 |
|
|
"text_plain">password:</td>
|
126 |
|
|
|
127 |
|
|
<td colspan="2" align="left" class="text_plain" style=
|
128 |
|
|
"padding-top: 2px; padding-bottom: 2px;">
|
129 |
|
|
<table width="100%" border="0" cellpadding="0"
|
130 |
|
|
cellspacing="0">
|
131 |
|
|
<tr>
|
132 |
|
|
<td width="150" align="left"><input name="password"
|
133 |
|
|
type="password" maxlength="50" style="width:140px;"
|
134 |
|
|
value=""></td>
|
135 |
|
|
|
136 |
|
|
<td align="center" class="buttonBG_login">
|
137 |
|
|
<input type="submit" name="loginAction" value="Login"
|
138 |
|
|
class="button_login"></td>
|
139 |
|
|
|
140 |
|
|
<td align="left"> </td>
|
141 |
|
|
</tr>
|
142 |
|
|
</table>
|
143 |
|
|
</td>
|
144 |
|
|
</tr>
|
145 |
|
|
</table>
|
146 |
|
|
</form>
|
147 |
2655
|
sgarg
|
|
148 |
2651
|
sgarg
|
</menu>
|
149 |
|
|
</li>
|
150 |
|
|
<p> </p>
|
151 |
|
|
<script language="JavaScript">
|
152 |
|
|
insertTemplateClosing();
|
153 |
|
|
</script>
|
154 |
|
|
</body>
|
155 |
|
|
</html>
|