index fca7e980899f2f540dc4eec91b9b53a79ade0d75..c945c46f0cde1bdeaf277537295891f4ca8976bb 100644 (file)
<!--Upper left-->
<h2>{t}Generic{/t}</h2>
- <table summary="">
+ <table summary="" cellpadding=5>
<tr>
<td width="150">{t}System type{/t}
</td>
<select name="type" {$typeACL}>
{html_options values=$SystemTypeKeys output=$SystemTypes selected=$type}
</select>
- <input type="submit" value="{t}edit{/t}" name="edit_type">
+ <input type="submit" value="{t}edit{/t}" name="edit_type" {$typeACL}>
</td>
</tr>
<tr>
<select name="os" {$osACL}>
{html_options values=$OSKeys output=$OSs selected=$os}
</select>
- <input type="submit" value="{t}edit{/t}" name="edit_os">
+ <input type="submit" value="{t}edit{/t}" name="edit_os" {$osACL}>
</td>
</tr>
<tr>
<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">
+ <input type="submit" value="{t}edit{/t}" name="edit_manufacturer" {$FK_glpi_enterpriseACL}>
</td>
</tr>
<tr>
<td>{t}Technical responsible{/t}
</td>
<td>
- <i>{$tech_num}</i> <input type="submit" value="{t}Choose{/t}" name="SelectTechPerson">
+ <i>{$tech_num} </i>
+ <input type="submit" value="{t}Choose{/t}" name="SelectTechPerson" {$tech_numACL}>
</td>
</tr>
</table>
<tr>
<td>
<select name="InstalledDevices" {$InstalledDevicesACL} style="height:120px;width:100%;" multiple>
- {html_options values=$InstalledDevices output=$InstalledDevices}
+ {html_options values=$InstalledDeviceKeys output=$InstalledDevices}
</select>
- <input name="AddDevice" value="{t}Add{/t}" type="submit">
+ <input name="AddDevice" value="{t}Edit{/t}" type="submit" {$InstalledDevicesACL}>
</td>
</tr>
</table>
{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}">
+ <i>{$contact_num} </i>
+ <input {$contact_numACL} type="submit" name="SelectContactPerson" value="{t}Edit{/t}">
</td>
</tr>
<tr>
{t}Comments{/t}
</td>
<td>
- <textarea name="comments" style="width:100%;height:110px;" >{$comments}</textarea>
+ <textarea name="comments" style="width:100%;height:110px;" {$commentsACL}>{$comments}</textarea>
</td>
</tr>
</table>
<tr>
<td>
<select name="Attachments" {$AttachmentsACL} style="height:120px;width:100%;" multiple>
- {html_options values=$Attachments output=$Attachments}
+ {html_options values=$AttachmentKeys output=$Attachments}
</select>
- <input name="AddDevice" value="{t}Add{/t}" type="submit">
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit">
+ <input name="RemoveAttachment" value="{t}Remove{/t}" type="submit">
</td>
</tr>
</table>