summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be7deeb)
raw | patch | inline | side by side (parent: be7deeb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 10:39:14 +0000 (10:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 10:39:14 +0000 (10:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14632 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history | |
gosa-core/plugins/admin/users/user-list.xml | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 511ac7aa8bedeebc9b7cf4319945a336c96d19c5..f380690f7d6d3813dd175b5c0a4f06ae8b7de68e 100644 (file)
// Build headpage
$headpage = new listing(get_template_path("user-list.xml", true));
$headpage->setFilter($filter);
+ $this->cpHandler = new CopyPasteHandler($this->config);
parent::__construct($config, $ui, "users", $headpage);
- $this->registerAction("new", "newEntry");
- $this->registerAction("edit", "editEntry");
- $this->registerAction("apply", "applyChanges");
- $this->registerAction("save", "saveChanges");
+ $this->registerAction("new", "newEntry");
+ $this->registerAction("edit", "editEntry");
+ $this->registerAction("apply", "applyChanges");
+ $this->registerAction("save", "saveChanges");
$this->registerAction("cancel", "cancelEdit");
$this->registerAction("remove", "removeEntryRequested");
$this->registerAction("removeConfirmed", "removeEntryConfirmed");
+
+ $this->registerAction("copy", "copyPasteHandler");
+ $this->registerAction("cut", "copyPasteHandler");
+ $this->registerAction("paste", "copyPasteHandler");
}
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
index 14555d0ee0cf57a41188948d9bae47a17d865299..5111f87bb63636c58180d35c945596d8d7672a35 100644 (file)
<type>separator</type>
</action>
+ <action>
+ <name>cp</name>
+ <type>copypaste</type>
+ </action>
+
<action>
<type>exporter</type>
</action>
</actionmenu>
<actiontriggers snapshot="true" copypaste="true">
- <action>
- <name>provision</name>
- <type>entry</type>
- <objectclass>gosaAccount</objectclass>
- <image>images/lists/reload.png</image>
- <label>Provision all accounts</label>
- </action>
<action>
<name>edit</name>
<label>Remove person</label>
</action>
+ <action>
+ <name>cp</name>
+ <type>copypaste</type>
+ <acl>users/user[w]</acl>
+ </action>
+
</actiontriggers>
</list>