* @author Guillaume Lederer <*****@*****.**> */ $cidReset = true; $gidReset = true; $tidReset = true; require '../inc/claro_init_global.inc.php'; $userPerPage = get_conf('userPerPage', 20); // numbers of user to display on the same page // Security check if (!claro_is_user_authenticated()) { claro_disp_auth_form(); } if (!claro_is_platform_admin()) { claro_die(get_lang('Not allowed')); } FromKernel::Uses('admin.lib.inc', 'pager.lib', 'user.lib', 'password.lib', 'class.lib'); include claro_get_conf_repository() . 'course_main.conf.php'; // CHECK INCOMING DATAS if (isset($_REQUEST['cidToEdit']) && $_REQUEST['cidToEdit'] == '') { unset($_REQUEST['cidToEdit']); } $validCmdList = array('rqDelete', 'exDelete', 'rqResetAllPasswords', 'exResetAllPasswords'); $cmd = isset($_REQUEST['cmd']) && in_array($_REQUEST['cmd'], $validCmdList) ? $_REQUEST['cmd'] : null; $userIdReq = (int) (isset($_REQUEST['user_id']) ? $_REQUEST['user_id'] : null); // USED SESSION VARIABLES // clean session if needed if (isset($_REQUEST['newsearch']) && $_REQUEST['newsearch'] == 'yes') { unset($_SESSION['admin_user_search']); unset($_SESSION['admin_user_firstName']); unset($_SESSION['admin_user_lastName']); unset($_SESSION['admin_user_userName']);
// $Id: csv.class.php 14092 2012-03-21 15:12:47Z zefredz $ /** * CLAROLINE * * @version 1.11 $Revision: 14092 $ * @copyright (c) 2001-2012, Universite catholique de Louvain (UCL) * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE * @package CLUSR * @author Claro Team <*****@*****.**> * * @deprecated This php class just manages CSV for users and should be * renamed (at least); it's not a generic CSV class. * Plese, use the generic CsvExporter class instead. You'll find * it there: claroline/inc/lib/csvexporter.class.php. */ FromKernel::Uses('password.lib'); class Csv { /** * @var $fieldSeparator field separator */ protected $fieldSeparator; /** * @var $enclosedBy field enclosed by */ protected $enclosedBy; /** * @var $fieldName */ protected $fileName; /**