From d74a422455d35779caca6e176e9d8aca8624c091 Mon Sep 17 00:00:00 2001 From: Vasilis Daloukas Date: Wed, 30 Dec 2015 01:11:16 +0200 Subject: [PATCH] Fixing in crossword no horizontal legend and print button. --- CHANGES.md | 9 +++++---- cross/cross_class.php | 4 ++-- cross/play.php | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b5902aa..8484acd 100644 --- a/CHANGES.md +++ b/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) ------------------------------------------------------------------ diff --git a/cross/cross_class.php b/cross/cross_class.php index 457623c..86206bc 100755 --- a/cross/cross_class.php +++ b/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}
"; + echo "mincol={$this->mmincol} maxcol={$this->mmaxcol} minrow={$this->mminrow} maxrow={$this->mmaxrow}
"; } 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]; diff --git a/cross/play.php b/cross/play.php index bd297dd..3cf393e 100755 --- a/cross/play.php +++ b/cross/play.php @@ -998,7 +998,7 @@ function CheckHtmlClick() get_string( 'cross_endofgamebutton', 'game'); echo ''; if ($game->param5 == 1 or $game->param5 == null) { - echo '     '; }