diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc
index 3a3f2768e28d189aae80acbc724b03fa278ca8ca..037963de6088bed57a04b39341881eeb0f984fd5 100644 (file)
public function execute()
{
+ plugin::execute();
$smarty = get_smarty();
- $smarty->assign("usePrototype", "true");
+
$smarty->assign("base", $this->baseSelector->render());
foreach($this->attributes as $attr){
$smarty->assign($attr,$this->$attr);
"plSection" => array("administration"),
"plCategory" => array("devices" => array("description" => _("Devices"),
"objectClass" => "gotoHotplugDevice")),
+ "plProperties" =>
+ array(
+ array(
+ "name" => "deviceRDN",
+ "type" => "rdn",
+ "default" => "ou=devices,",
+ "description" => "The 'deviceRDN' statement defines the location where new devices will be created. The default is 'ou=devices,'.",
+ "check" => "gosaProperty::isRdn",
+ "migrate" => "",
+ "group" => "plugin",
+ "mandatory" => FALSE)),
+
"plProvidedAcls"=> array(
"cn" => _("Name"),
"base" => _("Base"),