summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4132dcd)
raw | patch | inline | side by side (parent: 4132dcd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Sep 2010 13:38:07 +0000 (13:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Sep 2010 13:38:07 +0000 (13:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19688 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc b/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc
index 0f82cd36b7b2637cb3802710827c0bc6c2f103a4..c947f5b5e17bf051393f3dbfada3dc407bbba132 100644 (file)
function execute()
{
plugin::execute();
-
$smarty = get_smarty();
foreach($this->attributes as $attr){
$smarty->assign($attr, $this->$attr);
}
return($smarty->fetch(get_template_path('goto/devices/registeredDevice.tpl', TRUE)));
-
+ }
+
+
+ function save()
+ {
+ plugin::save();
+ $this->cleanup();
+ $ldap=$this->config->get_ldap_link();
+ $ldap->cd($this->config->current['BASE']);
+ $ldap->cd($this->dn);
+ $ldap->modify($this->attrs);
}
"manager" => _("Manager"),
"deviceUUID" => _("Uuid"),
"deviceStatus" => _("Stauts")
- )
- ));
+ )
+ )
+ );
}
}