2 <table summary="" width="100%">
3 <tr>
4 <td style="vertical-align:top; width:50%;">
5 {if $is_terminal ne 'true'}
6 <h2>{t}General{/t}</h2>
7 <table summary="">
8 <tr>
9 <td colspan=2>
10 {$desc}
11 </td>
12 </tr>
13 <tr>
14 <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
15 <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}" {$cnACL}></td>
16 </tr>
17 <tr>
18 <td><LABEL for="description">{t}Description{/t}</LABEL></td>
19 <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
20 </tr>
21 </table>
22 </td>
23 <td valign="top">
24 <table summary="">
25 <tr>
26 <td colspan=2> </td>
27 </tr>
28 <tr>
29 <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
30 <td>
31 <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
32 {html_options options=$bases selected=$base_select}
33 </select>
34 </tr>
35 </table>
36 </td>
37 </tr>
38 <tr>
39 <td colspan="2">
40 <p class="seperator"> </p>
41 </td>
42 </tr>
43 <tr>
44 <td colspan="2">
45 {/if}
46 <h2>{t}Details{/t}</h2>
47 <table summary="">
48 <tr>
49 <td><LABEL for="l">{t}Location{/t}</LABEL></td>
50 <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
51 </tr>
52 <tr>
53 <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
54 <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
55 </tr>
56 </table>
57 <table summary="">
58 <tr>
59 <td>
60 <br>
61 {t}PPD{/t} : {$driverInfo}<br><input type="submit" name="EditDriver" value="{t}Edit{/t}">
62 </td>
63 </tr>
64 </table>
65 </td>
66 </tr>
67 </table>
69 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
71 <h2>{t}Permissions{/t}</h2>
72 <table summary="" width="100%">
73 <tr>
74 <td>
76 <table>
77 <tr>
78 <td>
79 {t}Following objects are assigned as user.{/t}<br>
80 <select size="1" name="UserMember" title="{t}Users{/t}" style="width:350px;height:120px;" multiple>
81 {html_options options=$UserMembers values=$UserMemberKeys}
82 </select><br>
83 <input type="submit" value="{t}Add user{/t}" name="AddUser">
84 <input type="submit" value="{t}Add group{/t}" name="AddGroup">
85 <input type="submit" value="{t}Delete{/t}" name="DelUser">
86 </td>
87 </tr>
88 </table>
90 </td>
91 <td>
93 <table>
94 <tr>
95 <td>
96 {t}Following objects are assigned as admin.{/t}<br>
97 <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:350px;height:120px;" multiple>
98 {html_options options=$AdminMembers values=$AdminMemberKeys}
99 </select><br>
100 <input type="submit" value="{t}Add admin user{/t}" name="AddAdminUser">
101 <input type="submit" value="{t}Add admin group{/t}" name="AddAdminGroup">
102 <input type="submit" value="{t}Delete{/t}" name="DelAdmin">
104 </td>
105 </tr>
106 </table>
108 </td>
109 </tr>
110 </table>
113 <p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
114 {include file="$netconfig"}
116 <!-- Place cursor -->
117 <script language="JavaScript" type="text/javascript">
118 <!-- // First input field on page
119 document.mainform.cn.focus();
120 -->
121 </script>