From 8fb52e05d216f7de870e90776c4a4a0563f479e7 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 26 Oct 2007 08:06:29 +0000 Subject: [PATCH] Updated FAIsummary. Fixed whitepage when template was clicked. Closes: #240 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7671 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiSummaryTab.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/fai/class_faiSummaryTab.inc b/plugins/admin/fai/class_faiSummaryTab.inc index 38cde5f4e..4c93d64cc 100644 --- a/plugins/admin/fai/class_faiSummaryTab.inc +++ b/plugins/admin/fai/class_faiSummaryTab.inc @@ -178,7 +178,7 @@ class faiSummaryTab extends plugin{ if(isset($_GET['show'])){ $ldap = $this->config->get_ldap_link(); - $ldap->cat(base64_decode($_GET['id']), array('FAIscript', 'FAIhook', 'FAItemplate')); + $ldap->cat(base64_decode($_GET['id']), array('FAIscript', 'FAIhook', 'FAItemplateFile')); $attrs = $ldap->fetch(); if($_GET['type'] == "FAIscript"){ $str = $attrs['FAIscript'][0]; @@ -187,7 +187,7 @@ class faiSummaryTab extends plugin{ }elseif($_GET['type'] == "FAItemplate"){ $str = $attrs['FAItemplateFile'][0]; } - echo nl2br($str); + echo "
".$str."
"; exit(); } -- 2.30.2