index 120ca6e652fd283c9fe2c7eefa74299418b9f982..8c50d468bb4f5e4862681e7778ef2f5aa7d54ff3 100644 (file)
<table summary="" style="width:100%;">
<tr>
- <td style="width:50%;">
+ <td style="width:50%;vertical-align:top;" >
<!--Upper left-->
<h2>{t}Generic{/t}</h2>
- <table summary="">
+ <table summary="" cellpadding=5>
<tr>
- <td>{t}System type{/t}
+ <td >{t}System type{/t}
</td>
<td>
- <select name="SystemType" {$SystemTypeACL}>
- {html_options values=$SystemTypes output=$SystemTypes selected=$SystemType}
- </select>
+ <select name="type" {$typeACL}>
+ {html_options values=$SystemTypeKeys output=$SystemTypes selected=$type}
+ </select>
+ <input type="submit" value="{t}edit{/t}" name="edit_type" {$typeACL}>
</td>
</tr>
<tr>
<td>{t}Operating system{/t}
</td>
<td>
- <select name="OS" {$OSACL}>
- {html_options values=$OSs output=$OSs selected=$OS}
+ <select name="os" {$osACL}>
+ {html_options values=$OSKeys output=$OSs selected=$os}
</select>
+ <input type="submit" value="{t}edit{/t}" name="edit_os" {$osACL}>
</td>
</tr>
<tr>
<td>{t}Manufacturer{/t}
</td>
<td>
- <select name="Manufacturer" {$ManufacturerACL}>
- {html_options values=$Manufacturers output=$Manufacturers selected=$Manufacturer}
+ <select name="FK_glpi_enterprise" {$FK_glpi_enterpriseACL}>
+ {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="" width="100%">-->
<tr>
- <td>{t}Technicalresposible{/t}
+ <td>
+ {t}Contact person{/t}
</td>
<td>
- <select name="TechnicalResponsible" {$TechnicalResponsibleACL}>
- {html_options values=$TechnicalResponsibles output=$TechnicalResponsibles selected=$TechnicalResponsible}
- </select>
+ <i>{$contact_num} </i>
+ <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
</td>
</tr>
- </table>
- <p class="seperator" > </p>
- <h2>{t}Installed devices{/t}</h2>
- <table summary="" width="100%">
<tr>
+ <td>{t}Technical responsible{/t}
+ </td>
<td>
- <select name="InstalledDevices" {$InstalledDevicesACL} style="height:120px;width:100%;" multiple>
- {html_options values=$InstalledDevices output=$InstalledDevices}
- </select>
- <input name="AddDevice" value="{t}Add{/t}" type="submit">
+ <i>{$tech_num} </i>
+ <input type="submit" value="{t}Edit{/t}" name="SelectTechPerson" {$tech_numACL}>
</td>
</tr>
</table>
- <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}Contracts{/t}" name="Contracts">
</td>
<td style="border-left: 1px solid rgb(160, 160, 160); vertical-align: top; padding-right: 5px;">
<!--Upper right-->
- <h2>{t}Contacts{/t}</h2>
+ <h2>{t}Comments{/t}</h2>
<table summary="" width="100%">
<tr>
- <td>
- {t}Contact person{/t}
- </td>
- <td>
- contact person sdasd <input type="submit" value="{t}Edit{/t}"><img src="images/mailto.png" class="center" alt="{t}mailto{/t}">
+ <td valign="top" colspan="2">
+ <textarea name="comments" style="width:100%;height:140px;" {$commentsACL}>{$comments}</textarea>
</td>
</tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<p class="seperator" > </p>
+<table summary="" style="width:100%;">
+ <tr>
+ <td style="width:50%;">
+ <h2>{t}Installed devices{/t}</h2>
+ <table summary="" width="100%">
<tr>
<td>
- {t}Comments{/t}
- </td>
- <td>
- <textarea name="Comments" style="width:100%;height:110px;" ></textarea>
+ <select name="InstalledDevices" {$InstalledDevicesACL} style="height:130px;width:100%;" multiple>
+ {html_options values=$InstalledDeviceKeys output=$InstalledDevices}
+ </select>
+ <input name="AddDevice" value="{t}Edit{/t}" type="submit" {$InstalledDevicesACL}>
</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}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>
- <select name="Attachments" {$AttachmentsACL} style="height:120px;width:100%;" multiple>
- {html_options values=$Attachments output=$Attachments}
- </select>
- <input name="AddDevice" value="{t}Add{/t}" type="submit">
+ {$AttachmentsDiv}
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit" {$AttachmentsACL}>
</td>
</tr>
</table>
</td>
</tr>
</table>
+<input type="hidden" name="glpi_tpl_posted" value="1">