Project

General

Profile

« Previous | Next » 

Revision 4080

Added by daigle over 16 years ago

Merge 1.9 changes into Head

View differences:

harvesterRegistrationLogin.jsp
1
<%@ page    language="java" %>
1
<%@ page    language="java" import="java.util.Vector,edu.ucsb.nceas.metacat.util.LDAPUtil"%>
2 2
<%
3 3
/**
4 4
 * '$RCSfile$'
......
24 24
 */
25 25
 %>
26 26

  
27
 <%@ include file="../../common/common-settings.jsp"%>
27
<%@ include file="../../common/common-settings.jsp"%>
28
 
29
<% 
30
	Vector<String> organizationList = LDAPUtil.getOrganizations();
31
%> 
28 32

  
29 33
<html> 
30 34
<head>
......
41 45

  
42 46
<form name="myform" 
43 47
      method="POST" 
44
      action="<%=SERVER_URL_WITH_CONTEXT%>/harvesterRegistrationLogin">
48
      action="<%=CONTEXT_URL%>/harvesterRegistrationLogin">
45 49

  
46 50
<table width=400 align=center cellspacing=1 cellpadding=1 
47 51
       border=0 bgcolor="#333366">
......
75 79
            </font>
76 80
          </td>
77 81
          <td>
78
            <input type="radio" name="o" value="NCEAS">NCEAS
79
            <input type="radio" name="o" value="LTER">LTER
80
            <input type="radio" name="o" value="NRS">NRS
81
            <br>
82
            <input type="radio" name="o" value="PISCO">PISCO
83
            <input type="radio" name="o" value="OBFS">OBFS
84
            <input type="radio" name="o" value="Unaffiliated">Unaffiliated
82
<%
83
		for (String orgName : organizationList) {
84
%>  
85
            <input type="radio" name="o" value="<%= orgName %>"><%= orgName %>
86
<%
87
			}
88
%> 
85 89
        </tr>
86 90
        <tr>
87 91
          <td width='10%'> &nbsp;</td>

Also available in: Unified diff