Code

Fixed undefined index
[gosa.git] / plugins / admin / systems / printer.tpl
2 <table summary="" width="100%">
3         <tr>
4                 <td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
5 {if $StandAlone }
6                         <h2>{t}General{/t}</h2>
7                         <table summary="">
8                          <tr>
9                           <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
10                           <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}" {$cnACL}></td>
11                          </tr>
12                          <tr>
13                           <td><LABEL for="description">{t}Description{/t}</LABEL></td>
14                           <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
15                          </tr>
16                          <tr>
17                                   <td colspan=2>&nbsp;</td>
18                          </tr>
19                          <tr>
20                           <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
21                           <td>
22                            <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
23                                 {html_options options=$bases selected=$base_select}
24                            </select>
25                                 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
26                           </tr>
27                         </table>
28                 </td>
29                 <td>
30 {/if}
31                         <h2>{t}Details{/t}</h2>
32                         <table summary="">
33                                 <tr>
34                                         <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
35                                         <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
36                                 </tr>
37                                 <tr>
38                                         <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
39                                         <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
40                                 </tr>
41                         </table>
42                         <table summary="">
43                                 <tr>    
44                                         <td>
45                                                 <br>
46                                                 {t}Driver{/t}: <i>{$driverInfo}</i>&nbsp;
47                                                         <input type="submit" name="EditDriver" value="{t}Edit{/t}">
48                                                         <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
49                                         </td>
50                                 </tr>
51                         </table>
52   </td>
53  </tr>
54 </table>
56 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
58 <h2><img class="center" alt="" align="middle" src="images/closedlock.png"> {t}Permissions{/t}</h2>
59 <table summary="" width="100%">
60         <tr>
61                 <td style="border-right:1px solid #B0B0B0; width:50%">
62                         <table style="width:100%" summary=''>
63                                 <tr>
64                                         <td>
65                                                 {t}Users which are allowed to use this printer{/t}<br>
66                                                 <select size="1" name="UserMember" title="{t}Users{/t}" style="width:100%;height:120px;"  multiple>
67                                                 {html_options options=$UserMembers values=$UserMemberKeys}
68                                         </select><br>
69                                                         <input type="submit" value="{t}Add user{/t}"  name="AddUser">
70                                                         <input type="submit" value="{t}Add group{/t}" name="AddGroup">
71                                                         <input type="submit" value="{t}Delete{/t}" name="DelUser">
72                                         </td>
73                                 </tr>
74                         </table>        
75         
76                 </td>
77                 <td>
78                         <table style="width:100%" summary=''>
79                                 <tr>
80                                         <td>
81                                                 {t}Users which are allowed to administrate this printer{/t}<br>
82                                                 <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:100%;height:120px;"  multiple>
83                                                 {html_options options=$AdminMembers values=$AdminMemberKeys}
84                                         </select><br>
85                                                         <input type="submit" value="{t}Add user{/t}"  name="AddAdminUser">
86                                                         <input type="submit" value="{t}Add group{/t}" name="AddAdminGroup">
87                                                         <input type="submit" value="{t}Delete{/t}" name="DelAdmin">
88                 
89                                         </td>
90                                 </tr>
91                         </table>
92                         
93                 </td>
94         </tr>
95 </table>
98 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
99 {$netconfig}
101 <!-- Place cursor -->
102 <script language="JavaScript" type="text/javascript">
103   <!-- // First input field on page
104   document.mainform.cn.focus();
105   -->
106 </script>