Code

Added acls for printer glpi
[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>
10 {render acl=$ouACL}
11         <input id="ou" name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}">
12 {/render}
13        </td>
14       </tr>
15       <tr>
16        <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
17        <td>
18 {render acl=$descriptionACL}
19         <input id="description" name="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for department{/t}">
20 {/render}
21        </td>
22       </tr>
23       <tr>
24        <td><LABEL for="businessCategory">{t}Category{/t}</LABEL></td>
25        <td>
26 {render acl=$businessCategoryACL}
27         <input id="businessCategory" name="businessCategory" size=25 maxlength=80 value="{$businessCategory}" title="{t}Category for this subtree{/t}">
28 {/render}
29        </td>
30       </tr>
31       <tr>
32         <td colspan="2"><br></td>
33       </tr>
34       <tr>
35         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
37         <td>
38 {render acl=$baseACL}
39          <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
40           {html_options options=$bases selected=$base_select}
41          </select>
42 {/render}
44 {render acl=$baseACL disable_picture='images/folder_gray.png'}
45         <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
46 {/render}
47         </td>
48        </tr>
49      </table>
51    </td>
52    <td style="border-left:1px solid #A0A0A0">
53     &nbsp;
54    </td>
55    <td>
56      <h2><img class="center" alt="" align="middle" src="images/house.png"> {t}Location{/t}</h2>
58      <table summary="" style="width:100%">
59       <tr>
60        <td><LABEL for="st">{t}State{/t}</LABEL></td>
61        <td>
62 {render acl=$stACL}
63         <input id="st" name="st" size=25 maxlength=60 value="{$st}" title="{t}State where this subtree is located{/t}">
64 {/render}
65        </td>
66       </tr>
67       <tr>
68        <td><LABEL for="l">{t}Location{/t}</LABEL></td>
69        <td>
70 {render acl=$lACL}
71         <input id="l" name="l" size=25 maxlength=60 value="{$l}" title="{t}Location of this subtree{/t}">
72 {/render}
73        </td>
74       </tr>
75       <tr>
76        <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
77        <td>
78 {render acl=$postalAddressACL}
79         <textarea id="postalAddress" name="postalAddress" style="width:100%" rows=3 cols=22 title="{t}Postal address of this subtree{/t}">{$postalAddress}
80         </textarea>
81 {/render}
82       </tr>
83       <tr>
84        <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
85        <td>
86 {render acl=$telephoneNumberACL}
87         <input id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}">
88 {/render}
89        </td>
90       </tr>
91       <tr>
92        <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
93        <td>
94 {render acl=$facsimileTelephoneNumberACL}
95         <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}">
96 {/render}
97        </td>
98       </tr>
99      </table>
101    </td>
102  </tr>
103 </table>
105 <p class='seperator'>&nbsp;</p>
107 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
108  <tr>
109    <td style="vertical-align:top; width:100%">
110      <h2><img class="center" alt="" align="middle" src="images/closedlock.png"> {t}Administrative settings{/t}</h2>
111 {render acl=$gosaUnitTagACL}
112      <input id="unitTag" type=checkbox name="unitTag" value="1" {$unitTag}><label for="unitTag">{t}Tag department as an independent administrative unit{/t}</label>
113 {/render}
114    </td>
115   </tr>
116 </table>
118 <!-- Place cursor -->
119 <input type='hidden' name='dep_generic_posted' value='1'>
120 <script language="JavaScript" type="text/javascript">
121   <!-- // First input field on page
122   document.mainform.ou.focus();
123   -->
124 </script>