From d8f4dbda3551e2689418529390e4f0927f96a3f3 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 26 Oct 2007 08:30:16 +0000 Subject: [PATCH] Fixed template in FAIsummary git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7673 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 38b170841..62ba967a9 100644 --- a/plugins/admin/fai/class_faiSummaryTab.inc +++ b/plugins/admin/fai/class_faiSummaryTab.inc @@ -183,7 +183,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]; @@ -192,7 +192,7 @@ class faiSummaryTab extends plugin{ }elseif($_GET['type'] == "FAItemplate"){ $str = $attrs['FAItemplateFile'][0]; } - echo nl2br($str); + echo "
".$str."
"; exit(); } -- 2.30.2