'.get_string('noguests', 'chat').'
'; $chatinfo = new stdClass(); $chatinfo->date = userdate($chat->chattime); $chatinfo->fromnow = format_time($span); echo get_string('sessionstart', 'chat', $chatinfo); echo '
'; echo $OUTPUT->action_link($chattarget, $strenterchat, new popup_action('click', $chattarget, "chat{$course->id}_{$chat->id}{$groupparam}", array('height' => 500, 'width' => 700))); echo '
'; echo $OUTPUT->action_link($link, get_string('noframesjs', 'message'), $action, array('title' => get_string('modulename', 'chat'))); echo '
'; echo html_writer::link(new moodle_url('/mod/chat/report.php', array('id' => $cm->id)), get_string('viewreport', 'chat')); echo '
'.get_string('notallowenter', 'chat').'
'.fullname($chatuser).'