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> </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}" {$baseACL}>
23 {html_options options=$bases selected=$base_select}
24 </select>
25 {if $baseACL == ""}
26 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
27 {else}
28 <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
29 {/if}
30 </td>
31 </tr>
32 </table>
33 </td>
34 <td>
35 {/if}
36 <h2>{t}Details{/t}</h2>
37 <table summary="">
38 <tr>
39 <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
40 <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
41 </tr>
42 <tr>
43 <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
44 <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
45 </tr>
46 </table>
47 <table summary="">
48 <tr>
49 <td>
50 <br>
51 {t}Driver{/t}: <i>{$driverInfo}</i>
52 <input type="submit" name="EditDriver" value="{t}Edit{/t}">
53 <input type="submit" name="RemoveDriver" value="{t}Remove{/t}">
54 </td>
55 </tr>
56 </table>
57 </td>
58 </tr>
59 </table>
61 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
63 <h2><img class="center" alt="" align="middle" src="images/closedlock.png"> {t}Permissions{/t}</h2>
64 <table summary="" width="100%">
65 <tr>
66 <td style="border-right:1px solid #B0B0B0; width:50%">
67 <table style="width:100%" summary=''>
68 <tr>
69 <td>
70 {t}Users which are allowed to use this printer{/t}<br>
71 <select size="1" name="UserMember[]" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
72 {html_options options=$UserMembers values=$UserMemberKeys}
73 </select><br>
74 <input type="submit" value="{t}Add user{/t}" name="AddUser">
75 <input type="submit" value="{t}Add group{/t}" name="AddGroup">
76 <input type="submit" value="{t}Delete{/t}" name="DelUser">
77 </td>
78 </tr>
79 </table>
81 </td>
82 <td>
83 <table style="width:100%" summary=''>
84 <tr>
85 <td>
86 {t}Users which are allowed to administrate this printer{/t}<br>
87 <select size="1" name="AdminMember[]" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
88 {html_options options=$AdminMembers values=$AdminMemberKeys}
89 </select><br>
90 <input type="submit" value="{t}Add user{/t}" name="AddAdminUser">
91 <input type="submit" value="{t}Add group{/t}" name="AddAdminGroup">
92 <input type="submit" value="{t}Delete{/t}" name="DelAdmin">
94 </td>
95 </tr>
96 </table>
98 </td>
99 </tr>
100 </table>
102 {if $netconfig ne ''}
103 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
104 {$netconfig}
105 {/if}
107 <!-- Place cursor -->
108 <script language="JavaScript" type="text/javascript">
109 <!-- // First input field on page
110 document.mainform.cn.focus();
111 -->
112 </script>