summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45450ee)
raw | patch | inline | side by side (parent: 45450ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Sep 2006 05:51:15 +0000 (05:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Sep 2006 05:51:15 +0000 (05:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4737 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_glpiPrinterAccount.inc | patch | blob | history | |
plugins/admin/systems/glpiPrinter.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_glpiPrinterAccount.inc b/plugins/admin/systems/class_glpiPrinterAccount.inc
index 61fd547884a18e17ba2edeb84ffd1ef2837f94a7..d9716247dfb2f5e35beb658af7c57cdc2348a8b2 100644 (file)
}
}
+ if(isset($_POST['FK_glpi_enterprise']) && $this->acl_is_writeable("FKglpienterprise")){
+ $this->FK_glpi_enterprise = $_POST['FK_glpi_enterprise'];
+ }
+
foreach(array("flags_serial","flags_par","flags_usb") as $checkboxes){
if($this->acl_is_writeable($checkboxes)){
if(isset($_POST[$checkboxes])){
"location" => _("Location"),
"contact_num" => _("Contact person"),
"type" => _("Type"),
- "FK_glpi_enterprise" => _("Manufacturer"),
+ "FKglpienterprise" => _("Manufacturer"),
"Attachments" => _("Attachments"),
index 225f52e7c06b4802f39c7d01be8e366d468db857..46e3446780e041bd643446c9a13e67420c230989 100644 (file)
<td>{t}Manufacturer{/t}
</td>
<td>
-{render acl=$FK_glpi_enterpriseACL}
+{render acl=$FKglpienterpriseACL}
<select name="FK_glpi_enterprise" >
{html_options values=$ManufacturerKeys output=$Manufacturers selected=$FK_glpi_enterprise}
</select>
{/render}
-{render acl=$FK_glpi_enterpriseACL}
+{render acl=$FKglpienterpriseACL}
<input type="submit" value="{t}edit{/t}" name="edit_manufacturer" >
{/render}
</td>