$return .= get_lang('In order to enable the automatic version checking you have to register your portal on chamilo.org. The information obtained by clicking this button is only for internal use and only aggregated data will be publicly available (total number of portals, total number of chamilo course, total number of chamilo users, ...) (see <ahref="http://www.chamilo.org/stats/">http://www.chamilo.org/stats/</a>. When registering you will also appear on the worldwide list (<ahref="http://www.chamilo.org/community.php">http://www.chamilo.org/community.php</a>. If you do not want to appear in this list you have to check the checkbox below. The registration is as easy as it can be: you only have to click this button: <br/>');
$return .= '<labelclass="checkbox"><inputtype="checkbox"name="donotlistcampus"value="1"id="checkbox"/>'.get_lang('Hide campus from public platforms list');
$return .= '</label><buttontype="submit"class="btn btn-primary btn-block"name="Register"value="'.get_lang('Enable version check').'"id="register">'.get_lang('Enable version check').'</button>';
$return .= '</form>';
check_system_version();
} else {
@ -132,7 +132,7 @@ function check_system_version()
echo get_lang('This learning object cannot display because the course prerequisites are not completed. This happens when a course imposes that you follow it step by step or get a minimum score in tests before you reach the next steps.');
$actions .= ' <aonclick="javascript:if(!confirm(\''.get_lang('Are you sure you want to unlock the attendance?').'\')) return false;"href="index.php?'.api_get_cidreq().'&action=unlock_attendance&attendance_id='.$attendance[0].'">'.
$question[2] = get_lang('What should the end results be when the learner has completed the course? What are the activities performed during the course?');
$question[3] = get_lang('How does the course progress? Where should the learner pay special care? Are there identifiable problems in understanding different areas? How much time should one dedicate to the different areas of the course?');
$question[4] = get_lang('What methods and activities help achieve the objectives of the course? What would the schedule be?');
$question[7] = get_lang('How will learners be assessed? Are there strategies to develop in order to master the topic?');
//$question[8]= get_lang('What is the current progress you have reached with your learners inside your course? How much do you think is remaining in comparison to the complete program?');
$information[2] = get_lang('What are the objectives of the course (competences, skills, outcomes)?');
$information[3] = get_lang('List of topics included in the training. Importance of each topic. Level of difficulty. Structure and inter-dependence of the different parts.');
$information[4] = get_lang('Presentation of the activities (conference, papers, group research, labs...).');
'info' => 'Configuration settings of the database server. To check the database consistency after an upgrade, if you have access to the command line, you can use "php bin/doctrine.php orm:schema-tool:update --dump-sql". This will print a list of database changes that should be applied to your system in order to get the right structure. Index name changes can be ignored. Use "--force" instead of "--dump" to try and execute them in order.',
],
'webserver' => [
'lang' => get_lang('WebServer'),
'lang' => get_lang('Web server'),
'info' => 'Information about your webserver\'s configuration ',
get_lang('The version from the main configuration file shows on the main administration page, but has to be changed manually on upgrade.')
);
return $array;
@ -275,7 +275,7 @@ class Diagnoser
phpversion(),
'>= '.REQUIRED_PHP_VERSION,
null,
get_lang('PHPVersionInfo')
get_lang('PHP version')
);
$setting = ini_get('output_buffering');
@ -289,7 +289,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('OutputBufferingInfo')
get_lang('Output buffering setting is "On" for being enabled or "Off" for being disabled. This setting also may be enabled through an integer value (4096 for example) which is the output buffer size.')
);
$setting = ini_get('file_uploads');
@ -303,7 +303,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('FileUploadsInfo')
get_lang('File uploads indicate whether file uploads are authorized at all')
);
$setting = ini_get('magic_quotes_runtime');
@ -317,7 +317,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('MagicQuotesRuntimeInfo')
get_lang('This is a highly unrecommended feature which converts values returned by all functions that returned external values to slash-escaped values. This feature should *not* be enabled.')
);
$setting = ini_get('safe_mode');
@ -331,7 +331,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('SafeModeInfo')
get_lang('Safe mode is a deprecated PHP feature which (badly) limits the access of PHP scripts to other resources. It is recommended to leave it off.')
);
$setting = ini_get('register_globals');
@ -345,7 +345,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('RegisterGlobalsInfo')
get_lang('Whether to use the register globals feature or not. Using it represents potential security risks with this software.')
);
$setting = ini_get('short_open_tag');
@ -359,7 +359,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('ShortOpenTagInfo')
get_lang('Whether to allow for short open tags to be used or not. This feature should not be used.')
);
$setting = ini_get('magic_quotes_gpc');
@ -373,7 +373,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('MagicQuotesGpcInfo')
get_lang('Whether to automatically escape values from GET, POST and COOKIES arrays. A similar feature is provided for the required data inside this software, so using it provokes double slash-escaping of values.')
);
$setting = ini_get('display_errors');
@ -387,7 +387,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('DisplayErrorsInfo')
get_lang('Show errors on screen. Turn this on on development servers, off on production servers.')
);
$setting = ini_get('default_charset');
@ -404,11 +404,11 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('DefaultCharsetInfo')
get_lang('The default character set to be sent when returning pages')
get_lang('The maximum time allowed for a form to be processed by the server. If it takes longer, the process is abandonned and a blank page is returned.')
);
$setting = ini_get('memory_limit');
@ -449,7 +449,7 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('MemoryLimitInfo')
get_lang('Maximum memory limit for one single script run. If the memory needed is higher, the process will stop to avoid consuming all the server\'s available memory and thus slowing down other users.')
);
$setting = ini_get('post_max_size');
@ -466,7 +466,7 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('PostMaxSizeInfo')
get_lang('This is the maximum size of uploads through forms using the POST method (i.e. classical file upload forms)')
);
$setting = ini_get('upload_max_filesize');
@ -483,7 +483,7 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('UploadMaxFilesizeInfo')
get_lang('Maximum volume of an uploaded file. This setting should, most of the time, be matched with the post_max_size variable.')
);
$setting = ini_get('upload_tmp_dir');
@ -496,7 +496,7 @@ class Diagnoser
$setting,
'',
null,
get_lang('UploadTmpDirInfo')
get_lang('The temporary upload directory is a space on the server where files are uploaded before being filtered and treated by PHP.')
);
$setting = ini_get('variables_order');
@ -510,7 +510,7 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('VariablesOrderInfo')
get_lang('The order of precedence of Environment, GET, POST, COOKIES and SESSION variables')
);
$setting = ini_get('session.gc_maxlifetime');
@ -524,7 +524,7 @@ class Diagnoser
$setting,
$req_setting,
null,
get_lang('SessionGCMaxLifetimeInfo')
get_lang('The session garbage collector maximum lifetime indicates which maximum time is given between two runs of the garbage collector.')
);
if (api_check_browscap()) {
@ -542,7 +542,7 @@ class Diagnoser
$setting,
$req_setting,
'on_off',
get_lang('BrowscapInfo')
get_lang('Browscap loading browscap.ini file that contains a large amount of data on the browser and its capabilities, so it can be used by the function get_browser () PHP')
);
// Extensions
@ -550,52 +550,52 @@ class Diagnoser
'gd' => [
'link' => 'http://www.php.net/gd',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
'comment' => get_lang('This extension must be loaded.'),
get_lang('If the server is behind a proxy or firewall (and only in those cases), it might be using the X_FORWARDED_FOR HTTP header to show the remote user IP (yours, in this case).')
$message = get_lang('Your account is inactive because you have not confirmed it yet. Check your email and follow the instructions or click the following link to resend the email').PHP_EOL;
$actions .= '<aonclick="javascript:if(!confirm(\''.get_lang('Are you sure you want to delete').'\')) return false;"href="index.php?'.api_get_cidreq().'&action=thematic_delete&thematic_id='.$thematic[0].'">'.
$actions .= '<aonclick="javascript:if(!confirm(\''.get_lang('Are you sure you want to delete').'\')) return false;"href="index.php?'.api_get_cidreq().'&action=thematic_delete&thematic_id='.$thematic[0].'">'.
$actions .= '<aonclick="javascript:if(!confirm(\''.get_lang('Are you sure you want to delete').'\')) return false;"href="index.php?'.api_get_cidreq().'&action=thematic_advance_delete&thematic_id='.$thematic_id.'&thematic_advance_id='.$thematic_advance[0].'">'.
$question[1] = get_lang('What should the end results be when the learner has completed the course? What are the activities performed during the course?');
$question[2] = get_lang('Skills to acquireQuestions');
$question[3] = get_lang('What methods and activities help achieve the objectives of the course? What would the schedule be?');
$question[4] = get_lang('What infrastructure is necessary to achieve the goals of this topic normally?');
$question[5] = get_lang('How will learners be assessed? Are there strategies to develop in order to master the topic?');
<imgsrc="'.Display::returnIconPath('quiz.gif').'"alt="'.get_lang('Show and grade attempt').'"title="'.get_lang('Show and grade attempt').'"></a></td>';
<th>'.get_lang('Statistics').' '.Display::return_icon('info3.gif', get_lang('In case of multiple attempts, only shows the best result of each learner'), ['align' => 'absmiddle', 'hspace' => '3px']).'</th>
// $links .= '<li><ahref="groups.php?id='.$group_id.'&action=join&u='.api_get_user_id().'">'.Display::return_icon('addd.gif', get_lang('You have been invited to join now'), array('hspace'=>'6')).'<spanclass="social-menu-text4">'.get_lang('You have been invited to join now').'</span></a></li>';
break;
case GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER:
Display::return_message(get_lang('This login is already taken !'))
);
return false;
@ -228,7 +229,7 @@ class UserManager
api_warn_hosting_contact('hosting_limit_users');
Display::addFlash(
Display::return_message(
get_lang('PortalUsersLimitReached'),
get_lang('Sorry, this installation has a users limit, which has now been reached. To increase the number of users allowed on this Chamilo installation, please contact your hosting provider or, if available, upgrade to a superior hosting plan.'),
'warning'
)
);
@ -247,7 +248,7 @@ class UserManager
if ($num >= $_configuration[$access_url_id]['hosting_limit_teachers']) {
Display::addFlash(
Display::return_message(
get_lang('PortalTeachersLimitReached'),
get_lang('Sorry, this installation has a teachers limit, which has now been reached. To increase the number of teachers allowed on this Chamilo installation, please contact your hosting provider or, if available, upgrade to a superior hosting plan.'),
sprintf(get_lang('We could not anonymize user %s information. Please try again or check the logs.'), $userToUpdateInfo['complete_name_with_username']),
sprintf(get_lang('You don\'t have permissions to anonymize user %s. You need the same permissions as to delete users.'), $userToUpdateInfo['complete_name_with_username']),
'error'
);
}
@ -6186,7 +6187,7 @@ SQL;
public static function deleteUserWithVerification($userId)
//$home_top_temp = get_lang('<h2>Congratulations! You have successfully installed your e-learning portal!</h2><p>You can now complete the installation by following three easy steps:<br/><ol><li>Configure you portal by going to the administration section, and select the Portal -> <ahref="main/admin/settings.php">Configuration settings</a> entry.</li><li>Add some life to your portal by creating users and/or training. You can do that by inviting new people to create their accounts or creating them yourself through the <ahref="main/admin/">administration</a>\'s Users and Training sections.</li><li>Edit this page through the <ahref="main/admin/configure_homepage.php">Edit portal homepage</a> entry in the administration section.</li></ol><p>You can always find more information about this software on our website: <ahref="http://www.chamilo.org">http://www.chamilo.org</a>.</p><p>Have fun, and don't hesitate to join the community and give us feedback through <ahref="http://www.chamilo.org/forum">our forum</a>.</p>');