MDL-28277 Small fixes

This commit is contained in:
Ankit Kumar Agarwal 2011-07-26 16:02:30 +05:30
parent c03d2b753e
commit b84b783f6c
4 changed files with 8 additions and 37 deletions

View File

@ -8,11 +8,11 @@
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
// This script uses installed report plugins to print scorm reports

View File

@ -1,26 +0,0 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'scorm_basic', language 'en', branch 'MOODLE_20_STABLE'
*
* @package scorm_basic
* @author Ankit Kumar Agarwal
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Basic Reporting';

View File

@ -34,9 +34,6 @@ class mod_scorm_report_settings extends moodleform {
$options[SCORM_REPORT_ATTEMPTS_STUDENTS_WITH_NO] = get_string('optnoattemptsonly', 'scorm');
}
$mform->addElement('select', 'attemptsmode', get_string('show', 'scorm'), $options);
$mform->addElement('advcheckbox', 'qtext', '',get_string('summaryofquestiontext', 'scormreport_interactions'));
$mform->addElement('advcheckbox', 'resp', '',get_string('summaryofresponse', 'scormreport_interactions'));
$mform->addElement('advcheckbox', 'right', '',get_string('summaryofrightanswer', 'scormreport_interactions'));
//-------------------------------------------------------------------------------
$mform->addElement('header', 'preferencesuser', get_string('preferencesuser', 'scorm'));

View File

@ -15,12 +15,12 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Sets up the tabs used by the scorm pages based on the users capabilities.
*
* @author Dan Marsden and others.
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package scorm
*/
* Sets up the tabs used by the scorm pages based on the users capabilities.
*
* @author Dan Marsden and others.
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package scorm
*/
if (empty($scorm)) {
error('You cannot call this script in that way');