7a9273943506e8a772f9df52bd0af11882d0dfdc
[GroupUserFolder.git] / dtml / addLDAPGroupFolder.dtml
1 <dtml-comment> -*- mode: dtml; dtml-top-element: "body" -*- </dtml-comment>
2 <dtml-var manage_page_header>
3
4 <dtml-var "manage_form_title(this(), _,
5 form_title='Add LDAP Group Folder',
6 )">
7
8 <p class="form-help">
9 Add a new LDAPGroupFolder with this form.
10 </p>
11
12 <form action="manage_addLDAPGroupFolder" method="POST">
13 <table cellspacing="0" cellpadding="3">
14
15 <tr>
16 <td align="left" valign="TOP"><div class="form-optional">
17 Title
18 </div></td>
19 <td align="left" valign="TOP"><div class="form-element">
20 <input type="text" name="title" size="40" />
21 </div></td>
22 </tr>
23
24 <tr>
25 <td align="left" valign="TOP"><div class="form-label">LDAP User Folder</div></td>
26 <td align="left" valign="TOP"><div class="form-element">
27 <select name="luf">
28 <dtml-in "aq_parent.listUserSourceFolders()">
29 <dtml-with getUserFolder>
30 <dtml-if expr="meta_type=='LDAPUserFolder'">
31 <dtml-let luf_path="_.string.join( getPhysicalPath(), '/' )">
32 <dtml-let parentfolderid="aq_parent.id">
33 <option value="&dtml-parentfolderid;">&dtml-luf_path; (&dtml-meta_type;)</option>
34 </dtml-let>
35 </dtml-let>
36 </dtml-if>
37 </dtml-with>
38 </dtml-in>
39
40 </div></td>
41 </tr>
42
43 <tr>
44 <td>&nbsp;</td>
45 <td>
46 <br />
47 <input type="SUBMIT" value=" Add ">
48 </td>
49 </tr>
50
51 </table>
52 </form>
53
54 <dtml-var manage_page_footer>
55