|
|
|
|
@ -18,7 +18,7 @@ if ($_GET['category']=='Templates') { |
|
|
|
|
} |
|
|
|
|
// resetting the course id |
|
|
|
|
$cidReset=true; |
|
|
|
|
// including some necessary dokeos files |
|
|
|
|
// including some necessary chamilo files |
|
|
|
|
require_once '../inc/global.inc.php'; |
|
|
|
|
require_once api_get_path(LIBRARY_PATH).'sortabletable.class.php'; |
|
|
|
|
require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'; |
|
|
|
|
@ -217,6 +217,9 @@ if (!empty($_GET['category']) && !in_array($_GET['category'], array('Plugins', ' |
|
|
|
|
if ($rowkeys['variable'] == 'show_tabs' && $rowkeys['subkey'] == 'my_profile') {continue;} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//hiding the gradebook option |
|
|
|
|
if ($rowkeys['variable'] == 'show_tabs' && $rowkeys['subkey'] == 'my_gradebook') {continue;} |
|
|
|
|
|
|
|
|
|
$element = & $form->createElement('checkbox', $rowkeys['subkey'], '', get_lang($rowkeys['subkeytext'])); |
|
|
|
|
if ($row['access_url_changeable']==1) { |
|
|
|
|
//2. we look into the DB if there is a setting for a specific access_url |
|
|
|
|
|