HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/moodle/moodledata/localcache/js/f4f52a79ac81849bd446421ae1cf531d6b4d5d5f
M.gradereport_singleview={};M.gradereport_singleview.init=function(Y){var getColumnIndex=function(cell){var rowNode=cell.ancestor('tr');if(!rowNode||!cell){return}
var cells=rowNode.all('td, th');return cells.indexOf(cell)},getNextCell=function(cell){var n=cell||document.activeElement,next=n.next('td.cell, th.cell');if(!next){return null}
if(!next||!Y.one(next).one('input:not([type="hidden"]):not([disabled="DISABLED"]), select, a')){return getNextCell(next)}
return next},getPrevCell=function(cell){var n=cell||document.activeElement,next=n.previous('td.cell, th.cell');if(!next){return null}
if(!Y.one(next).one('input:not([type="hidden"]):not([disabled="DISABLED"]), select, a')){return getPrevCell(next)}
return next},getAboveCell=function(cell){var n=cell||document.activeElement,tr=n.ancestor('tr').previous('tr'),columnIndex=getColumnIndex(n),next=null;if(tr){next=tr.all('td, th').item(columnIndex)}else{return null}
if(!Y.one(next).one('input:not([type="hidden"]):not([disabled="DISABLED"]), select, a')){return getAboveCell(next)}
return next},getBelowCell=function(cell){var n=cell||document.activeElement,tr=n.ancestor('tr').next('tr'),columnIndex=getColumnIndex(n),next=null;if(tr){next=tr.all('td, th').item(columnIndex)}else{return null}
if(!Y.one(next).one('input:not([type="hidden"]):not([disabled="DISABLED"]), select, a')){return getBelowCell(next)}
return next};Y.one(Y.config.doc.body).delegate('key',function(e){e.preventDefault();e.stopPropagation();var next=null;switch(e.keyCode){case 37:next=getPrevCell(this.ancestor('td, th'));break;case 38:next=getAboveCell(this.ancestor('td, th'));break;case 39:next=getNextCell(this.ancestor('td, th'));break;case 40:next=getBelowCell(this.ancestor('td, th'));break}
if(next){Y.one(next).one('input:not([type="hidden"]):not([disabled="DISABLED"]), select, a').focus()}
return},'down:37,38,39,40+ctrl','table input, table select, table a');Y.all('.include').each(function(link){var type=link.getAttribute('class').split(" ")[2];var toggle=function(checked){return function(input){input.getDOMNode().checked=checked;Y.Event.simulate(input.getDOMNode(),'change')}};link.on('click',function(e){e.preventDefault();Y.all('input[name^='+type+']').each(toggle(link.hasClass('all')))})});Y.all('input[name^=override_]').each(function(input){input.on('change',function(){var checked=input.getDOMNode().checked;var names=input.getAttribute('name').split("_");var itemid=names[1];var userid=names[2];var interest='_'+itemid+'_'+userid;Y.all('input[name$='+interest+']').filter('input[type=text]').each(function(text){text.getDOMNode().disabled=!checked});Y.all('select[name$='+interest+']').each(function(select){select.getDOMNode().disabled=!checked})})})}