Code

Removed object DN from restore all deleted objects
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 03:26:33 +0000 (03:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 03:26:33 +0000 (03:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3914 594d385d-05f5-0310-b6e9-bd551577e9d8

ihtml/themes/default/snapshotdialog.tpl
include/class_SnapShotDialog.inc

index 833478835213347c4423e7c45cca7808c12ad054..af4ec1e7d1a410d0f90984a8b801af9a6ce5414d 100755 (executable)
@@ -8,12 +8,14 @@
 <p class="seperator">&nbsp;</p>
 <br>
 <table summary="" style="width:100%">
+       {if !$restore_deleted}
        <tr>
                <td>
                <b>{t}Object{/t}</b>&nbsp;
                {$CurrentDN}
                </td>
        </tr>
+       {/if}
        <tr>
                <td>
                        <br>
index 7d8608efbffcd865eab3b34eccde2f2d11d4a54c..4d44f0b708e5983a162d5c55e9488db3e28a289a 100755 (executable)
@@ -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);