[svn r11107] Update to integrate new icons

skala
Julian Prud'homme 19 years ago
parent d2538fa4ca
commit d89cc0bc2b
  1. 8
      main/exercice/exercice.php
  2. 9
      main/exercice/exercice_submit.php
  3. 14
      main/exercice/exercise.lib.php
  4. 4
      main/exercice/question_pool.php
  5. BIN
      main/img/PickFromQuestionsDb.gif
  6. BIN
      main/img/show_test_results.gif
  7. BIN
      main/img/visio_meeting.gif
  8. 2
      main/inc/lib/add_course.lib.inc.php

@ -24,7 +24,7 @@
* @author Olivier Brouckaert, original author
* @author Denes Nagy, HotPotatoes integration
* @author Wolfgang Schneider, code/html cleanup
* @version $Id: exercice.php 11105 2007-02-14 08:33:43Z elixir_julian $
* @version $Id: exercice.php 11107 2007-02-14 09:46:32Z elixir_julian $
*/
@ -310,7 +310,7 @@ if($show == 'test'){
{
//error_log('is_allowedToEdit and origin<> learnpath',0);
echo "<td width=\"50%\" nowrap=\"nowrap\">",
"<img src=\"../img/quiz.gif\" alt=\"new test\" valign=\"ABSMIDDLE\">&nbsp;<a href=\"exercise_admin.php\">".get_lang("NewEx")."</a>",
"<img src=\"../img/view_more_stats.gif\" alt=\"new test\" align=\"absbottom\">&nbsp;<a href=\"exercise_admin.php\">".get_lang("NewEx")."</a>",
//"<img src=\"../img/quiz_na.gif\" alt=\"new test\" valign=\"ABSMIDDLE\"><a href=\"question_pool.php\">".get_lang("QuestionPool")."</a> | ",
//" | <img src=\"../img/jqz.jpg\" alt=\"HotPotatoes\" valign=\"ABSMIDDLE\">&nbsp;<a href=\"hotpotatoes.php\">".get_lang("ImportHotPotatoesQuiz")."</a>",
@ -427,7 +427,7 @@ if($show == 'test'){
?>
<td width="27%" colspan="2"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="30" align="left"><img src="../img/test.gif"></td>
<td width="30" align="left"><img src="../img/quiz.gif"></td>
<td width="15" valign="left" align="center"><?php echo ($i+($page*$limitExPage)).'.'; ?></td>
<?php $row['title']=api_parse_tex($row['title']); ?>
<td>
@ -925,7 +925,7 @@ $message = "<p>You attempt for the test #test# has been viewed/commented/correct
<?php
}else{
echo '<p><a href="'.api_add_url_param($_SERVER['REQUEST_URI'],'show=result').'">'.get_lang("Show").' &gt;&gt;</a></p>';
echo '<p><img src="'.api_get_path(WEB_IMG_PATH).'show_test_results.gif" align="absbottom">&nbsp;<a href="'.api_add_url_param($_SERVER['REQUEST_URI'],'show=result').'">'.get_lang("Show").' &gt;&gt;</a></p>';
}// end if($show == 'result')

@ -35,7 +35,7 @@
* the administrator
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: exercice_submit.php 10957 2007-01-29 10:16:23Z elixir_julian $
* @version $Id: exercice_submit.php 11107 2007-02-14 09:46:32Z elixir_julian $
*/
@ -485,7 +485,7 @@ $s="
<table width='100%' border='0' cellpadding='1' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='4' cellspacing='2' border='0'>";
<table width='100%' cellpadding='3' cellspacing='2' border='0'>";
echo $s;
/* </ERM> */
@ -528,8 +528,9 @@ foreach($questionList as $questionId)
}
}
$s="<tr bgcolor='#e6e6e6'>
<td valign='top' colspan='2'>
$s="<tr>
<td width='20'><img src=\"".api_get_path(WEB_IMG_PATH)."test.gif\" align=\"absmiddle\"></td>
<td valign='middle' bgcolor='#e6e6e6'>
".get_lang('Question')." ";
$s.=$i;
if($exerciseType == 2) $s.=' / '.$nbrQuestions;

@ -23,7 +23,7 @@
* shows a question and its answers
* @package dokeos.exercise
* @author Olivier Brouckaert <oli.brouckaert@skynet.be>
* @version $Id: exercise.lib.php 10789 2007-01-18 19:18:27Z pcool $
* @version $Id: exercise.lib.php 11107 2007-02-14 09:46:32Z elixir_julian $
*/
@ -49,7 +49,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false)
$questionDescription=$objQuestionTmp->selectDescription();
$s="<tr>
<td valign='top' colspan='2'>";
<td valign='top' colspan='2'>&nbsp;";
$questionName=api_parse_tex($questionName);
$s.=$questionName;
$s.="</td>
@ -147,10 +147,10 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false)
{
$s.="
<tr>
<td width='5%' align='center'>
<td align='center'>
<input class='checkbox' type='radio' name='choice[".$questionId."]' value='".$answerId."'>
</td>
<td width='95%'>";
<td>";
$answer=api_parse_tex($answer);
$s.=$answer;
$s.="</td></tr>";
@ -160,10 +160,10 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false)
elseif($answerType == MULTIPLE_ANSWER)
{
$s.="<tr>
<td width='5%' align='center'>
<td align='center'>
<input class='checkbox' type='checkbox' name='choice[".$questionId."][".$answerId."]' value='1'>
</td>
<td width='95%'>";
<td>";
$answer = api_parse_tex($answer);
$s.=$answer;
$s.="</td></tr>";
@ -284,7 +284,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false)
if(!$onlyAnswers)
{
$s="<tr>
<td valign='top' colspan='2'>";
<td valign='top' colspan='2'>&nbsp;";
$questionName=api_parse_tex($questionName);
$s.=$questionName;
$s.="</td>

@ -24,7 +24,7 @@
* One question can be in several exercises
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: question_pool.php 11057 2007-02-05 08:56:17Z elixir_julian $
* @version $Id: question_pool.php 11107 2007-02-14 09:46:32Z elixir_julian $
*/
// name of the language file that needs to be included
@ -297,7 +297,7 @@ if($is_allowedToEdit)
{
?>
<a href="<?php echo $phpSelf; ?>?recup=<?php echo $row[id]; ?>&fromExercise=<?php echo $fromExercise; ?>"><img src="../img/enroll.gif" border="0" alt="<?php echo get_lang('Reuse'); ?>"></a>
<a href="<?php echo $phpSelf; ?>?recup=<?php echo $row[id]; ?>&fromExercise=<?php echo $fromExercise; ?>"><img src="../img/PickFromQuestionsDb.gif" border="0" alt="<?php echo get_lang('Reuse'); ?>"></a>
<?php
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -1494,7 +1494,7 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$pictures_ar
if(api_get_setting('service_visio','active')=='true'){
if(api_get_setting('service_visio','visioconference_url'))
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio.gif','1','0','squaregrey.gif','NO','_self','interaction')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
if(api_get_setting('service_visio','visioclassroom_url'))
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
}

Loading…
Cancel
Save