Browse Source

New: parameter disabletransformuppercase in crossword

MOODLE_20_STABLE
Vasilis Daloukas 11 years ago
parent
commit
6f76a17613
  1. 2
      cross/play.php
  2. 1
      lang/en/game.php
  3. 2
      mod_form.php
  4. 4
      version.php

2
cross/play.php

@ -1068,7 +1068,7 @@ function game_cross_show_welcome0( $game){
<div id="wordinfo" style="font-size:8pt;color:#808080"> </div>
<div id="wordclue" class="cluebox"> </div>
<div style="margin-top:1em;"><input id="wordentry" type="text" size="24"
style="font-weight: bold; text-transform:uppercase;"
style="font-weight: bold; <? if( $game->param6 == 0) echo 'text-transform:uppercase;'; ?>"
onkeypress="WordEntryKeyPress(event)" onchange="WordEntryKeyPress(event)" autocomplete="off"></div>
<?php
if( $game->param3 == 2){

1
lang/en/game.php

@ -34,6 +34,7 @@ $string[ 'cross_errors'] = 'wrong characters';
$string[ 'cross_found_many'] = 'Found';
$string[ 'cross_found_one'] = 'Found';
$string[ 'grade'] = 'Grade';
$string[ 'cross_disabletransformuppercase'] = 'Disables text-transform:uppercase in CSS';
//cross/play.php
$string[ 'cross_across'] = 'Across';

2
mod_form.php

@ -241,7 +241,7 @@ class mod_game_mod_form extends moodleform_mod {
$crosslayoutoptions[1] = get_string('cross_layout1', 'game');
$mform->addElement('select','param3', get_string('cross_layout', 'game'), $crosslayoutoptions);
$mform->setType('param5', PARAM_INT);
$mform->addElement('selectyesno', 'param5', get_string('cross_showprint','game'));
$mform->addElement('selectyesno', 'param6', get_string('cross_disabletransformuppercase','game'));
}
//---------------------------------------------------------------------------

4
version.php

@ -11,7 +11,7 @@
defined('MOODLE_INTERNAL') || die();
$module->component = 'mod_game'; // Full name of the plugin (used for diagnostics)
$module->version = 2014061101; // The current module version (Date: YYYYMMDDXX)
$module->version = 2014061801; // 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.18.11';
$module->release = '3.18.18';

Loading…
Cancel
Save