From: hickert Date: Fri, 26 Oct 2007 08:30:16 +0000 (+0000) Subject: Fixed template in FAIsummary X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d8f4dbda3551e2689418529390e4f0927f96a3f3;p=gosa.git Fixed template in FAIsummary git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7673 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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(); }