X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/assign
home
/
cbholdings
/
pasukulu
/
mod
/
assign
/
📁
..
📄
adminlib.php
(12.05 KB)
📄
adminmanageplugins.php
(1.41 KB)
📁
amd
📄
assignmentplugin.php
(23.71 KB)
📁
backup
📄
batchsetallocatedmarkerform.php
(2.33 KB)
📄
batchsetmarkingworkflowstateform.php
(3.73 KB)
📁
classes
📁
db
📄
deprecatedlib.php
(2.23 KB)
📄
extensionform.php
(5.67 KB)
📄
externallib.php
(131.74 KB)
📁
feedback
📄
feedbackplugin.php
(6.95 KB)
📄
gradeform.php
(3.69 KB)
📄
gradingbatchoperationsform.php
(4.33 KB)
📄
gradingoptionsform.php
(5.04 KB)
📄
gradingtable.php
(67.96 KB)
📄
index.php
(1.84 KB)
📁
lang
📄
lib.php
(64.76 KB)
📄
locallib.php
(409.32 KB)
📄
mod_form.php
(15.38 KB)
📄
module.js
(9.34 KB)
📄
override_form.php
(14.89 KB)
📄
overridedelete.php
(3.8 KB)
📄
overrideedit.php
(9.12 KB)
📄
overrides.php
(12.85 KB)
📁
pix
📄
quickgradingform.php
(2.39 KB)
📄
renderable.php
(29.41 KB)
📄
renderer.php
(1.11 KB)
📄
settings.php
(18.33 KB)
📄
styles.css
(32.78 KB)
📁
submission
📄
submission_form.php
(2.19 KB)
📄
submissionconfirmform.php
(2.32 KB)
📄
submissionplugin.php
(4.79 KB)
📁
templates
📁
tests
📄
upgrade.txt
(11.63 KB)
📄
version.php
(1.13 KB)
📄
view.php
(1.9 KB)
📁
yui
Editing: gradingbatchoperationsform.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/>. /** * This file contains the forms to create and edit an instance of this module * * @package mod_assign * @copyright 2012 NetSpot {@link http://www.netspot.com.au} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); require_once($CFG->libdir.'/formslib.php'); require_once($CFG->dirroot . '/mod/assign/locallib.php'); /** * Assignment grading options form * * @package mod_assign * @copyright 2012 NetSpot {@link http://www.netspot.com.au} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class mod_assign_grading_batch_operations_form extends moodleform { /** * Define this form - called by the parent constructor. */ public function definition() { global $CFG; $mform = $this->_form; $instance = $this->_customdata; // Visible elements. $options = array(); $options['lock'] = get_string('locksubmissions', 'assign'); $options['unlock'] = get_string('unlocksubmissions', 'assign'); if (!empty($CFG->messaging) && has_all_capabilities(['moodle/site:sendmessage', 'moodle/course:bulkmessaging'], $instance['context']) ) { $options['message'] = get_string('messageselectadd'); } $options['downloadselected'] = get_string('downloadselectedsubmissions', 'assign'); if ($instance['submissiondrafts']) { $options['reverttodraft'] = get_string('reverttodraft', 'assign'); } if (has_capability('mod/assign:editothersubmission', $instance['context'])) { $options['removesubmission'] = get_string('removesubmission', 'assign'); } if ($instance['duedate'] && has_capability('mod/assign:grantextension', $instance['context'])) { $options['grantextension'] = get_string('grantextension', 'assign'); } if ($instance['attemptreopenmethod'] == ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL) { $options['addattempt'] = get_string('addattempt', 'assign'); } foreach ($instance['feedbackplugins'] as $plugin) { if ($plugin->is_visible() && $plugin->is_enabled()) { foreach ($plugin->get_grading_batch_operations() as $action => $description) { $operationkey = 'plugingradingbatchoperation_' . $plugin->get_type() . '_' . $action; $options[$operationkey] = $description; } } } if ($instance['markingworkflow']) { $options['setmarkingworkflowstate'] = get_string('setmarkingworkflowstate', 'assign'); } if ($instance['markingallocation']) { $options['setmarkingallocation'] = get_string('setmarkingallocation', 'assign'); } $mform->addElement('hidden', 'action', 'gradingbatchoperation'); $mform->setType('action', PARAM_ALPHA); $mform->addElement('hidden', 'id', $instance['cm']); $mform->setType('id', PARAM_INT); $mform->addElement('hidden', 'selectedusers', '', array('class'=>'selectedusers')); $mform->setType('selectedusers', PARAM_SEQUENCE); $mform->addElement('hidden', 'returnaction', 'grading'); $mform->setType('returnaction', PARAM_ALPHA); $objs = array(); $objs[] =& $mform->createElement('select', 'operation', get_string('chooseoperation', 'assign'), $options); $objs[] =& $mform->createElement('submit', 'submit', get_string('go')); $batchdescription = get_string('batchoperationsdescription', 'assign'); $mform->addElement('group', 'actionsgrp', $batchdescription, $objs, ' ', false); } }
Upload File
Create Folder