For a full list of contributors, see "credits.txt". The full license can be read in "license.txt". 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. See the GNU General Public License for more details. Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com ============================================================================== */ /** ============================================================================== * This tool allows the use statistics * @package dokeos.statistics ============================================================================== */ // name of the language file that needs to be included $language_file=array('admin','tracking'); $cidReset = true; include('../../inc/global.inc.php'); api_protect_admin_script(); $interbreadcrumb[] = array ("url" => "../index.php", "name" => get_lang('PlatformAdmin')); $tool_name = get_lang('ToolName'); Display::display_header($tool_name); api_display_tool_title($tool_name); if(!$_configuration['tracking_enabled']) { Display::display_warning_message(get_lang('TrackingDisabled')); Display::display_footer(); exit; } require_once ('statistics.lib.php'); $strCourse = get_lang('Courses'); $strUsers = get_lang('Users'); $tools[$strCourse]['action=courses'] = get_lang('CountCours'); $tools[$strCourse]['action=tools'] = get_lang('PlatformToolAccess'); $tools[$strCourse]['action=courselastvisit'] = get_lang('LastAccess'); $tools[$strCourse]['action=coursebylanguage'] = get_lang('CountCourseByLanguage'); $tools[$strUsers]['action=users'] = get_lang('CountUsers'); $tools[$strUsers]['action=recentlogins'] = get_lang('Logins'); $tools[$strUsers]['action=logins&type=month'] = get_lang('Logins').' ('.get_lang('PeriodMonth').')'; $tools[$strUsers]['action=logins&type=day'] = get_lang('Logins').' ('.get_lang('PeriodDay').')'; $tools[$strUsers]['action=logins&type=hour'] = get_lang('Logins').' ('.get_lang('PeriodHour').')'; $tools[$strUsers]['action=pictures'] = get_lang('CountUsers').' ('.get_lang('UserPicture').')'; echo '
';
echo ''.$section.'';
echo '
| ';
}
echo '