index 5295f5392d3966c98b0dc62c71f8b7be4b463c02..225f52e7c06b4802f39c7d01be8e366d468db857 100644 (file)
<td width="150">{t}Printer type{/t}
</td>
<td>
- <select name="type" {$typeACL}>
+{render acl=$typeACL}
+ <select name="type" >
{html_options values=$PrinterTypeKeys output=$PrinterTypes selected=$type}
</select>
- <input type="submit" value="{t}edit{/t}" name="edit_type" {$typeACL}>
+{/render}
+{render acl=$typeACL}
+ <input type="submit" value="{t}edit{/t}" name="edit_type" >
+{/render}
</td>
</tr>
<tr>
<td>{t}Manufacturer{/t}
</td>
<td>
- <select name="FK_glpi_enterprise" {$FK_glpi_enterpriseACL}>
+{render acl=$FK_glpi_enterpriseACL}
+ <select name="FK_glpi_enterprise" >
{html_options values=$ManufacturerKeys output=$Manufacturers selected=$FK_glpi_enterprise}
</select>
- <input type="submit" value="{t}edit{/t}" name="edit_manufacturer" {$FK_glpi_enterpriseACL}>
+{/render}
+{render acl=$FK_glpi_enterpriseACL}
+ <input type="submit" value="{t}edit{/t}" name="edit_manufacturer" >
+{/render}
</td>
</tr>
</table>
<table summary="" width="100%">
<tr>
<td width="20">
- <input type="checkbox" name="flags_serial" {if $flags_serial=="1"} checked {/if} value="1" {$flags_serialACL}>
+{render acl=$flags_serialACL}
+ <input type="checkbox" name="flags_serial" {if $flags_serial=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
{t}Serial{/t}
</tr>
<tr>
<td width="20">
- <input type="checkbox" name="flags_par" {if $flags_par=="1"} checked {/if} value="1" {$flags_parACL}>
+{render acl=$flags_parACL}
+ <input type="checkbox" name="flags_par" {if $flags_par=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
{t}Parallel{/t}
</tr>
<tr>
<td width="20">
- <input type="checkbox" name="flags_usb" {if $flags_usb=="1"} checked {/if} value="1" {$flags_usbACL}>
+{render acl=$flags_usbACL}
+ <input type="checkbox" name="flags_usb" {if $flags_usb=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
{t}USB{/t}
</td>
<td>
<i>{$tech_num} </i>
- <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" {$tech_numACL}>
+{render acl=$tech_numACL}
+ <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" >
+{/render}
</td>
</tr>
<tr>
</td>
<td>
<i>{$contact_num} </i>
- <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+{render acl=$contact_numACL}
+ <input type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+{/render}
+
</td>
</tr>
</table>
<table summary="" width="100%">
<tr>
<td>
+{render acl=$AttachmentsACL}
{$AttachmentsDiv}
- <input name="AddAttachment" value="{t}Add{/t}" type="submit">
+{/render}
+{render acl=$AttachmentsACL}
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit" >
+{/render}
</td>
</tr>
</table>
<table summary="" width="100%">
<tr>
<td width="100%">
- <textarea name="comments" style="width:100%;height:100px;" {$commentsACL}>{$comments}</textarea>
+{render acl=$commentsACL}
+ <textarea name="comments" style="width:100%;height:100px;" >{$comments}</textarea>
+{/render}
</td>
</tr>
</table>
<table summary="" width="100%">
<tr>
<td>
- <select name="Cartridges[]" {$CartridgesACL} style="height:100px;width:100%;" multiple>
+{render acl=$CartridgesACL}
+ <select name="Cartridges[]" style="height:100px;width:100%;" multiple>
{html_options values=$CartridgeKeys output=$Cartridges}
</select>
- <input name="AddCartridge" value="{t}Add{/t}" type="submit">
- <input name="RemoveCartridge" value="{t}Remove{/t}" type="submit">
+{/render}
+{render acl=$CartridgesACL}
+ <input name="AddCartridge" value="{t}Add{/t}" type="submit" >
+{/render}
+{render acl=$CartridgesACL}
+ <input name="RemoveCartridge" value="{t}Remove{/t}" type="submit" >
+{/render}
</td>
</tr>
</table>