summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6fa1d59)
raw | patch | inline | side by side (parent: 6fa1d59)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 29 Oct 2005 07:31:57 +0000 (07:31 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 29 Oct 2005 07:31:57 +0000 (07:31 +0000) |
* Added unlink to remove temporary files
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1752 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1752 594d385d-05f5-0310-b6e9-bd551577e9d8
html/getxls.php | patch | blob | history |
diff --git a/html/getxls.php b/html/getxls.php
index c8506ff11e49601facdaadaf9ee606af402eccfd..042b6488aa662b13e33bd8b08d0a0ab241b5b6a5 100644 (file)
--- a/html/getxls.php
+++ b/html/getxls.php
switch ($d){
case "ou=people," :
$user= $ldap->gen_xls($dn,"(objectClass=*)",array("uid","dateOfBirth","gender","givenName","preferredLanguage"));
- $intitul=array("Date de naissance:","Sexe:","Nom/prénom","Langue");
+ $intitul=array(_("Birthday").":", _("Sexe").":", _("Name")."/"._("Firstname").":",_("Language").":");
$worksheet=& $workbook->addworksheet('Users');
$worksheet->set_column('A:B', 32);
break;
case "ou=computers,": $computers= $ldap->gen_xls($dn,"(objectClass=*)",array("cn","description","uid"));
- $intitul=array("Description:","Uid:");
- $worksheet =& $workbook->addworksheet('Computers');
+ $intitul=array(_("Description").":",_("User ID").":");
+ $worksheet =& $workbook->addworksheet(_("Computers"));
$worksheet->set_column('A:B', 32);
//count number of computers
case "dc=addressbook,": //data about addressbook
$address= $ldap->gen_xls($dn,"(objectClass=*)",array("cn","displayName","facsimileTelephoneNumber","givenName","homePhone","homePostalAddress","initials","l","mail","mobile","o","ou","pager","telephoneNumber","postalAddress","postalCode","sn","st","title"));
- $intitul=array("cn","DisplayName:","Fax:","Nom/prénom:","Numero de telelphone:","Adresse du domicile:","Initiales:","Ville:","Adresse email:","GSM:","Societe:","Poste:","Pager:","Numero de telelphone:","Adresse:","Code postal:","Sn:","Pays:","Fonction:");
+ $intitul=array(_("Common name").":",_("Display Name").":",_("Fax").":",_("Name")."/"._("Firstname").":","Numero de telelphone:","Adresse du domicile:","Initiales:","Ville:","Adresse email:","GSM:","Societe:","Poste:","Pager:","Numero de telelphone:","Adresse:","Code postal:","Sn:","Pays:","Fonction:");
$worksheet =& $workbook->addworksheet('Servers');
$worksheet->set_column('A:B', 32);
// The source is in original.xls
readfile($fname);
-
+ unlink ($fname);
}
elseif($mode == 3){ // Full Export !
$dn = base64_decode($_GET['dn']);
// The PDF source is in original.xl
readfile($fname);
+ unlink ($fname);
}
elseif($mode == 4){ // IVBB LDIF Export
$dn = base64_decode($_GET['dn']);