index 835a00eca76a3cce466c2be5640ac494d8303b0e..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}>
- </td>
- </tr>
- </table>
- <p class="seperator" > </p>
- <h2>{t}Contacts{/t}</h2>
- <table summary="" cellpadding=5>
- <tr>
- <td>{t}Technical responsible{/t}
- </td>
- <td>
- <i>{$tech_num} </i>
- <input type="submit" value="{t}Choose{/t}" name="SelectTechPerson" {$tech_numACL}>
- </td>
- </tr>
- <tr>
- <td>
- {t}Contact person{/t}
- </td>
- <td>
- <i>{$contact_num} </i>
- <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
- </td>
- </tr>
- </table>
-<br>
- <p class="seperator" > </p>
- <h2>{t}Information{/t}</h2>
- <table summary="" width="100%">
- <tr>
- <td width="100%">
- <textarea name="comments" style="width:100%;height:100px;" {$commentsACL}>{$comments}</textarea>
+{/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}
</tr>
</table>
<input name="glpiPrinterFlagsPosted" value="1" type="hidden">
- <p class="seperator" > </p>
+ </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>{t}Technical responsible{/t}
+ </td>
+ <td>
+ <i>{$tech_num} </i>
+{render acl=$tech_numACL}
+ <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" >
+{/render}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}Contact person{/t}
+ </td>
+ <td>
+ <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>
- <select name="Attachments" {$AttachmentsACL} style="height:100px;width:100%;" multiple>
- {html_options values=$AttachmentKeys output=$Attachments}
- </select>
- <input name="AddAttachment" value="{t}Add{/t}" type="submit">
- <input name="RemoveAttachment" value="{t}Remove{/t}" type="submit">
+{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 width="100%">
+{render acl=$commentsACL}
+ <textarea name="comments" style="width:100%;height:100px;" >{$comments}</textarea>
+{/render}
</td>
</tr>
</table>
- <p class="seperator" > </p>
+ </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="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>