summaryrefslogtreecommitdiffstats
path: root/dtml/properties.dtml
blob: 9e64b924a6e24714472a177442dfb717d841de86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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>