1 <table summary="" width="100%">
2 <tr>
3 <td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
4 {if $StandAlone }
5 <h2>{t}General{/t}</h2>
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 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 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 <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
31 {html_options options=$bases selected=$base_select}
32 </select>
33 {/render}
34 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
35 <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
36 {/render}
37 </td>
38 </tr>
39 </table>
40 </td>
41 <td>
42 {/if}
43 <h2>{t}Details{/t}</h2>
44 <table summary="">
45 <tr>
46 <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
47 <td>
48 {render acl=$lACL}
49 <input id="l" name="l" size=25 maxlength=80 value="{$l}">
50 {/render}
51 </td>
52 </tr>
53 <tr>
54 <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
55 <td>
56 {render acl=$labeledURIACL}
57 <input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}">
58 {/render}
59 </td>
60 </tr>
61 </table>
62 <table summary="">
63 <tr>
64 <td>
65 <br>
66 {t}Driver{/t}: <i>{$driverInfo}</i>
67 {render acl=$gotoPrinterPPDACL mode=read_active}
68 <input type="submit" name="EditDriver" value="{t}Edit{/t}">
69 {/render}
70 {render acl=$gotoPrinterPPDACL}
71 <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
72 {/render}
73 </td>
74 </tr>
75 </table>
76 </td>
77 </tr>
78 </table>
80 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
82 <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Permissions{/t}</h2>
83 <table summary="" width="100%">
84 <tr>
85 <td style="border-right:1px solid #B0B0B0; width:50%">
86 <table style="width:100%" summary=''>
87 <tr>
88 <td>
89 {t}Users which are allowed to use this printer{/t}<br>
90 {render acl=$gotoUserPrinterACL}
91 <select size="1" name="UserMember[]" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
92 {html_options options=$UserMembers values=$UserMemberKeys}
93 </select><br>
94 {/render}
95 {render acl=$gotoUserPrinterACL}
96 <input type="submit" value="{t}Add user{/t}" name="AddUser">
97 {/render}
98 {render acl=$gotoUserPrinterACL}
99 <input type="submit" value="{t}Add group{/t}" name="AddGroup">
100 {/render}
101 {render acl=$gotoUserPrinterACL}
102 <input type="submit" value="{msgPool type=delButton}" name="DelUser">
103 {/render}
104 </td>
105 </tr>
106 </table>
108 </td>
109 <td>
110 <table style="width:100%" summary=''>
111 <tr>
112 <td>
113 {t}Users which are allowed to administrate this printer{/t}<br>
114 {render acl=$gotoUserPrinterACL}
115 <select size="1" name="AdminMember[]" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
116 {html_options options=$AdminMembers values=$AdminMemberKeys}
117 </select><br>
118 {/render}
119 {render acl=$gotoUserPrinterACL}
120 <input type="submit" value="{t}Add user{/t}" name="AddAdminUser">
121 {/render}
122 {render acl=$gotoUserPrinterACL}
123 <input type="submit" value="{t}Add group{/t}" name="AddAdminGroup">
124 {/render}
125 {render acl=$gotoUserPrinterACL}
126 <input type="submit" value="{msgPool type=delButton}" name="DelAdmin">
127 {/render}
129 </td>
130 </tr>
131 </table>
133 </td>
134 </tr>
135 </table>
138 {if $netconfig ne ''}
139 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
140 {$netconfig}
141 {/if}
143 <!-- Place cursor -->
144 <script language="JavaScript" type="text/javascript">
146 <!-- // First input field on page
147 if(document.mainform.cn)
148 focus_field('cn');
149 -->
150 </script>