diff --git a/plugins/admin/ogroups/class_divListOGroup.inc b/plugins/admin/ogroups/class_divListOGroup.inc
index 073286cbf871516a5c7806991dd6ec629ecf4940..415a6b9641b4f760fc3b96fc24a629a7ad4293e1 100755 (executable)
function divListOGroup ($config,$parent)
{
- MultiSelectWindow::MultiSelectWindow($config,"OGroups");
+ MultiSelectWindow::MultiSelectWindow($config, "OGroups", "ogroups");
$this->parent = $parent;
$this->ui = get_userinfo();
" <input class='center' type='image' src='images/list_reload.png' align='middle'
title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'> ".
" <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
-
- if($this->parent->snapshotEnabled()){
- $listhead .= " <input class='center' type='image' align='middle' src='images/restore.png'
- title='"._("Restore snapshopts of already deleted objects")."' alt='"._("Restore")."' name='RestoreDeletedSnapShot'>".
- " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
- }
-
-
+ $listhead .= $this->get_snapshot_header($this->selectedBase);
$listhead .=" <input class='center' type='image' align='middle' src='images/list_new_ogroup.png'
title='"._("Create new object group")."' alt='"._("new")."' name='group_new'>".
$Copy_Paste.
foreach($list as $key => $val){
/* Create action icons */
- $actions = $this->GetSnapShotActions($val['dn']);
+ $actions= "";
if($this->parent->CopyPasteHandler){
$actions.= "<input class='center' type='image'
src='images/editcut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
}
$actions.= "<input class='center' type='image'
src='images/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>";
+ $actions.= $this->GetSnapShotActions($val['dn']);
$actions.= "<input class='center' type='image'
src='images/edittrash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>";