Code

Uncommented xls
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 09:31:01 +0000 (09:31 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 09:31:01 +0000 (09:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1725 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/gosa.conf
html/getxls.php

index 943fdec4b215e122e56bc8cd70e0486bd537c140..77c883508b815c7b473b8248d15d2a1f17721430 100644 (file)
 
        <ldiftab>
                <tab class="ldifexport" name="Export" />
-               <tab class="xlsexport" name="Excel Export" />
+<!--           <tab class="xlsexport" name="Excel Export" />   -->
                <tab class="ldifimport" name="Import" />
                <tab class="csvimport" name="CSV Import" />
        </ldiftab>
index 302630befa007fbadc7e052737a1a9ffb6d31bbe..d50480fcef6d890649de3e3754602291b8fcc380 100644 (file)
@@ -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);