diff --git a/exporthtml.php b/exporthtml.php index e0ac7dd..7ca7f08 100755 --- a/exporthtml.php +++ b/exporthtml.php @@ -300,7 +300,7 @@ file_put_contents( $destdir.'/'.$filename, $ret . "\r\n" . $output_string); //Copy the standard pictures of Millionaire - $src = $CFG->dirroot.'/mod/game/millionaire/1'; + $src = $CFG->dirroot.'/mod/game/pix/millionaire/1'; $handle = opendir( $src); while (false!==($item = readdir($handle))) { if($item != '.' && $item != '..') { diff --git a/exporthtml_millionaire.php b/exporthtml_millionaire.php index 318d371..8e28ba0 100755 --- a/exporthtml_millionaire.php +++ b/exporthtml_millionaire.php @@ -175,7 +175,7 @@ function game_millionaire_html_print( $game, $questions, $maxquestions) if( flag5050) return; - document.getElementById( "Help5050").src = "5050x.gif"; + document.getElementById( "Help5050").src = "5050x.png"; flag5050 = 1; for(pos = posCorrect;pos == posCorrect;pos = 1+Math.floor(Math.random()*countQuestions)); @@ -195,7 +195,7 @@ function game_millionaire_html_print( $game, $questions, $maxquestions) if( flagTelephone) return; flagTelephone = 1; - document.getElementById( "HelpTelephone").src = "telephonex.gif"; + document.getElementById( "HelpTelephone").src = "telephonex.png"; if( countQuestions < 2){ wrong = posCorrect; @@ -224,7 +224,7 @@ function game_millionaire_html_print( $game, $questions, $maxquestions) if( flagPeople) return; flagPeople = 1; - document.getElementById( "HelpPeople").src = "peoplex.gif"; + document.getElementById( "HelpPeople").src = "peoplex.png"; sum = 0; var aPercent = new Array(); @@ -279,9 +279,9 @@ function game_millionaire_html_print( $game, $questions, $maxquestions) flagTelephone = 0; flagPeople = 0; - document.getElementById( "Help5050").src = "5050.gif"; - document.getElementById( "HelpPeople").src = "people.gif"; - document.getElementById( "HelpTelephone").src = "telephone.gif"; + document.getElementById( "Help5050").src = "5050.png"; + document.getElementById( "HelpPeople").src = "people.png"; + document.getElementById( "HelpTelephone").src = "telephone.png"; document.getElementById( "info").innerHTML = ""; UpdateLevel( 1); @@ -425,10 +425,10 @@ var Base64 = { -  -  -  -  +  +  +  +  style='background:#408080'>       15 diff --git a/version.php b/version.php index eb85f97..ac9eaf1 100755 --- a/version.php +++ b/version.php @@ -11,7 +11,7 @@ defined('MOODLE_INTERNAL') || die(); $module->component = 'mod_game'; // Full name of the plugin (used for diagnostics) -$module->version = 2013122601; // The current module version (Date: YYYYMMDDXX) +$module->version = 2014011401; // The current module version (Date: YYYYMMDDXX) $module->requires = 2010112400; // Requires Moodle 2.0 $module->cron = 0; // Period for cron to check this module (secs) -$module->release = '3.12.26.1'; +$module->release = '3.13.14';