~ubuntu-branches/debian/jessie/phpldapadmin/jessie

« back to all changes in this revision

Viewing changes to lib/export_functions.php

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-16 14:54:15 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090316145415-7dsvj319dd02h83j
Tags: 1.1.0.6-1
* New upstream release. (Closes: #518578)
* debian/rules: removed "-m 644" from the dh_install call. (Closes: #518847)
* debian/postrm: remove config.php at purge time. (Closes: #519086)
* debian/patches/hungarian.dpatch: fixed a hungarian translation.
  (Closes: #505559)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/export_functions.php,v 1.36.2.1 2007/12/26 09:26:33 wurley Exp $
 
2
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/export_functions.php,v 1.36.2.2 2008/12/12 12:20:23 wurley Exp $
3
3
 
4
4
/**
5
5
 * Fuctions and classes for exporting ldap entries to others formats
249
249
 
250
250
                # if no result, there is a something wrong
251
251
                if (! $this->results && $this->ldap_info->ldapserver->errno())
252
 
                        pla_error(_('Encountered an error while performing search.'),$this->ldap_info->ldapserver->error(),
253
 
                                $this->ldap_info->ldapserver->errno());
 
252
                        system_message(array(
 
253
                                'title'=>_('Encountered an error while performing search.'),
 
254
                                'body'=>ldap_error_msg($this->ldap_info->ldapserver->error(),$this->ldap_info->ldapserver->errno()),
 
255
                                'type'=>'error'));
254
256
 
255
257
                usort($this->results,'pla_compare_dns');
256
258
                $this->num_entries = count($this->results);