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
.
/**
* print the single entries
*
* @author Andreas Grabs
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package mod_feedback
*/
require_once("../../config.php");
require_once("lib.php");
require_once($CFG->libdir.'/tablelib.php');
////////////////////////////////////////////////////////
//get the params
////////////////////////////////////////////////////////
$id = required_param('id', PARAM_INT);
$subject = optional_param('subject', '', PARAM_CLEANHTML);
$message = optional_param_array('message', '', PARAM_CLEANHTML);
$format = optional_param('format', FORMAT_MOODLE, PARAM_INT);
$messageuser = optional_param_array('messageuser', false, PARAM_INT);
$action = optional_param('action', '', PARAM_ALPHA);
$perpage = optional_param('perpage', FEEDBACK_DEFAULT_PAGE_COUNT, PARAM_INT); // how many per page
$showall = optional_param('showall', false, PARAM_INT); // should we show all users
// $SESSION->feedback->current_tab = $do_show;
$current_tab = 'nonrespondents';
////////////////////////////////////////////////////////
//get the objects
////////////////////////////////////////////////////////
if ($message) {
$message = $message['text'];
}
list ($course, $cm) = get_course_and_cm_from_cmid($id, 'feedback');
if (! $feedback = $DB->get_record("feedback", array("id"=>$cm->instance))) {
throw new \moodle_exception('invalidcoursemodule');
}
//this page only can be shown on nonanonymous feedbacks in courses
//we should never reach this page
if ($feedback->anonymous != FEEDBACK_ANONYMOUS_NO OR $feedback->course == SITEID) {
throw new \moodle_exception('error');
}
$url = new moodle_url('/mod/feedback/show_nonrespondents.php', array('id'=>$cm->id));
$PAGE->set_url($url);
$context = context_module::instance($cm->id);
//we need the coursecontext to allow sending of mass mails
$coursecontext = context_course::instance($course->id);
require_login($course, true, $cm);
$actionbar = new \mod_feedback\output\responses_action_bar($cm->id, $url);
if (($formdata = data_submitted()) AND !confirm_sesskey()) {
throw new \moodle_exception('invalidsesskey');
}
require_capability('mod/feedback:viewreports', $context);
$canbulkmessaging = has_capability('moodle/course:bulkmessaging', $coursecontext);
if ($action == 'sendmessage' AND $canbulkmessaging) {
$shortname = format_string($course->shortname,
true,
array('context' => $coursecontext));
$strfeedbacks = get_string("modulenameplural", "feedback");
$htmlmessage = "";
$link1 = $CFG->wwwroot.'/course/view.php?id='.$course->id;
$link2 = $CFG->wwwroot.'/mod/feedback/index.php?id='.$course->id;
$link3 = $CFG->wwwroot.'/mod/feedback/view.php?id='.$cm->id;
$htmlmessage .= '