summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e99742e)
raw | patch | inline | side by side (parent: e99742e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jan 2006 09:52:29 +0000 (09:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jan 2006 09:52:29 +0000 (09:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2500 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_glpiAccount.inc | patch | blob | history | |
plugins/admin/systems/glpi.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_glpiAccount.inc b/plugins/admin/systems/class_glpiAccount.inc
index 258499ff27c7d3c55650839148260a06bf4d2156..4323dfa7d439da9fadc91d88e5cc996878b6958f 100644 (file)
To avoid undefined indexes, if there is an error with the glpi db
*/
foreach(array("SystemTypes","SystemTypeKeys","Manufacturers",
- "OSs","TechnicalResponsibles","InstalledDevices","Attachments",
+ "OSs","TechnicalResponsibles","InstalledDevices","Attachments","AttachmentKeys",
"OSKeys","OSs","ManufacturerKeys","InstalledDeviceKeys") as $attr){
$smarty->assign($attr,array());
$smarty->assign($attr."ACL"," disabled ");
index c945c46f0cde1bdeaf277537295891f4ca8976bb..2a65c176352685df2f9ece6cd4de2107338bd001 100644 (file)
<select name="Attachments" {$AttachmentsACL} style="height:120px;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">
+ <input name="AddAttachment" value="{t}Add{/t}" type="submit" {$AttachmentsACL}>
+ <input name="RemoveAttachment" value="{t}Remove{/t}" type="submit" {$AttachmentsACL}>
</td>
</tr>
</table>