1 <!--////////////////////
2 // ORGANIZATIONAL UNIT (ou)
3 //////////////////// -->
4 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
5 <tr>
6 <td style="vertical-align:top; width:50%">
7 <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
9 <table summary="">
10 <tr>
11 <td><LABEL for="ou">{t}Name of department{/t}</LABEL>{$must}</td>
12 <td>
13 {render acl=$ouACL}
14 <input type='text' id="ou" name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}">
15 {/render}
16 </td>
17 </tr>
18 <tr>
19 <td style='vertical-align:top;'><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
20 <td>
21 {render acl=$descriptionACL}
22 <textarea id='description' name='description' style='width:220px' title="{t}Descriptive text for department{/t}">{$description}</textarea>
23 {/render}
24 </td>
25 </tr>
26 <tr>
27 <td><LABEL for="businessCategory">{t}Category{/t}</LABEL></td>
28 <td>
29 {render acl=$businessCategoryACL}
30 <input type='text' id="businessCategory" name="businessCategory" size=25 maxlength=80 value="{$businessCategory}" title="{t}Category for this subtree{/t}">
31 {/render}
32 </td>
33 </tr>
34 <tr>
35 <td colspan="2"><br></td>
36 </tr>
37 {if !$is_root_dse}
38 <tr>
39 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
41 <td>
42 {render acl=$baseACL}
43 {$base}
44 {/render}
45 </td>
46 </tr>
47 {/if}
49 {if $manager_enabled}
50 <tr>
51 <td><label for="manager">{t}Manager{/t}</label></td>
52 <td>
53 {render acl=$managerACL}
54 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
55 title='{$manager}'>
56 {/render}
57 {render acl=$managerACL}
58 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
59 {/render}
60 {if $manager!=""}
61 {render acl=$managerACL}
62 <img src='images/info_small.png' title='{$manager}' class='center'>
63 {/render}
64 {render acl=$managerACL}
65 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
66 {/render}
67 {/if}
68 </td>
69 </tr>
70 {/if}
72 </table>
74 </td>
75 <td style="border-left:1px solid #A0A0A0">
76
77 </td>
78 <td>
79 <h2><img class="center" alt="" align="middle" src="plugins/departments/images/department.png"> {t}Location{/t}</h2>
81 <table summary="" style="width:100%">
82 <tr>
83 <td><LABEL for="st">{t}State{/t}</LABEL></td>
84 <td>
85 {render acl=$stACL}
86 <input type='text' id="st" name="st" size=25 maxlength=60 value="{$st}" title="{t}State where this subtree is located{/t}">
87 {/render}
88 </td>
89 </tr>
90 <tr>
91 <td><LABEL for="l">{t}Location{/t}</LABEL></td>
92 <td>
93 {render acl=$lACL}
94 <input type='text' id="l" name="l" size=25 maxlength=60 value="{$l}" title="{t}Location of this subtree{/t}">
95 {/render}
96 </td>
97 </tr>
98 <tr>
99 <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
100 <td>
101 {render acl=$postalAddressACL}
102 <textarea id="postalAddress" name="postalAddress" style="width:100%" rows=3 cols=22 title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
103 {/render}
104 </tr>
105 <tr>
106 <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
107 <td>
108 {render acl=$telephoneNumberACL}
109 <input type='text' id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}">
110 {/render}
111 </td>
112 </tr>
113 <tr>
114 <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
115 <td>
116 {render acl=$facsimileTelephoneNumberACL}
117 <input type='text' id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}">
118 {/render}
119 </td>
120 </tr>
121 </table>
123 </td>
124 </tr>
125 </table>
127 <p class='seperator'> </p>
129 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
130 <tr>
131 <td style="vertical-align:top; width:100%">
132 <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Administrative settings{/t}</h2>
133 {render acl=$gosaUnitTagACL}
134 <input id="is_administrational_unit" type=checkbox name="is_administrational_unit" value="1" {$gosaUnitTag}><label for="is_administrational_unit">{t}Tag department as an independent administrative unit{/t}</label>
135 {/render}
136 </td>
137 </tr>
138 </table>
140 <!-- Place cursor -->
141 <input type='hidden' name='dep_generic_posted' value='1'>
142 <script language="JavaScript" type="text/javascript">
143 <!-- // First input field on page
144 focus_field('ou');
145 -->
146 </script>