index 91da06e94bdb155aca7ff482a794eb4758dee55b..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>
- <p class="seperator" > </p>
- <h2>{t}Contacts{/t}</h2>
- <table summary="" cellpadding=5>
+ </td>
+ <td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
+ <h2>{t}Supported interfaces{/t}</h2>
+ <table summary="" width="100%">
<tr>
- <td>{t}Technical responsible{/t}
+ <td width="20">
+{render acl=$flags_serialACL}
+ <input type="checkbox" name="flags_serial" {if $flags_serial=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
- <i>{$tech_num} </i>
- <input type="submit" value="{t}Choose{/t}" name="SelectTechPerson" {$tech_numACL}>
+ {t}Serial{/t}
</td>
</tr>
<tr>
- <td>
- {t}Contact person{/t}
+ <td width="20">
+{render acl=$flags_parACL}
+ <input type="checkbox" name="flags_par" {if $flags_par=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
- <i>{$contact_num} </i>
- <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+ {t}Parallel{/t}
</td>
</tr>
- </table>
- <p class="seperator" > </p>
- <h2>{t}Supported interfaces{/t}</h2>
- <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_usbACL}
+ <input type="checkbox" name="flags_usb" {if $flags_usb=="1"} checked {/if} value="1" >
+{/render}
</td>
<td>
- {t}Serial{/t}
+ {t}USB{/t}
</td>
</tr>
+ </table>
+ <input name="glpiPrinterFlagsPosted" value="1" type="hidden">
+ </td>
+ </tr>
+</table>
+<p class="seperator" > </p>
+<table summary="" style="width:100%;">
+ <tr>
+ <td style="width:50%;vertical-align: top;">
+ <h2>{t}Contacts{/t}</h2>
+ <table summary="" cellpadding=5>
<tr>
- <td width="20">
- <input type="checkbox" name="flags_par" {if $flags_par=="1"} checked {/if} value="1" {flags_parACL}>
+ <td>{t}Technical responsible{/t}
</td>
<td>
- {t}Parallel{/t}
+ <i>{$tech_num} </i>
+{render acl=$tech_numACL}
+ <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" >
+{/render}
</td>
</tr>
<tr>
- <td width="20">
- <input type="checkbox" name="flags_usb" {if $flags_usb=="1"} checked {/if} value="1" {flags_usbACL}>
+ <td>
+ {t}Contact person{/t}
</td>
<td>
- {t}USB{/t}
+ <i>{$contact_num} </i>
+{render acl=$contact_numACL}
+ <input type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
+{/render}
+
</td>
</tr>
</table>
</td>
<td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
+ <h2>{t}Attachments{/t}</h2>
+ <table summary="" width="100%">
+ <tr>
+ <td>
+{render acl=$AttachmentsACL}
+ {$AttachmentsDiv}
+{/render}
+{render acl=$AttachmentsACL}
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit" >
+{/render}
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<p class="seperator" > </p>
+<table summary="" style="width:100%;">
+ <tr>
+ <td style="width:50%;vertical-align: top;">
<h2>{t}Information{/t}</h2>
<table summary="" width="100%">
<tr>
- <td style="vertical-align: top;">
- {t}Comments{/t}
- </td>
- <td>
- <textarea name="comments" style="width:100%;height:110px;" {$commentsACL}>{$comments}</textarea>
+ <td width="100%">
+{render acl=$commentsACL}
+ <textarea name="comments" style="width:100%;height:100px;" >{$comments}</textarea>
+{/render}
</td>
</tr>
</table>
- <p class="seperator" > </p>
- <h2>{t}Attachments{/t}</h2>
+ </td>
+ <td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
+ <h2>{t}Installed cartridges{/t}</h2>
<table summary="" width="100%">
<tr>
<td>
- <select name="Attachments" {$AttachmentsACL} style="height:120px;width:100%;" multiple>
- {html_options values=$AttachmentKeys output=$Attachments}
+{render acl=$CartridgesACL}
+ <select name="Cartridges[]" style="height:100px;width:100%;" multiple>
+ {html_options values=$CartridgeKeys output=$Cartridges}
</select>
- <input name="AddAttachment" value="{t}Add{/t}" type="submit">
- <input name="RemoveAttachment" 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>