Code

Created trunk inside of 2.6-lhm
[gosa.git] / trunk / 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 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><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
20        <td>
21 {render acl=$descriptionACL}
22         <input id="description" name="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for department{/t}">
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 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          <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
44           {html_options options=$bases selected=$base_select}
45          </select>
46 {/render}
48 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
49         <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
50 {/render}
51         </td>
52        </tr>
53         {/if}
54      </table>
56    </td>
57    <td style="border-left:1px solid #A0A0A0">
58     &nbsp;
59    </td>
60    <td>
61      <h2><img class="center" alt="" align="middle" src="plugins/departments/images/department.png"> {t}Location{/t}</h2>
63      <table summary="" style="width:100%">
64       <tr>
65        <td><LABEL for="st">{t}State{/t}</LABEL></td>
66        <td>
67 {render acl=$stACL}
68         <input id="st" name="st" size=25 maxlength=60 value="{$st}" title="{t}State where this subtree is located{/t}">
69 {/render}
70        </td>
71       </tr>
72       <tr>
73        <td><LABEL for="l">{t}Location{/t}</LABEL></td>
74        <td>
75 {render acl=$lACL}
76         <input id="l" name="l" size=25 maxlength=60 value="{$l}" title="{t}Location of this subtree{/t}">
77 {/render}
78        </td>
79       </tr>
80       <tr>
81        <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
82        <td>
83 {render acl=$postalAddressACL}
84         <textarea id="postalAddress" name="postalAddress" style="width:100%" rows=3 cols=22 title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
85 {/render}
86       </tr>
87       <tr>
88        <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
89        <td>
90 {render acl=$telephoneNumberACL}
91         <input id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}">
92 {/render}
93        </td>
94       </tr>
95       <tr>
96        <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
97        <td>
98 {render acl=$facsimileTelephoneNumberACL}
99         <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}">
100 {/render}
101        </td>
102       </tr>
103      </table>
105    </td>
106  </tr>
107 </table>
109 <p class='seperator'>&nbsp;</p>
111 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
112  <tr>
113    <td style="vertical-align:top; width:100%">
114      <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Administrative settings{/t}</h2>
115 {render acl=$gosaUnitTagACL}
116      <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>
117 {/render}
118    </td>
119   </tr>
120 </table>
122 <!-- Place cursor -->
123 <input type='hidden' name='dep_generic_posted' value='1'>
124 <script language="JavaScript" type="text/javascript">
125   <!-- // First input field on page
126         focus_field('ou');
127   -->
128 </script>