X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/scorm
home
/
cbholdings
/
pasukulu
/
mod
/
scorm
/
📁
..
📄
aicc.php
(23.74 KB)
📁
backup
📁
classes
📄
datamodel.php
(4.36 KB)
📁
datamodels
📁
db
📄
deprecatedlib.php
(4.99 KB)
📄
grade.php
(1.59 KB)
📄
index.php
(4.37 KB)
📁
lang
📄
lib.php
(64.7 KB)
📄
loadSCO.php
(6.51 KB)
📄
locallib.php
(95.26 KB)
📄
mod_form.php
(26.06 KB)
📄
module.js
(40.32 KB)
📁
pix
📄
player.js
(1.23 KB)
📄
player.php
(12.23 KB)
📄
prereqs.php
(3.21 KB)
📄
renderer.php
(8.45 KB)
📁
report
📄
report.php
(3.61 KB)
📄
reportsettings_form.php
(2.12 KB)
📄
request.js
(9.93 KB)
📄
settings.php
(8.76 KB)
📄
styles.css
(5.19 KB)
📁
templates
📁
tests
📄
upgrade.txt
(1.52 KB)
📄
version.php
(1.15 KB)
📄
view.js
(3.61 KB)
📄
view.php
(7.49 KB)
Editing: grade.php
<?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/>. /** * Redirect the user based on their capabilities to either a scorm activity or to scorm reports * * @package mod_scorm * @category grade * @copyright 2010 onwards Dan Marsden * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once("../../config.php"); $id = required_param('id', PARAM_INT); // Course module ID. if (! $cm = get_coursemodule_from_id('scorm', $id)) { throw new \moodle_exception('invalidcoursemodule'); } if (! $scorm = $DB->get_record('scorm', array('id' => $cm->instance))) { throw new \moodle_exception('invalidcoursemodule'); } if (! $course = $DB->get_record('course', array('id' => $scorm->course))) { throw new \moodle_exception('coursemisconf'); } require_login($course, false, $cm); if (has_capability('mod/scorm:viewreport', context_module::instance($cm->id))) { redirect('report.php?id='.$cm->id); } else { redirect('view.php?id='.$cm->id); }
Upload File
Create Folder