summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 446f12d)
raw | patch | inline | side by side (parent: 446f12d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 13:27:33 +0000 (13:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 13:27:33 +0000 (13:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6657 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupApplication.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index c5c9572fe19ddb9b38ad7f9fced218d5e37c27f1..9b2efd405650615b61ff257c4740ccc5719a3c5c 100644 (file)
/* Show main page */
if ($this->dialog){
$smarty->assign("table", $this->table);
- $display.= $smarty->fetch (get_template_path('application_options.tpl', TRUE));
+ $display.= $smarty->fetch (get_template_path('application_options.tpl', TRUE,dirname(__FILE__)));
} else {
- $display.= $smarty->fetch (get_template_path('application.tpl', TRUE));
+ $display.= $smarty->fetch (get_template_path('application.tpl', TRUE, dirname(__FILE__)));
}
return ($display);
}
$ldap->search("(&(objectClass=organizationalUnit)(objectClass=FAIbranch))",array("ou","dn"));
$ret =array();
while($attrs = $ldap->fetch()){
- if(preg_match("/ou=fai,/",$attrs['dn'])){
- $bb = preg_replace("/ou=fai,.*/","",$attrs['dn']);
+
+ if(preg_match("/ou=apps,/",$attrs['dn'])){
+ $bb = preg_replace("/ou=apps,.*/","",$attrs['dn']);
$parts = array_reverse(split("ou=",$bb));
$str ="";