Plugin Directory

Changeset 1720872


Ignore:
Timestamp:
08/28/2017 11:11:58 PM (9 years ago)
Author:
goldhat
Message:

Release v0.8.2

Location:
quizmaster
Files:
164 added
5 edited

Legend:

Unmodified
Added
Removed
  • quizmaster/trunk/fields/fieldgroups/quiz.php

    r1719957 r1720872  
    110110            'ui_off_text' => '',
    111111            'key' => 'field_588c5d5499c2d',
    112             'label' => 'Show only specific number of questions',
     112            'label' => __( 'Show only specific number of questions', 'quizmaster' ),
    113113            'name' => 'qmqu_show_max_question',
    114114            'type' => 'true_false',
    115             'instructions' => 'If you enable this option, maximum number of displayed questions will be X from X questions. (The output of questions is random)',
     115            'instructions' => __( 'If you enable this option, maximum number of displayed questions will be X from X questions. (The output of questions is random)', 'quizmaster' ),
    116116            'required' => 0,
    117117            'conditional_logic' => 0,
     
    131131            'append' => '',
    132132            'key' => 'field_588c5d9699c2e',
    133             'label' => 'Maximum number of questions',
     133            'label' => __( 'Maximum number of questions', 'quizmaster' ),
    134134            'name' => 'qmqu_show_max_question_value',
    135135            'type' => 'number',
     
    239239            'type' => 'relationship',
    240240            'instructions' => 'Select questions on from the question pool on the left by clicking on them. Questions disabled from selection have already been added to the quiz. Questions will appear in the quiz in the order they appear in the selection box here, unless randomization settings are applied.',
    241             'required' => 1,
     241            'required' => 0,
    242242            'filters' => array (
    243243                0 => 'search',
  • quizmaster/trunk/js/quizmaster.js

    r1719136 r1720872  
    954954            parseTime: function (ms) {
    955955
    956                 var seconds = parseInt(ms / 1000);
    957                 var minutes = parseInt((seconds / 60) % 60);
    958                 var hours = parseInt((seconds / 3600) % 24);
     956                x = ms / 1000
     957                seconds = parseInt( x % 60 )
     958                x /= 60
     959                minutes = parseInt( x % 60 )
     960                x /= 60
     961                hours = parseInt( x % 24 )
     962
     963
    959964
    960965                seconds = (seconds > 9 ? '' : '0') + seconds;
  • quizmaster/trunk/lib/controller/QuizMaster_Controller_Front.php

    r1719136 r1720872  
    124124      $id = $attr['id'];
    125125            if( $id == null ) {
    126                 $id = reset($attr);
     126                return;
    127127            }
    128128
     
    184184                    shuffle( $question );
    185185                }
    186                
     186
    187187        $view->question = $question;
    188188        $view->category = $quiz->fetchQuestionCategoriesByQuiz();
  • quizmaster/trunk/quizmaster.php

    r1719957 r1720872  
    44Plugin URI: http://wordpress.org/extend/plugins/quizmaster
    55Description: Best free quiz plugin for WordPress.
    6 Version: 0.8.0
     6Version: 0.8.2
    77Author: GoldHat Group
    88Author URI: https://goldhat.ca
     
    1212*/
    1313
    14 define('QUIZMASTER_VERSION', '0.8.0');
     14define('QUIZMASTER_VERSION', '0.8.2');
    1515define('QUIZMASTER_DEV', true);
    1616define('QUIZMASTER_PATH', dirname(__FILE__));
  • quizmaster/trunk/readme.txt

    r1719957 r1720872  
    44Tags: quiz, test, answer, question, learning, assessment
    55Requires at least: 4.0
    6 Tested up to: 4.3
    7 Stable tag: 0.8.0
     6Tested up to: 4.8.1
     7Stable tag: 0.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555= 0.8.0 =
    5656
    57 Adds bidirectional quiz/question management, the ability to add a question to a quiz from the question editor. Improved selection field for adding questions from the quiz editor. 
     57Adds bidirectional quiz/question management, the ability to add a question to a quiz from the question editor. Improved selection field for adding questions from the quiz editor.
    5858
    5959= 0.7.3 =
Note: See TracChangeset for help on using the changeset viewer.