Code

Added ppd for printer dialog, schema parser is still missing
[gosa.git] / plugins / admin / systems / printer.tpl
2 <table summary="" width="100%">
3         <tr>
4                 <td style="vertical-align:top; width:50%;">
5 {if $is_terminal ne 'true'}
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}"></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                         </table>
17                 </td>
18                 <td>
19                         <table summary="">
20                          <tr>
21                                   <td colspan=2>&nbsp;</td>
22                          </tr>
23                          <tr>
24                           <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
25                           <td>
26                            <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
27                                 {html_options options=$bases selected=$base_select}
28                            </select>
29                           </tr>
30                         </table>
31                 </td>
32         </tr>
33         <tr>
34                 <td colspan="2">
35                         <p class="seperator">&nbsp;</p>
36                 </td>
37         </tr>
38         <tr>
39                 <td colspan="2">
40 {/if}
41                         <h2>{t}Details{/t}</h2>
42                         <table summary="">
43                                 <tr>
44                                         <td><LABEL for="l">{t}Location{/t}</LABEL></td>
45                                         <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
46                                 </tr>
47                                 <tr>
48                                         <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
49                                         <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
50                                 </tr>
51                         </table>
52                         <table summary="">
53                                 <tr>    
54                                         <td>
55                                                 <br>
56                                                 {t}PPD{/t} : {$driverInfo}<br><input type="submit" name="EditDriver" value="{t}Edit{/t}">
57                                         </td>
58                                 </tr>
59                         </table>
60   </td>
61  </tr>
62 </table>
64 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
66 <h2>{t}Permissions{/t}</h2>
67 <table summary="" width="100%">
68         <tr>
69                 <td>
71                         <table>
72                                 <tr>
73                                         <td>
74                                                 {t}Following objects are assigned as user.{/t}<br>
75                                                 <select size="1" name="UserMember" title="{t}Users{/t}" style="width:350px;height:120px;"  multiple>
76                                                 {html_options options=$UserMembers values=$UserMemberKeys}
77                                         </select><br>
78                                                         <input type="submit" value="Add user"  name="AddUser">
79                                                         <input type="submit" value="Add group" name="AddGroup">
80                                                         <input type="submit" value="Delete" name="DelUser">
81                                         </td>
82                                 </tr>
83                         </table>        
84         
85                 </td>
86                 <td>
87                         
88                         <table>
89                                 <tr>
90                                         <td>
91                                                 {t}Following objects are assigned as admin.{/t}<br>
92                                                 <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:350px;height:120px;"  multiple>
93                                                 {html_options options=$AdminMembers values=$AdminMemberKeys}
94                                         </select><br>
95                                                         <input type="submit" value="Add admin user"  name="AddAdminUser">
96                                                         <input type="submit" value="Add admin group" name="AddAdminGroup">
97                                                         <input type="submit" value="Delete" name="DelAdmin">
98                 
99                                         </td>
100                                 </tr>
101                         </table>
102                         
103                 </td>
104         </tr>
105 </table>
108 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
109 {include file="$netconfig"}
111 <!-- Place cursor -->
112 <script language="JavaScript" type="text/javascript">
113   <!-- // First input field on page
114   document.mainform.cn.focus();
115   -->
116 </script>