From 63e3ad8a6e2ecb3a467874e320d70b922f8afcf6 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Jul 2010 13:55:13 +0000 Subject: [PATCH] Udpated post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/generic/references/class_ldifViewer.inc | 2 +- gosa-core/plugins/generic/references/class_reference.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.30.2