index f876a41226587dbbc5467643a088a73f5f6c250f..49ed25737938119ecad36e3769801ca2e2ace6b6 100644 (file)
<table summary="" width="100%">
<tr>
<td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
<table summary="" width="100%">
<tr>
<td style="vertical-align:top; width:50%; border-right:1px solid #B0B0B0">
-{if $is_terminal ne 'true'}
+{if $StandAlone }
<h2>{t}General{/t}</h2>
<table summary="">
<tr>
<h2>{t}General{/t}</h2>
<table summary="">
<tr>
<tr>
<td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
<tr>
<td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
- <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+ <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
{html_options options=$bases selected=$base_select}
</select>
{html_options options=$bases selected=$base_select}
</select>
+ {if $baseACL == ""}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {else}
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ {/if}
+ </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
</tr>
<tr>
<td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
</tr>
<tr>
- <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
+ <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL>{$must}</td>
<td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
</tr>
</table>
<td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
</tr>
</table>
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-<h2><img alt="" align="middle" src="images/closedlock.png"> {t}Permissions{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="images/closedlock.png"> {t}Permissions{/t}</h2>
<table summary="" width="100%">
<tr>
<td style="border-right:1px solid #B0B0B0; width:50%">
<table summary="" width="100%">
<tr>
<td style="border-right:1px solid #B0B0B0; width:50%">
- <table style="width:100%">
+ <table style="width:100%" summary=''>
<tr>
<td>
{t}Users which are allowed to use this printer{/t}<br>
<tr>
<td>
{t}Users which are allowed to use this printer{/t}<br>
- <select size="1" name="UserMember" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
+ <select size="1" name="UserMember[]" title="{t}Users{/t}" style="width:100%;height:120px;" multiple>
{html_options options=$UserMembers values=$UserMemberKeys}
</select><br>
<input type="submit" value="{t}Add user{/t}" name="AddUser">
{html_options options=$UserMembers values=$UserMemberKeys}
</select><br>
<input type="submit" value="{t}Add user{/t}" name="AddUser">
</td>
<td>
</td>
<td>
- <table style="width:100%">
+ <table style="width:100%" summary=''>
<tr>
<td>
{t}Users which are allowed to administrate this printer{/t}<br>
<tr>
<td>
{t}Users which are allowed to administrate this printer{/t}<br>
- <select size="1" name="AdminMember" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
+ <select size="1" name="AdminMember[]" title="{t}Admins{/t}" style="width:100%;height:120px;" multiple>
{html_options options=$AdminMembers values=$AdminMemberKeys}
</select><br>
<input type="submit" value="{t}Add user{/t}" name="AddAdminUser">
{html_options options=$AdminMembers values=$AdminMemberKeys}
</select><br>
<input type="submit" value="{t}Add user{/t}" name="AddAdminUser">
</tr>
</table>
</tr>
</table>
-
+{if $netconfig ne ''}
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-{include file="$netconfig"}
+{$netconfig}
+{/if}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">