Project

General

Profile

« Previous | Next » 

Revision 4010

Added by Jing Tao almost 16 years ago

Merge METACAT_1_8_1 to cvs head.

View differences:

loginForm.tmpl
1
[% INCLUDE $templates.header %]
1
[% IF cfg == 'nceas' %]
2
  [% INCLUDE "nceasHeader.tmpl" %]
3
[% ELSE %]
4
  [% INCLUDE "genericHeader.tmpl" %]
5
[% END %]
2 6
      <script language="JavaScript">
3 7
function submitform(formObj) {
4 8

  
......
44 48
          
45 49
        
46 50
				<p><span class="greenbold">Step 1: Create an Account</span> <br>
47
		   			Create an account by registering with the <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">KNB</a>.
51
		   			Create an account by registering with the <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">KNB</a>.
48 52

  
49 53
					Many scientists will already have accounts in the KNB, especially those 
50 54
					from institutions like NCEAS and LTER. If you already have an account 
......
61 65
		[% END %]
62 66
	  
63 67
      [% END %]
64
<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
68
  <menu>
69
<form method="post" action="@cgi-prefix@/register-dataset.cgi" onsubmit="return submitform(this);" >
65 70
    <input type="hidden" name="stage" value="login"> 
66 71
    <input type="hidden" name="username" value=""> 
67 72
    <input type="hidden" name="cfg" value="[%cfg%]"> 
......
123 128
      </tr>
124 129
    </table>
125 130
  </form>
131
  </menu>
132
  
133
  Dont have an account yet? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
134
  <br />
135
  Forgot your password? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
126 136

  
127
  <p>  
128
  Dont have an account yet? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
129
  <br />
130
  Forgot your password? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
131
  </p>
132
[% INCLUDE $templtes.footer %]
137
[% IF cfg == 'nceas' %]
138
  [% INCLUDE "nceasFooter.tmpl" %]
139
[% ELSE %]
140
  [% INCLUDE "genericFooter.tmpl" %]
141
[% END %]  

Also available in: Unified diff