summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bbe6dde)
raw | patch | inline | side by side (parent: bbe6dde)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 13:32:31 +0000 (13:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 13:32:31 +0000 (13:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18261 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/ldapmanager/html/getxls.php | patch | blob | history |
index b4f19fbc41d6fee0a5ac7b50b6ec7d66556f2e7b..e0f3fc0471e2e3ad332f0087fe06f30d09c5911c 100644 (file)
/* SYSTEMS
Get all systems from th $dn
and put them into the xls work sheet */
- case get_ou('systemRDN'):
+ case get_ou("servgeneric", "serverRDN") :
$name_section=_("Servers");
$computers= $ldap->gen_xls($dn,"(&(objectClass=*)(cn=*))",array("cn","description","uid"));
/* SYSTEMS
Get all systems from th $dn
and put them into the xls work sheet */
- case get_ou('serverRDN'): $servers= $ldap->gen_xls($dn,"(objectClass=*)",array("cn"));
+ case get_ou("servgeneric", "serverRDN") : $servers= $ldap->gen_xls($dn,"(objectClass=*)",array("cn"));
$intitul=array(_("Server name").":");
//name of the xls file
$computers= $ldap->gen_xls("ou=computers,".$dn,"(objectClass=*)",array("cn","description","uid"));
$computers_intitul=array(_("Description").":",_("UID").":");
//data about servers
- $servers= $ldap->gen_xls(get_ou('serverRDN').$dn,"(objectClass=*)",array("cn"));
+ $servers= $ldap->gen_xls(get_ou("servgeneric", "serverRDN") .$dn,"(objectClass=*)",array("cn"));
$servers_intitul=array(_("Name").":");
//data about addressbook
$address= $ldap->gen_xls("dc=addressbook,".$dn,"(objectClass=*)",