X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_SnapShotDialog.inc;h=4d44f0b708e5983a162d5c55e9488db3e28a289a;hb=b57c77d36fbcf682603db5e7c247d2b6ff6ccee2;hp=9391c1370493078d02ab910b7c10d2ec6ba108dc;hpb=365b69553ef4d084fd7bc6bd4fd8aada5918c0ec;p=gosa.git
diff --git a/include/class_SnapShotDialog.inc b/include/class_SnapShotDialog.inc
index 9391c1370..4d44f0b70 100755
--- a/include/class_SnapShotDialog.inc
+++ b/include/class_SnapShotDialog.inc
@@ -100,8 +100,10 @@ class SnapShotDialog extends plugin
/* Add Elements to divlist */
foreach($list_of_elements as $entry){
- $actions = " ";
- $actions.= " ";
+ $actions = " ";
+ $actions.= " ";
$time_stamp = date("d.m.Y H.i.s",preg_replace("/\-.*$/","",$entry['gosaSnapshotTimestamp'][0]));
$display_data = $entry['description'][0];
@@ -111,7 +113,7 @@ class SnapShotDialog extends plugin
}
$field0 = array("string"=> $time_stamp , "attach"=> "style='vertical-align:top;width:120px;'");
- $field1 = array("string"=> $display_data , "attach"=> "");
+ $field1 = array("string"=> htmlentities (utf8_decode($display_data)), "attach"=> "");
$field2 = array("string"=> preg_replace("/%KEY/",base64_encode($entry['dn']),$actions) ,
"attach"=> "style='border-right:0px;vertical-align:top;width:40px;text-align:right;'");
$DivListSnapShots->AddEntry(array($field0,$field1,$field2));
@@ -121,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);