summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f964552)
raw | patch | inline | side by side (parent: f964552)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Oct 2007 08:30:16 +0000 (08:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Oct 2007 08:30:16 +0000 (08:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7673 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiSummaryTab.inc | patch | blob | history |
index 38b170841ef9d6059cfd9c91382ea3535aa2126b..62ba967a93d869f9a03c811bb5712c374c007c5b 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();
}