Code

Udpated post handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Jul 2010 13:55:13 +0000 (13:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 Jul 2010 13:55:13 +0000 (13:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19014 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_ldifViewer.inc
gosa-core/plugins/generic/references/class_reference.inc

index 79d2381df70040cb0b8c10a6211fbb55c76b36fa..9c097194ae9c4da8b0f723777799d558052749e7 100644 (file)
@@ -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')));
     }
 }
index ad390a4c0103f70118c57479fa93a220f1395f9f..11a5383b94cebb18883783eacadd22604ce50b4b 100644 (file)
@@ -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());