From 6f76a17613f22b8f9103a6aa08c49e6ce7e3ed02 Mon Sep 17 00:00:00 2001 From: Vasilis Daloukas Date: Wed, 18 Jun 2014 18:11:29 +0300 Subject: [PATCH] New: parameter disabletransformuppercase in crossword --- cross/play.php | 2 +- lang/en/game.php | 1 + mod_form.php | 2 +- version.php | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cross/play.php b/cross/play.php index a97f427..1504b8c 100755 --- a/cross/play.php +++ b/cross/play.php @@ -1068,7 +1068,7 @@ function game_cross_show_welcome0( $game){
param3 == 2){ diff --git a/lang/en/game.php b/lang/en/game.php index e73c2f4..55e94a0 100755 --- a/lang/en/game.php +++ b/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'; diff --git a/mod_form.php b/mod_form.php index b36b50e..c2c6239 100755 --- a/mod_form.php +++ b/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')); } //--------------------------------------------------------------------------- diff --git a/version.php b/version.php index e96940c..14bc95e 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 = 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';