summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eab5161)
raw | patch | inline | side by side (parent: eab5161)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Oct 2007 08:06:29 +0000 (08:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Oct 2007 08:06:29 +0000 (08:06 +0000) |
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
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 | patch | blob | history |
index 38cde5f4ec2f4e62599b67eb6672518ffee8a832..4c93d64ccc47cc2af746fffd0ebca9ccd0c4e263 100644 (file)
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];
}elseif($_GET['type'] == "FAItemplate"){
$str = $attrs['FAItemplateFile'][0];
}
- echo nl2br($str);
+ echo "<pre>".$str."</pre>";
exit();
}