From 18894ee462eb637e1241801c860f688f3b0bf9d2 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 23 Oct 2006 13:42:23 +0000 Subject: [PATCH] Fixed   characters MDL-7179 --- admin/report/stats/index.php | 2 +- course/pending.php | 4 ++-- course/report/stats/index.php | 4 ++-- lib/weblib.php | 2 +- mod/resource/type/directory/resource.class.php | 2 +- mod/resource/type/html/resource.class.php | 2 +- mod/resource/type/text/resource.class.php | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/admin/report/stats/index.php b/admin/report/stats/index.php index 84dc0f8214..602fab8ace 100644 --- a/admin/report/stats/index.php +++ b/admin/report/stats/index.php @@ -67,7 +67,7 @@ // $strstats"; // print_header("$course->shortname: $strstats", "$course->fullname", -// $crumb, '', '', true, ' ', $menu); +// $crumb, '', '', true, ' ', $menu); require_once($CFG->dirroot.'/course/report/stats/report.php'); diff --git a/course/pending.php b/course/pending.php index 15ce7ecc60..5e794cddf3 100644 --- a/course/pending.php +++ b/course/pending.php @@ -96,7 +96,7 @@ $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) { @@ -126,4 +126,4 @@ print_footer(); -?> \ No newline at end of file +?> diff --git a/course/report/stats/index.php b/course/report/stats/index.php index 49e8227c7a..3d819a18b2 100644 --- a/course/report/stats/index.php +++ b/course/report/stats/index.php @@ -59,11 +59,11 @@ $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 +?> diff --git a/lib/weblib.php b/lib/weblib.php index d9ffc9bb4e..bb938d80d2 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3124,7 +3124,7 @@ has_capability('moodle/course:viewhiddenuserfields', $context)) { 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; } diff --git a/mod/resource/type/directory/resource.class.php b/mod/resource/type/directory/resource.class.php index 12e3c04cb8..8b9e6e23d4 100644 --- a/mod/resource/type/directory/resource.class.php +++ b/mod/resource/type/directory/resource.class.php @@ -69,7 +69,7 @@ function display() { navmenu($course, $cm)); if (has_capability('moodle/course:managefiles', get_context_instance(CONTEXT_COURSE, $course->id))) { - echo "
pixpath/i/files.gif\" height=\"16\" width=\"16\" alt=\"\" /> ". + echo "
pixpath/i/files.gif\" height=\"16\" width=\"16\" alt=\"\" /> ". "wwwroot/files/index.php?id={$course->id}&wdir=/{$resource->reference}$subdir\">". get_string("editfiles")."...
"; } diff --git a/mod/resource/type/html/resource.class.php b/mod/resource/type/html/resource.class.php index cc4b441286..61d72984d5 100644 --- a/mod/resource/type/html/resource.class.php +++ b/mod/resource/type/html/resource.class.php @@ -141,7 +141,7 @@ function display() { $link = "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).""; - echo "

 

"; + echo "

 

"; echo '

'; print_string('popupresource', 'resource'); echo '
'; diff --git a/mod/resource/type/text/resource.class.php b/mod/resource/type/text/resource.class.php index 94752de263..f868c6683c 100644 --- a/mod/resource/type/text/resource.class.php +++ b/mod/resource/type/text/resource.class.php @@ -140,7 +140,7 @@ function display() { $link = "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).""; - echo "

 

"; + echo "

 

"; echo '

'; print_string('popupresource', 'resource'); echo '
'; -- 2.39.5