Browse Source

Fixing in crossword no horizontal legend and print button.

MOODLE_20_STABLE
Vasilis Daloukas 9 years ago
parent
commit
d74a422455
  1. 9
      CHANGES.md
  2. 4
      cross/cross_class.php
  3. 2
      cross/play.php

9
CHANGES.md

@ -2,10 +2,11 @@ Changes in version 3.36.31.1 (2015123101)
------------------------------------------------------------------
- New: Disable summarize of attempts.
- CONTRIB-5605: Quotation marks breaks the js-code in game Cryptex.
- Prevent Style Override of Crossword
- Add missing language string game:addinstance
- More RTL fixes
- Fixing problems on Millionaire with quiz
- Prevent Style Override of Crossword.
- Add missing language string game:addinstance.
- More RTL fixes.
- Fixing problems on Millionaire with quiz.
- Fixing in crossword no horizontal legend and print button.
Changes in version 3.36.29.1 (2015122901)
------------------------------------------------------------------

4
cross/cross_class.php

@ -328,7 +328,7 @@ class Cross
}
if ($bprint) {
echo "mincol={$this->m_mincol} maxcol={$this->m_maxcol} minrow={$this->m_minrow} maxrow={$this->m_maxrow}<br>";
echo "mincol={$this->mmincol} maxcol={$this->mmaxcol} minrow={$this->mminrow} maxrow={$this->mmaxrow}<br>";
}
if ($this->mmincol > $this->mmaxcol) {
@ -693,7 +693,7 @@ class Cross
$this->mlegendh = array();
foreach ($legendh as $key => $value) {
if (count( $value) == 1) {
$this->m_LegendH[ $key] = $value[ 0];
$this->mlegendh[ $key] = $value[ 0];
} else {
for ($i = 0; $i < count( $value); $i++) {
$this->mlegendh[ $key.game_substr( $letters, $i, 1)] = $value[ $i];

2
cross/play.php

@ -998,7 +998,7 @@ function CheckHtmlClick()
get_string( 'cross_endofgamebutton', 'game');
echo '</button>';
if ($game->param5 == 1 or $game->param5 == null) {
echo ' &nbsp;&nbsp;&nbsp;&nbsp;<button id="printbutton" type="button" ';
echo ' &nbsp;&nbsp;&nbsp;&nbsp;<button id="printbutton" type="button" '.
' onclick="OnPrint( 0);" style="display: none;">'.get_string( 'print', 'game');
echo '</button>';
}

Loading…
Cancel
Save