Project

General

Profile

« Previous | Next » 

Revision 4080

Added by daigle over 16 years ago

Merge 1.9 changes into Head

View differences:

metacatlogin.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
/**
......
33 33
<%@ include file="settings.jsp"%>
34 34
<%@ include file="session_vars.jsp"%>
35 35

  
36
<% 
37
	Vector<String> organizationList = LDAPUtil.getOrganizations();
38
%>
39

  
36 40
<html>
37 41

  
38 42
  <head>
......
90 94
          </td>
91 95
          <td align="left">
92 96
            <select name="organization">
93
              <option value="KU">
94
                KU
95
              </option>
96
              <option value="LTER" selected="selected">
97
                LTER
98
              </option>
99
              <option value="NCEAS">
100
                NCEAS
101
              </option>
102
              <option value="OBFS">
103
                OBFS
104
              </option>
105
              <option value="OSUBS">
106
                OSUBS
107
              </option>
108
              <option value="PISCO">
109
                PISCO
110
              </option>
111
              <option value="SDSC">
112
                SDSC
113
              </option>
114
              <option value="UCNRS">
115
                UCNRS
116
              </option>
117
              <option value="unaffiliated">
118
                unaffiliated
119
              </option>
97
<%
98
			for (String orgName : organizationList) {
99
%>  
100
              <option value="<%= orgName %>"><%= orgName %></option>
101
<%
102
			}
103
%> 
120 104
            </select>
121 105
          </td>
122 106
          <td>

Also available in: Unified diff