From: hickert Date: Wed, 14 Jul 2010 13:55:13 +0000 (+0000) Subject: Udpated post handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=63e3ad8a6e2ecb3a467874e320d70b922f8afcf6;p=gosa.git Udpated post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/references/class_ldifViewer.inc b/gosa-core/plugins/generic/references/class_ldifViewer.inc index 79d2381df..9c097194a 100644 --- a/gosa-core/plugins/generic/references/class_ldifViewer.inc +++ b/gosa-core/plugins/generic/references/class_ldifViewer.inc @@ -15,7 +15,7 @@ class ldifViewer extends plugin function execute() { $smarty = get_smarty(); - $smarty->assign('ldif', $this->ldif); + $smarty->assign('ldif', set_post($this->ldif)); return($smarty->fetch(get_template_path('ldifViewer.tpl'))); } } diff --git a/gosa-core/plugins/generic/references/class_reference.inc b/gosa-core/plugins/generic/references/class_reference.inc index ad390a4c0..11a5383b9 100644 --- a/gosa-core/plugins/generic/references/class_reference.inc +++ b/gosa-core/plugins/generic/references/class_reference.inc @@ -154,7 +154,7 @@ class reference extends plugin // Convert the modifyTimestamp to a human readable value $tz = timezone::get_default_timezone(); - $smarty->assign('modifyTimestamp', date('d.m.Y H:i:s', strtotime($this->modifyTimestamp))); + $smarty->assign('modifyTimestamp', set_post(date('d.m.Y H:i:s', strtotime($this->modifyTimestamp)))); $smarty->assign('objectList', $this->objectList); $smarty->assign("acls",$this->aclResolver->getReadableACL());