Project

General

Profile

Revision 8205

Added by Jing Tao about 7 years ago

replace the hard-coded organization list.

View differences:

ldapRegister.tmpl
98 98
                   value="[% allParams.o %]"/>
99 99
            [% ELSE %]
100 100
            <select name="o">
101
                  <option value="unaffiliated">unaffiliated</option>
102
            </select>
101
                [% FOREACH org = orgList %]
102
                  [% IF allParams.o == org %]
103
                    <option value="[% org %]" selected>[% org %]</option>
104
                  [% ELSE %]
105
                    <option value="[% org %]">[% org %]</option>
106
                  [% END %]
107
                [% END %]
108
               </select>
103 109
            [% END %]
104 110
          </td>
105 111
        </tr>

Also available in: Unified diff