From b57c77d36fbcf682603db5e7c247d2b6ff6ccee2 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 27 Jun 2006 03:26:33 +0000 Subject: [PATCH] Removed object DN from restore all deleted objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3914 594d385d-05f5-0310-b6e9-bd551577e9d8 --- ihtml/themes/default/snapshotdialog.tpl | 2 ++ include/class_SnapShotDialog.inc | 1 + 2 files changed, 3 insertions(+) diff --git a/ihtml/themes/default/snapshotdialog.tpl b/ihtml/themes/default/snapshotdialog.tpl index 833478835..af4ec1e7d 100755 --- a/ihtml/themes/default/snapshotdialog.tpl +++ b/ihtml/themes/default/snapshotdialog.tpl @@ -8,12 +8,14 @@

 


+ {if !$restore_deleted} + {/if}
{t}Object{/t}  {$CurrentDN}

diff --git a/include/class_SnapShotDialog.inc b/include/class_SnapShotDialog.inc index 7d8608efb..4d44f0b70 100755 --- a/include/class_SnapShotDialog.inc +++ b/include/class_SnapShotDialog.inc @@ -123,6 +123,7 @@ class SnapShotDialog extends plugin $smarty->assign("CountSnapShots",count($list_of_elements)); } + $smarty->assign("restore_deleted",$this->display_all_removed_objects); $smarty->assign("RestoreMode",$this->display_restore_dialog); $smarty->assign("CurrentDate",date("d.m.Y H:i")); $smarty->assign("CurrentDN",$this->dn); -- 2.30.2