Code

368506f815b989a830264b1dbda7d4820eed8f8d
[gosa.git] / plugins / admin / departments / generic.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
2  <tr>
3    <td style="vertical-align:top; width:50%">
4      <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
5      
6      <table summary="">
7       <tr>
8        <td><LABEL for="ou">{t}Name of department{/t}</LABEL>{$must}</td>
9        <td><input id="ou" name="ou" size=25 maxlength=180 value="{$ou}" title="{t}Name of subtree to create{/t}" {$ouACL}></td>
10       </tr>
11       <tr>
12        <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
13        <td>
14         <input id="description" name="description" size=25 maxlength=80 {$descriptionACL} value="{$description}" title="{t}Descriptive text for department{/t}">
15        </td>
16       </tr>
17       <tr>
18        <td><LABEL for="businessCategory">{t}Category{/t}</LABEL></td>
19        <td>
20         <input id="businessCategory" name="businessCategory" size=25 maxlength=80 {$businessCategoryACL} value="{$businessCategory}" title="{t}Category for this subtree{/t}">
21        </td>
22       </tr>
23       <tr>
24         <td colspan="2"><br></td>
25       </tr>
26       <tr>
27         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
29         <td>
30          <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
31           {html_options options=$bases selected=$base_select}
32          </select>
33                 {if $baseACL == ""}
34             <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
35         {else}
36             <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
37         {/if}
38         </td>
39        </tr>
40      </table>
42    </td>
43    <td style="border-left:1px solid #A0A0A0">
44     &nbsp;
45    </td>
46    <td>
47      <h2><img class="center" alt="" align="middle" src="images/house.png"> {t}Location{/t}</h2>
49      <table summary="" style="width:100%">
50       <tr>
51        <td><LABEL for="st">{t}State{/t}</LABEL></td>
52        <td><input id="st" name="st" size=25 maxlength=60 {$stACL} value="{$st}" title="{t}State where this subtree is located{/t}"></td>
53       </tr>
54       <tr>
55        <td><LABEL for="l">{t}Location{/t}</LABEL></td>
56        <td><input id="l" name="l" size=25 maxlength=60 {$lACL} value="{$l}" title="{t}Location of this subtree{/t}"></td>
57       </tr>
58       <tr>
59        <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
60        <td><textarea id="postalAddress" name="postalAddress" style="width:100%" rows=3 cols=22 {$postalAddressACL} title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
61       </tr>
62       <tr>
63        <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
64        <td><input id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}"></td>
65       </tr>
66       <tr>
67        <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
68        <td><input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}"></td>
69       </tr>
70      </table>
72    </td>
73  </tr>
74 </table>
76 <p class='seperator'>&nbsp;</p>
78 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
79  <tr>
80    <td style="vertical-align:top; width:100%">
81      <h2><img class="center" alt="" align="middle" src="images/closedlock.png"> {t}Administrative settings{/t}</h2>
83      <input id="unitTag" type=checkbox name="unitTag" value="1" {$unitTag} {$unitTagACL}><label for="unitTag">{t}Tag department as an independent administrative unit{/t}</label>
84    </td>
85   </tr>
86 </table>
88 <!-- Place cursor -->
89 <script language="JavaScript" type="text/javascript">
90   <!-- // First input field on page
91   document.mainform.ou.focus();
92   -->
93 </script>