diff --git a/main/exercice/admin.php b/main/exercice/admin.php index ae15e88b2d..3b893a6ebf 100755 --- a/main/exercice/admin.php +++ b/main/exercice/admin.php @@ -429,7 +429,7 @@ Display::display_header($nameTools,'Exercise'); echo '

+
- ')) return false;">
+ ')) return false;">
-
+
-
+
";
@@ -1051,21 +1051,21 @@ if ($show == 'test') {
+
- ')) return false;">
+ ')) return false;">
-
+
-
+
@@ -1297,12 +1297,12 @@ if ($_configuration['tracking_enabled'] && ($show == 'result')) {
if ($revised) {
//echo "".Display :: return_icon('edit.gif', get_lang('Edit'));
//echo ' ';
- $html_link.= "".Display :: return_icon('edit.gif', get_lang('Edit'));
+ $html_link.= "".Display :: return_icon('edit.gif', get_lang('Edit'));
$html_link.= ' ';
} else {
//echo "".Display :: return_icon('quizz_small.gif', get_lang('Qualify'));
//echo ' ';
- $html_link.="".Display :: return_icon('quizz_small.gif', get_lang('Qualify'));
+ $html_link.="".Display :: return_icon('quizz_small.gif', get_lang('Qualify'));
$html_link.=' ';
}
//echo "";
@@ -1310,19 +1310,19 @@ if ($_configuration['tracking_enabled'] && ($show == 'result')) {
if (api_is_platform_admin() || $is_tutor) {
//echo ' '.Display :: return_icon('delete.gif', get_lang('Delete')).'';
//echo ' ';
- $html_link.=' '.Display :: return_icon('delete.gif', get_lang('Delete')).'';
+ $html_link.=' '.Display :: return_icon('delete.gif', get_lang('Delete')).'';
$html_link.=' ';
}
if ($is_allowedToEdit) {
//echo ' ' .Display :: return_icon('history.gif', get_lang('ViewHistoryChange')).'';
if ($filter==2){
- $html_link.=' ' .Display :: return_icon('history.gif', get_lang('ViewHistoryChange')).'';
+ $html_link.=' ' .Display :: return_icon('history.gif', get_lang('ViewHistoryChange')).'';
}
}
} else {
if ($revised) {
//echo "" . get_lang('Show') . " ";
- $html_link.="" . get_lang('Show') . " ";
+ $html_link.="" . get_lang('Show') . " ";
} else {
// echo ' ' . get_lang('NoResult');
diff --git a/main/exercice/exercice_submit.php b/main/exercice/exercice_submit.php
index fb5dae463e..c88c876e1b 100755
--- a/main/exercice/exercice_submit.php
+++ b/main/exercice/exercice_submit.php
@@ -978,10 +978,10 @@ if ($origin != 'learnpath') { //so we are not in learnpath tool
}
// I'm in a preview mode
-if (api_is_course_admin() && $origin != 'learnpath') {
+if (api_is_course_admin() && $origin != 'learnpath') {
echo '