summaryrefslogtreecommitdiffstats
path: root/dtml/properties.dtml
diff options
context:
space:
mode:
Diffstat (limited to 'dtml/properties.dtml')
-rw-r--r--dtml/properties.dtml133
1 files changed, 133 insertions, 0 deletions
diff --git a/dtml/properties.dtml b/dtml/properties.dtml
new file mode 100644
index 0000000..9e64b92
--- /dev/null
+++ b/dtml/properties.dtml
@@ -0,0 +1,133 @@
+<dtml-var manage_page_header>
+<dtml-var manage_tabs>
+
+<p class="form-help">
+ Change the basic properties of your LDAPRoleExtender
+ on this form.
+</p>
+
+<form action="manage_edit" method="POST">
+
+ <table cellspacing="0" cellpadding="3">
+
+ <tr>
+ <td align="LEFT" valign="TOP"><div class="form-optional">
+ Title
+ </div></td>
+ <td align="LEFT" valign="TOP" colspan="3">
+ <input type="TEXT" name="title" size="40" value="&dtml-title;" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="LEFT" valign="TOP"><div class="form-label">
+ LDAP User Folder
+ </div></td>
+ <td align="LEFT" valign="TOP"><div class="form-element">
+ <select name="luf">
+ <dtml-let my_path="_.string.join( this().getPhysicalPath(), '/' )">
+ <dtml-in "superValues( [ 'LDAPUserFolder' ] )">
+ <dtml-let luf_path="_.string.join( getPhysicalPath(), '/' )"
+ sel="luf_path == getLUF().getPhysicalPath() and 'selected' or ''">
+ <dtml-if "my_path != luf_path">
+ <option value="&dtml-luf_path;" &dtml-sel;>
+ &dtml-luf_path;
+ </option>
+ </dtml-if>
+ </dtml-let>
+ </dtml-in>
+ </dtml-let>
+ </select>
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-label">
+ Groups Base DN
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <input type="text" name="groups_base" size="40"
+ value="&dtml-groups_base;" />
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="TOP"><div class="form-optional">
+ Groups search scope *
+ </div></td>
+ <td align="left" valign="TOP"><div class="form-element">
+ <select name="groups_scope:int">
+ <option value="0" <dtml-if "groups_scope==0">selected</dtml-if>>
+ BASE
+ </option>
+ <option value="1" <dtml-if "groups_scope==1">selected</dtml-if>>
+ ONELEVEL
+ </option>
+ <option value="2"<dtml-if "groups_scope==2">selected</dtml-if>>
+ SUBTREE
+ </options>
+ </select>
+ </div></td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top"><div class="form-label">
+ Log Level
+ </div></td>
+ <td align="LEFT" valign="TOP"><div class="form-element">
+ <select name="verbose:int">
+ <option value="0" <dtml-if "verbose==0">selected</dtml-if>>
+ No logging (0)
+ </option>
+ <option value="1" <dtml-if "verbose==1">selected</dtml-if>>
+ Catastrophes (1)
+ </option>
+ <option value="2" <dtml-if "verbose==2">selected</dtml-if>>
+ Major Events (2)
+ </option>
+ <option value="3" <dtml-if "verbose==3">selected</dtml-if>>
+ Minor Events (3)
+ </option>
+ <option value="4" <dtml-if "verbose==4">selected</dtml-if>>
+ Login Failures (4)
+ </option>
+ <option value="5" <dtml-if "verbose==5">selected</dtml-if>>
+ Login Successes (5)
+ </option>
+ <option value="7" <dtml-if "verbose==7">selected</dtml-if>>
+ Login From Cache (7)
+ </option>
+ <option value="9" <dtml-if "verbose==9">selected</dtml-if>>
+ Debugging (9)
+ </option>
+ </select>
+ </div></td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td colspan="3">
+ <br>
+ <input type="SUBMIT" value=" Apply Changes ">
+ </td>
+ </tr>
+
+ </table>
+
+</form>
+
+<ul>
+ <li>
+ BASE: Search only the current object itself
+ </li>
+ <li>
+ ONELEVEL: Search only the object's immediate children
+ </li>
+ <li>
+ SUBTREE: Search the current object and all of its descendants
+ </li>
+</ul>
+
+
+<dtml-var manage_page_footer>
+