Project

General

Profile

1 3091 cjones
<?xml version="1.0"?>
2
<!--
3
*  '$RCSfile$'
4
*      Authors: Chris Jones
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 showing the resultset of a query
29
* into an HTML format suitable for rendering with modern web browsers.
30
-->
31
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
32
33
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
34
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
35
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
36
37
  <xsl:template name="loginbox">
38
    <xsl:comment>begin the login form area</xsl:comment>
39
      <!-- begin login form area -->
40
      <div id="loginbox">
41
        <!--
42
        <form name="loginForm" method="POST"
43 3780 daigle
          action="{$contextURL}/style/skins/{$defaultStyle}/index.jsp">
44 3091 cjones
          <label class="login"><%=loginStatus%></label>
45
          <% if (!isLoggedIn) {%>
46
          <label class="login" for="username">username</label>
47
          <input class="login" type="text" name="username" value="<%=typedUserName%>" />
48
          <label class="login" for="password">password</label>
49
          <input class="login" type="password" name="password" />
50
          <input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
51
          <% } else { %>
52
          <input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
53
          <% } %>
54
          <input type="hidden" name="action" value="login">
55
          <input type="hidden" name="ldapusername"  value="">
56
          <input type="hidden" name="organization"  value="PISCO">
57 3780 daigle
          <input type="hidden" name="qformat" value="{$defaultStyle}">
58 3091 cjones
          <input type="hidden" name="enableediting" value="true">
59
        </form>
60
        -->
61
      </div>
62
    <xsl:comment>end the login form area</xsl:comment>
63
    <!-- end login form area -->
64
  </xsl:template>
65
66
</xsl:stylesheet>