X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_SnapShotDialog.inc;h=3bde8d02e759e3e03ff58087be829bd3a1daf6f3;hb=d15deb74627e9e17b6244224eb6741ecda0a066a;hp=ac0e034e3ad59257ae4ccfca76756082cab86b5d;hpb=bd3a64a768d3876b0688c77cc07e144d7ebf4f44;p=gosa.git diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc index ac0e034e3..3bde8d02e 100644 --- a/gosa-core/include/class_SnapShotDialog.inc +++ b/gosa-core/include/class_SnapShotDialog.inc @@ -40,7 +40,7 @@ class SnapShotDialog extends plugin var $last_list = array(); - function __construct(&$config, $dn, &$parent) + function SnapShotDialog(&$config, $dn, &$parent) { plugin::plugin($config,$dn); $this->parent = &$parent; @@ -144,7 +144,7 @@ class SnapShotDialog extends plugin } $field0 = array("string"=> $time_stamp , "attach"=> "style='vertical-align:top;width:120px;'"); - $field1 = array("string"=> htmlentities (utf8_decode($display_data)), "attach"=> ""); + $field1 = array("string"=> htmlentities (utf8_decode(LDAP::fix($display_data))), "attach"=> ""); $field2 = array("string"=> str_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)); @@ -157,7 +157,7 @@ class SnapShotDialog extends plugin $smarty->assign("restore_deleted",$this->display_all_removed_objects); $smarty->assign("RestoreMode",$this->display_restore_dialog); $smarty->assign("CurrentDate",date(_("Y-m-d, H:i:s"))); - $smarty->assign("CurrentDN",$this->dn); + $smarty->assign("CurrentDN",LDAP::fix($this->dn)); $smarty->assign("CurrentDescription",$this->CurrentDescription); return($smarty->fetch(get_template_path("snapshotdialog.tpl"))); }