From: cajus Date: Fri, 28 Oct 2005 09:31:01 +0000 (+0000) Subject: Uncommented xls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a0e974f7aed1da999db3a6c64efddc832613f25f;p=gosa.git Uncommented xls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1725 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 943fdec4b..77c883508 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -165,7 +165,7 @@ - + diff --git a/html/getxls.php b/html/getxls.php index 302630bef..d50480fce 100644 --- a/html/getxls.php +++ b/html/getxls.php @@ -35,9 +35,9 @@ function dump_ldap ($mode= 0) $dn=$d.$n; // echo $dn ; $fname = tempnam("/tmp", "demo.xls"); - $workbook =& new writeexcel_workbook($fname); + $workbook= new writeexcel_workbook($fname); - $title_bold =& $workbook->addformat(array( + $title_bold= $workbook->addformat(array( bold => 1, color => 'black', size => 10, @@ -50,7 +50,7 @@ function dump_ldap ($mode= 0) $user= $ldap->gen_xls($dn,"(objectClass=*)",array("uid","dateOfBirth","gender","givenName","preferredLanguage")); $intitul=array("Date de naissance:","Sexe:","Nom/prénom","Langue"); - $worksheet =& $workbook->addworksheet('Users'); + $worksheet= $workbook->addworksheet('Users'); $worksheet->set_column('A:B', 32); @@ -203,12 +203,12 @@ function dump_ldap ($mode= 0) $fname = tempnam("/tmp", "demo.xls"); - $workbook =& new writeexcel_workbook($fname); - $worksheet =& $workbook->addworksheet('Users'); - $worksheet2 =& $workbook->addworksheet('Groups'); - $worksheet3 =& $workbook->addworksheet('Servers'); - $worksheet4 =& $workbook->addworksheet('Computers'); - $worksheet5 =& $workbook->addworksheet('Adressbook'); + $workbook = new writeexcel_workbook($fname); + $worksheet = $workbook->addworksheet('Users'); + $worksheet2 = $workbook->addworksheet('Groups'); + $worksheet3 = $workbook->addworksheet('Servers'); + $worksheet4 = $workbook->addworksheet('Computers'); + $worksheet5 = $workbook->addworksheet('Adressbook'); $worksheet->set_column('A:B', 32); $worksheet2->set_column('A:B', 32);