diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc
index 59ce69d895962bdcdc0d79464292fe32495de229..6972caefa8d1069ca5fc529179b6cf5a64d35cb3 100644 (file)
{
/* Definitions */
- var $plHeadline = "Devices";
- var $plDescription = "Manage devices";
+ var $plHeadline = "Hotplug devices";
+ var $plDescription = "Manage hotplug devices";
/* Dialog attributes */
var $ui = NULL;
} else {
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- print_red (msgPool::permDelete());
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), INFO_DIALOG);
new log("security","devices/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
/* Obviously the user isn't allowed to delete. Show message and
clean session. */
- print_red (msgPool::permDelete());
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), INFO_DIALOG);
}
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- print_red (msgPool::permDelete());
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), INFO_DIALOG);
new log("security","devices/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
function save_object() {
$this->DivListDevices->save_object();
+ if(is_object($this->CopyPasteHandler)){
+ $this->CopyPasteHandler->save_object();
+ }
}