From 16da77ef3b211478b99edcfe20387e8dedbdd1f8 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 3 Mar 2010 17:00:44 -0500 Subject: [PATCH] Changing menu icons + getlangs --- main/exercice/admin.php | 2 -- main/exercice/exercice.php | 4 ++-- main/exercice/exercise_admin.php | 2 +- main/exercice/hotpotatoes.php | 2 +- main/exercice/question_create.php | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/main/exercice/admin.php b/main/exercice/admin.php index dabc7e3f99..c2c4e730e1 100755 --- a/main/exercice/admin.php +++ b/main/exercice/admin.php @@ -448,8 +448,6 @@ if ($show_quiz_edition) { if (isset($_GET['hotspotadmin']) || isset($_GET['newQuestion']) || isset($_GET['myid'])) echo Display::return_icon('message_reply_forum.png', get_lang('GoBackToQuestionList')).' '.''.get_lang('GoBackToQuestionList').'
'; -echo '' . Display :: return_icon('quiz.gif', get_lang('BackToExercisesList')) . get_lang('BackToExercisesList') . ''; - echo ''; if(isset($_GET['message'])) diff --git a/main/exercice/exercice.php b/main/exercice/exercice.php index db3f7b4425..6f52f86052 100755 --- a/main/exercice/exercice.php +++ b/main/exercice/exercice.php @@ -801,7 +801,7 @@ if (($is_allowedToEdit) and ($origin != 'learnpath')) { echo ''.Display::return_icon('csv.gif',get_lang('ExportAsCSV')).get_lang('ExportAsCSV').''; echo '' . Display :: return_icon('excel.gif', get_lang('ExportAsXLS')) . get_lang('ExportAsXLS') . ''; //echo ''.Display::return_icon('synthese_view.gif',$alt).$alt.''; - echo '' . Display :: return_icon('quiz.gif', get_lang('BackToExercisesList')) . get_lang('BackToExercisesList') . ''; + echo '' . Display :: return_icon('message_reply_forum.png', get_lang('GoBackToQuestionList')) . get_lang('GoBackToQuestionList') . ''; echo '
'; echo ''; echo ''; @@ -820,7 +820,7 @@ if (($is_allowedToEdit) and ($origin != 'learnpath')) { } else { //the student view if ($show == 'result') { - echo '' . Display :: return_icon('quiz.gif', get_lang('BackToExercisesList')) . get_lang('BackToExercisesList') . ''; + echo '' . Display :: return_icon('message_reply_forum.png', get_lang('GoBackToQuestionList')) . get_lang('GoBackToQuestionList') . ''; } else { echo '' . Display :: return_icon('show_test_results.gif', get_lang('Results')) . get_lang('Results') . ''; } diff --git a/main/exercice/exercise_admin.php b/main/exercice/exercise_admin.php index 6780fd3818..1c4b68def8 100755 --- a/main/exercice/exercise_admin.php +++ b/main/exercice/exercise_admin.php @@ -182,7 +182,7 @@ if ($form -> validate()) { Display::display_header($nameTools,get_lang('Exercise')); echo ''; diff --git a/main/exercice/hotpotatoes.php b/main/exercice/hotpotatoes.php index 971a5a3242..b85976fa6c 100755 --- a/main/exercice/hotpotatoes.php +++ b/main/exercice/hotpotatoes.php @@ -206,7 +206,7 @@ if((api_is_allowed_to_edit(null,true)) && (($finish == 0) || ($finish == 2))) Display::display_header($nameTools,get_lang('Exercise')); echo ''; if ($finish==2) //if we are in the img upload process diff --git a/main/exercice/question_create.php b/main/exercice/question_create.php index 21b9f56702..a19f0772ea 100755 --- a/main/exercice/question_create.php +++ b/main/exercice/question_create.php @@ -81,7 +81,7 @@ if ($form->validate()) { Display::display_header($nameTools); echo ''; // displaying the form