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