// $strstats";
// print_header("$course->shortname: $strstats", "$course->fullname",
-// $crumb, '', '', true, ' ', $menu);
+// $crumb, '', '', true, ' ', $menu);
require_once($CFG->dirroot.'/course/report/stats/report.php');
$table->cellpadding = 4;
$table->cellspacing = 3;
$table->align = array('center','center','center','center','center','center','center');
- $table->head = array(' ',get_string('shortname'),get_string('fullname'),get_string('requestedby'),get_string('summary'),
+ $table->head = array(' ',get_string('shortname'),get_string('fullname'),get_string('requestedby'),get_string('summary'),
get_string('requestreason'),'');
$strrequireskey = get_string('requireskey');
foreach ($pending as $course) {
print_footer();
-?>
\ No newline at end of file
+?>
$strstats";
print_header("$course->shortname: $strstats", "$course->fullname",
- $crumb, '', '', true, ' ', $menu);
+ $crumb, '', '', true, ' ', $menu);
require_once($CFG->dirroot.'/course/report/stats/report.php');
print_footer();
-?>
\ No newline at end of file
+?>
if (!isset($hiddenfields['lastaccess'])) {
if ($user->lastaccess) {
$output .= $string->lastaccess .': '. userdate($user->lastaccess);
- $output .= '  ('. format_time(time() - $user->lastaccess, $datestring) .')';
+ $output .= ' ('. format_time(time() - $user->lastaccess, $datestring) .')';
} else {
$output .= $string->lastaccess .': '. $string->never;
}
navmenu($course, $cm));
if (has_capability('moodle/course:managefiles', get_context_instance(CONTEXT_COURSE, $course->id))) {
- echo "<div align=\"right\"><img src=\"$CFG->pixpath/i/files.gif\" height=\"16\" width=\"16\" alt=\"\" /> ".
+ echo "<div align=\"right\"><img src=\"$CFG->pixpath/i/files.gif\" height=\"16\" width=\"16\" alt=\"\" /> ".
"<a href=\"$CFG->wwwroot/files/index.php?id={$course->id}&wdir=/{$resource->reference}$subdir\">".
get_string("editfiles")."...</a></div>";
}
$link = "<a href=\"$CFG->wwwroot/mod/resource/view.php?inpopup=true&id={$cm->id}\" target=\"resource{$resource->id}\" onclick=\"return openpopup('/mod/resource/view.php?inpopup=true&id={$cm->id}', 'resource{$resource->id}','{$resource->popup}');\">".format_string($resource->name,true)."</a>";
- echo "<p> </p>";
+ echo "<p> </p>";
echo '<p align="center">';
print_string('popupresource', 'resource');
echo '<br />';
$link = "<a href=\"$CFG->wwwroot/mod/resource/view.php?inpopup=true&id={$cm->id}\" target=\"resource{$resource->id}\" onclick=\"return openpopup('/mod/resource/view.php?inpopup=true&id={$cm->id}', 'resource{$resource->id}','{$resource->popup}');\">".format_string($resource->name,true)."</a>";
- echo "<p> </p>";
+ echo "<p> </p>";
echo '<p align="center">';
print_string('popupresource', 'resource');
echo '<br />';