Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ M.core_group = { hoveroverlay : null }; M.core_group.init_index = function(Y, wwwroot, courseid) { M.core_group.groupsCombo = new UpdatableGroupsCombo(wwwroot, courseid); M.core_group.membersCombo = new UpdatableMembersCombo(wwwroot, courseid); }; M.core_group.groupslist = function(Y, preventgroupremoval) { var actions = { init : function() { // We need to add check_deletable both on change for the groups, and then call it the first time the page loads Y.one('#groups').on('change', this.check_deletable, this); this.check_deletable(); }, check_deletable : function() { // Ensure that if the 'preventremoval' attribute is set, the delete button is greyed out var candelete = true; var optionselected = false; Y.one('#groups').get('options').each(function(option) { if (option.get('selected')) { optionselected = true; if (option.getAttribute('value') in preventgroupremoval) { candelete = false; } } }, this); var deletebutton = Y.one('#deletegroup'); if (candelete && optionselected) { deletebutton.removeAttribute('disabled'); } else { deletebutton.setAttribute('disabled', 'disabled'); } } } actions.init(); };