index f3c3511a0b82d18ed35db23993a0b7472a13a2a6..eea99fdf2d7a024c573f9b1fab16114dea538f55 100644 (file)
<table summary="" style="width:100%;">
<tr>
<table summary="" style="width:100%;">
<tr>
- <td style="width:50%;">
+ <td style="width:50%;vertical-align:top;" >
<!--Upper left-->
<h2>{t}Generic{/t}</h2>
<!--Upper left-->
<h2>{t}Generic{/t}</h2>
<td >{t}System type{/t}
</td>
<td>
<td >{t}System type{/t}
</td>
<td>
- <select name="type" {$typeACL}>
+{render acl=$typeACL}
+ <select name="type">
{html_options values=$SystemTypeKeys output=$SystemTypes selected=$type}
</select>
{html_options values=$SystemTypeKeys output=$SystemTypes 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}Operating system{/t}
</td>
<td>
</td>
</tr>
<tr>
<td>{t}Operating system{/t}
</td>
<td>
- <select name="os" {$osACL}>
+{render acl=$osACL}
+ <select name="os">
{html_options values=$OSKeys output=$OSs selected=$os}
</select>
{html_options values=$OSKeys output=$OSs selected=$os}
</select>
- <input type="submit" value="{t}edit{/t}" name="edit_os" {$osACL}>
+{/render}
+{render acl=$osACL}
+ <input type="submit" value="{t}edit{/t}" name="edit_os">
+{/render}
</td>
</tr>
<tr>
<td>{t}Manufacturer{/t}
</td>
<td>
</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>
{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="" width="100%">-->
+ <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>
<tr>
</td>
</tr>
<tr>
</td>
<td>
<i>{$tech_num} </i>
</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>
</table>
</td>
<td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
</td>
</tr>
</table>
</td>
<td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
-
<!--Upper right-->
<!--Upper right-->
- <h2>{t}Contacts{/t}</h2>
+ <h2>{t}Comment{/t}</h2>
<table summary="" width="100%">
<tr>
<table summary="" width="100%">
<tr>
- <td>
- {t}Contact person{/t}
- </td>
- <td width="100%">
- <i>{$contact_num} </i>
- <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
- </td>
- </tr>
- <tr>
- <td valign="top">
- {t}Comments{/t}
- </td>
- <td>
- <textarea name="comments" style="width:100%;height:110px;" {$commentsACL}>{$comments}</textarea>
+ <td valign="top" colspan="2">
+{render acl=$commentsACL}
+ <textarea name="comments" style="width:100%;height:180px;">{$comments}</textarea>
+{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
<table summary="" width="100%">
<tr>
<td>
<table summary="" width="100%">
<tr>
<td>
- <select name="InstalledDevices" {$InstalledDevicesACL} style="height:120px;width:100%;" multiple>
+{render acl=$DevicesACL}
+ <select name="InstalledDevices" style="height:130px;width:100%;" multiple>
{html_options values=$InstalledDeviceKeys output=$InstalledDevices}
</select>
{html_options values=$InstalledDeviceKeys output=$InstalledDevices}
</select>
- <input name="AddDevice" value="{t}Edit{/t}" type="submit" {$InstalledDevicesACL}>
+{/render}
+{render acl=$DevicesACL}
+ <input name="AddDevice" value="{t}Edit{/t}" type="submit">
+{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
- <p class="seperator" > </p>
+<!-- <p class="seperator" > </p>
<input type="submit" value="{t}Trading{/t}" name="Trading">
<input type="submit" value="{t}Software{/t}" name="Software">
<input type="submit" value="{t}Trading{/t}" name="Trading">
<input type="submit" value="{t}Software{/t}" name="Software">
- <input type="submit" value="{t}Contracts{/t}" name="Contracts">
+ <input type="submit" value="{t}Contracts{/t}" name="Contracts"> -->
</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>
</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}
{$AttachmentsDiv}
- <input name="AddAttachment" value="{t}Add{/t}" type="submit" {$AttachmentsACL}>
+{/render}
+{render acl=$AttachmentsACL}
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit">
+{/render}
</td>
</tr>
</table>
</td>
</tr>
</table>
-
</td>
</tr>
</table>
<input type="hidden" name="glpi_tpl_posted" value="1">
</td>
</tr>
</table>
<input type="hidden" name="glpi_tpl_posted" value="1">
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.type.focus();
+ -->
+</script><p style="text-align:right">