|
|
|
|
@ -1,12 +1,11 @@ |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
|
|
|
|
|
use ChamiloSession as Session; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* This script displays a form for registering new users. |
|
|
|
|
* |
|
|
|
|
* @package chamilo.auth |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
//quick hack to adapt the registration form result to the selected registration language |
|
|
|
|
@ -445,7 +444,6 @@ $content = null; |
|
|
|
|
|
|
|
|
|
$tool_name = get_lang('Registration'); |
|
|
|
|
|
|
|
|
|
if (!CustomPages::enabled()) { |
|
|
|
|
// Load terms & conditions from the current lang |
|
|
|
|
if (api_get_setting('allow_terms_conditions') === 'true') { |
|
|
|
|
$get = array_keys($_GET); |
|
|
|
|
@ -481,7 +479,7 @@ if (!CustomPages::enabled()) { |
|
|
|
|
if (api_get_setting('allow_terms_conditions') === 'true' && $user_already_registered_show_terms) { |
|
|
|
|
$tool_name = get_lang('TermsAndConditions'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$home = api_get_path(SYS_APP_PATH).'home/'; |
|
|
|
|
if (api_is_multiple_url_enabled()) { |
|
|
|
|
|