Code

Moved to POST for selector lists
[gosa.git] / gosa-core / plugins / admin / departments / generic.tpl
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>
8      
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}
48      </table>
50    </td>
51    <td style="border-left:1px solid #A0A0A0">
52     &nbsp;
53    </td>
54    <td>
55      <h2><img class="center" alt="" align="middle" src="plugins/departments/images/department.png"> {t}Location{/t}</h2>
57      <table summary="" style="width:100%">
58       <tr>
59        <td><LABEL for="st">{t}State{/t}</LABEL></td>
60        <td>
61 {render acl=$stACL}
62         <input type='text' id="st" name="st" size=25 maxlength=60 value="{$st}" title="{t}State where this subtree is located{/t}">
63 {/render}
64        </td>
65       </tr>
66       <tr>
67        <td><LABEL for="l">{t}Location{/t}</LABEL></td>
68        <td>
69 {render acl=$lACL}
70         <input type='text' id="l" name="l" size=25 maxlength=60 value="{$l}" title="{t}Location of this subtree{/t}">
71 {/render}
72        </td>
73       </tr>
74       <tr>
75        <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
76        <td>
77 {render acl=$postalAddressACL}
78         <textarea id="postalAddress" name="postalAddress" style="width:100%" rows=3 cols=22 title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
79 {/render}
80       </tr>
81       <tr>
82        <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
83        <td>
84 {render acl=$telephoneNumberACL}
85         <input type='text' id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}">
86 {/render}
87        </td>
88       </tr>
89       <tr>
90        <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
91        <td>
92 {render acl=$facsimileTelephoneNumberACL}
93         <input type='text' id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}">
94 {/render}
95        </td>
96       </tr>
97      </table>
99    </td>
100  </tr>
101 </table>
103 <p class='seperator'>&nbsp;</p>
105 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
106  <tr>
107    <td style="vertical-align:top; width:100%">
108      <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Administrative settings{/t}</h2>
109 {render acl=$gosaUnitTagACL}
110      <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>
111 {/render}
112    </td>
113   </tr>
114 </table>
116 <!-- Place cursor -->
117 <input type='hidden' name='dep_generic_posted' value='1'>
118 <script language="JavaScript" type="text/javascript">
119   <!-- // First input field on page
120         focus_field('ou');
121   -->
122 </script>