diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc
index 50b3ae29bd56c3acf0daa8421f6e0ed03e43f3bd..b13f1cdbec430e5c0552ed634eedd552287668e7 100644 (file)
if($found){
$this->del_dn = $entry;
$smarty= get_smarty();
- $smarty->assign("intro", sprintf(_("You're about to delete the snapshot '%s'."), @LDAP::fix($this->del_dn)));
+ $smarty->assign("intro", sprintf(_("You're about to delete the snapshot '%s'."), LDAP::fix($this->del_dn)));
return($smarty->fetch (get_template_path('remove.tpl')));
}
}
$field0 = array("string"=> $time_stamp , "attach"=> "style='vertical-align:top;width:120px;'");
$field1 = array("string"=> htmlentities (utf8_decode($display_data)), "attach"=> "");
- $field2 = array("string"=> preg_replace("/%KEY/",base64_encode($entry['dn']),$actions) ,
+ $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));
}