diff --git a/main/auth/my_progress.php b/main/auth/my_progress.php index 85a29d56be..7eee11a6db 100755 --- a/main/auth/my_progress.php +++ b/main/auth/my_progress.php @@ -5,8 +5,7 @@ $language_file = array('registration', 'tracking', 'exercice', 'admin'); $cidReset = true; - -require '../inc/global.inc.php'; +require_once '../inc/global.inc.php'; require_once api_get_path(LIBRARY_PATH).'tracking.lib.php'; require_once api_get_path(LIBRARY_PATH).'course.lib.php'; @@ -64,10 +63,7 @@ $now = date('Y-m-d'); - 'absmiddle', 'hspace' => '3px')); - ?> + 'absmiddle', 'hspace' => '3px')); ?> @@ -107,7 +103,16 @@ foreach ($courses as $enreg) { - + '; + Display::display_icon('2rightarrow_na.gif', get_lang('Details')); + } else { + echo ''; + Display::display_icon('2rightarrow.gif', get_lang('Details')); + } + echo ''; + ?>