index fcfff67fbb593b19b734ca9c3858cda4da5c02ee..e75660e4973d2c0863fa2af5e13ff25acd8d38d8 100644 (file)
<?php
/*
- This code is part of GOsa (https://gosa.gonicus.de)
- Copyright (C) 2003 Cajus Pollmeier
- Copyright (C) 2005 Guillaume Delecourt
- Copyright (C) 2005 Vincent Seynhaeve
- Copyright (C) 2005 Benoit Mortier
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003 Cajus Pollmeier
+ * Copyright (C) 2005 Guillaume Delecourt
+ * Copyright (C) 2005 Vincent Seynhaeve
+ * Copyright (C) 2005 Benoit Mortier
+ *
+ * ID: $$Id$$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once "../include/utils/excel/class.writeexcel_workbook.inc.php";
//count number of users
$user_nbr=count($user);
- $worksheet->write('A1',sprintf(_("User List of %s on %s"), $dn, $date),$title_title);
+ $worksheet->write('A1',sprintf(_("User list of %s on %s"), $dn, $date),$title_title);
$r=3;
for($i=1;$i<$user_nbr;$i++)
{
}
$acl = $ui->get_permissions($dn,"ldapmanager/xlsexport");
if(!preg_match("/r/",$acl)){
- msg_dialog::display(_("Permission denied!"),_("You are not allowed to perform this action."),FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"),_("You have no permission to do LDAP exports!"),FATAL_ERROR_DIALOG);
exit();
}