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 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 <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 type='text' id="l" name="l" size=30 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 type='text' id="labeledURI" name="labeledURI" size=30 maxlength=80 value="{$labeledURI}">
58 {/render}
59 </td>
60 </tr>
61 {if $displayServerPath && 0}
62 <tr>
63 <td>{t}PPD Provider{/t}
64 </td>
65 <td>
66 <input size=30 type='text' value='{$ppdServerPart}' name='ppdServerPart'>
67 </td>
68 </tr>
69 {/if}
70 </table>
71 <table summary="">
72 <tr>
73 <td>
74 <br>
75 {t}Driver{/t}: <i>{$driverInfo}</i>
76 {render acl=$gotoPrinterPPDACL mode=read_active}
77 <input type="submit" name="EditDriver" value="{t}Edit{/t}">
78 {/render}
79 {render acl=$gotoPrinterPPDACL}
80 <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
81 {/render}
82 </td>
83 </tr>
84 </table>
85 </td>
86 </tr>
87 </table>
89 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
91 <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Permissions{/t}</h2>
92 <table summary="" width="100%">
93 <tr>
94 <td style="border-right:1px solid #B0B0B0; width:50%">
95 <table style="width:100%" summary=''>
96 <tr>
97 <td>
98 {t}Users which are allowed to use this printer{/t}<br>
99 {render acl=$gotoUserPrinterACL}
100 <select size="1" name="UserMember[]" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
101 {html_options options=$UserMembers values=$UserMemberKeys}
102 </select><br>
103 {/render}
104 {render acl=$gotoUserPrinterACL}
105 <input type="submit" value="{msgPool type=addButton}" name="AddUser">
106 {/render}
107 {render acl=$gotoUserPrinterACL}
108 <input type="submit" value="{msgPool type=delButton}" name="DelUser">
109 {/render}
110 </td>
111 </tr>
112 </table>
114 </td>
115 <td>
116 <table style="width:100%" summary=''>
117 <tr>
118 <td>
119 {t}Users which are allowed to administrate this printer{/t}<br>
120 {render acl=$gotoUserPrinterACL}
121 <select size="1" name="AdminMember[]" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
122 {html_options options=$AdminMembers values=$AdminMemberKeys}
123 </select><br>
124 {/render}
125 {render acl=$gotoUserPrinterACL}
126 <input type="submit" value="{msgPool type=addButton}" name="AddAdminUser">
127 {/render}
128 {render acl=$gotoUserPrinterACL}
129 <input type="submit" value="{msgPool type=delButton}" name="DelAdmin">
130 {/render}
132 </td>
133 </tr>
134 </table>
136 </td>
137 </tr>
138 </table>
141 {if $netconfig ne ''}
142 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
143 {$netconfig}
144 {/if}
146 <!-- Place cursor -->
147 <script language="JavaScript" type="text/javascript">
149 <!-- // First input field on page
150 if(document.mainform.cn)
151 focus_field('cn');
152 -->
153 </script>