1 <table summary="" width="100%">
2 <tr>
3 <td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
4 {if $StandAlone}
5 <h3>{t}General{/t}</h3>
6 <table summary="">
7 <tr>
8 <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
9 <td>
10 {render acl=$cnACL}
11 <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
12 {/render}
13 </td>
14 </tr>
15 <tr>
16 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
17 <td>
18 {render acl=$descriptionACL}
19 <input type='text' id="description" name="description" size=25 maxlength=80 value="{$description}">
20 {/render}
21 </td>
22 </tr>
23 <tr>
24 <td colspan=2> </td>
25 </tr>
26 <tr>
27 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
28 <td>
29 {render acl=$baseACL}
30 {$base}
31 {/render}
32 </td>
33 </tr>
34 </table>
35 </td>
36 <td>
37 {/if}
38 <h3>{t}Details{/t}</h3>
39 <table summary="">
40 {if !$StandAlone}
41 <tr>
42 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
43 <td>
44 {render acl=$descriptionACL}
45 <input type='text' id="description" name="description" size=25 maxlength=80 value="{$description}">
46 {/render}
47 </td>
48 </tr>
49 {/if}
50 <tr>
51 <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
52 <td>
53 {render acl=$lACL}
54 <input type='text' id="l" name="l" size=30 maxlength=80 value="{$l}">
55 {/render}
56 </td>
57 </tr>
58 <tr>
59 <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
60 <td>
61 {render acl=$labeledURIACL}
62 <input type='text' id="labeledURI" name="labeledURI" size=30 maxlength=80 value="{$labeledURI}">
63 {/render}
64 </td>
65 </tr>
66 {if $displayServerPath && 0}
67 <tr>
68 <td>{t}PPD Provider{/t}
69 </td>
70 <td>
71 <input size=30 type='text' value='{$ppdServerPart}' name='ppdServerPart'>
72 </td>
73 </tr>
74 {/if}
75 </table>
76 <table summary="">
77 <tr>
78 <td>
79 <br>
80 {t}Driver{/t}: <i>{$driverInfo}</i>
81 {render acl=$gotoPrinterPPDACL mode=read_active}
82 <input type="submit" name="EditDriver" value="{t}Edit{/t}">
83 {/render}
84 {render acl=$gotoPrinterPPDACL}
85 <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
86 {/render}
87 </td>
88 </tr>
89 </table>
90 </td>
91 </tr>
92 </table>
94 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
96 <h3><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Permissions{/t}</h3>
97 <table summary="" width="100%">
98 <tr>
99 <td style="border-right:1px solid #B0B0B0; width:50%">
100 <table style="width:100%" summary=''>
101 <tr>
102 <td>
103 {t}Users which are allowed to use this printer{/t}<br>
104 {render acl=$gotoUserPrinterACL}
105 <select size="1" name="UserMember[]" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
106 {html_options options=$UserMembers values=$UserMemberKeys}
107 </select><br>
108 {/render}
109 {render acl=$gotoUserPrinterACL}
110 <input type="submit" value="{msgPool type=addButton}" name="AddUser">
111 {/render}
112 {render acl=$gotoUserPrinterACL}
113 <input type="submit" value="{msgPool type=delButton}" name="DelUser">
114 {/render}
115 </td>
116 </tr>
117 </table>
119 </td>
120 <td>
121 <table style="width:100%" summary=''>
122 <tr>
123 <td>
124 {t}Users which are allowed to administrate this printer{/t}<br>
125 {render acl=$gotoUserPrinterACL}
126 <select size="1" name="AdminMember[]" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
127 {html_options options=$AdminMembers values=$AdminMemberKeys}
128 </select><br>
129 {/render}
130 {render acl=$gotoUserPrinterACL}
131 <input type="submit" value="{msgPool type=addButton}" name="AddAdminUser">
132 {/render}
133 {render acl=$gotoUserPrinterACL}
134 <input type="submit" value="{msgPool type=delButton}" name="DelAdmin">
135 {/render}
137 </td>
138 </tr>
139 </table>
141 </td>
142 </tr>
143 </table>
146 {if $netconfig ne ''}
147 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
148 {$netconfig}
149 {/if}
151 <!-- Place cursor -->
152 <script language="JavaScript" type="text/javascript">
154 <!-- // First input field on page
155 if(document.mainform.cn)
156 focus_field('cn');
157 -->
158 </script>