]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed &nbsp characters MDL-7179
authormoodler <moodler>
Mon, 23 Oct 2006 13:42:23 +0000 (13:42 +0000)
committermoodler <moodler>
Mon, 23 Oct 2006 13:42:23 +0000 (13:42 +0000)
admin/report/stats/index.php
course/pending.php
course/report/stats/index.php
lib/weblib.php
mod/resource/type/directory/resource.class.php
mod/resource/type/html/resource.class.php
mod/resource/type/text/resource.class.php

index 84dc0f8214cb20a72d2ff2eca0996a226051bef4..602fab8acef7200b249ec9e59c80db54cae65d5f 100644 (file)
@@ -67,7 +67,7 @@
 //             $strstats";
 
 //    print_header("$course->shortname: $strstats", "$course->fullname",
-//                  $crumb, '', '', true, '&nbsp', $menu);
+//                  $crumb, '', '', true, '&nbsp;', $menu);
 
 
     require_once($CFG->dirroot.'/course/report/stats/report.php');
index 15ce7ecc60cbc734b46a58af935688f06f30ad82..5e794cddf328cc29d84597355ba3cc4c71ee3aaf 100644 (file)
@@ -96,7 +96,7 @@
         $table->cellpadding = 4;
         $table->cellspacing = 3;
         $table->align = array('center','center','center','center','center','center','center');
-        $table->head = array('&nbsp',get_string('shortname'),get_string('fullname'),get_string('requestedby'),get_string('summary'),
+        $table->head = array('&nbsp;',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
+?>
index 49e8227c7aed337e1963c4eea0bcdfdb704c354d..3d819a18b21cb309804f8fa8bff28ebe0fd7e710 100644 (file)
               $strstats";
 
     print_header("$course->shortname: $strstats", "$course->fullname", 
-                  $crumb, '', '', true, '&nbsp', $menu);
+                  $crumb, '', '', true, '&nbsp;', $menu);
     
     
     require_once($CFG->dirroot.'/course/report/stats/report.php');
     
     print_footer();
 
-?>
\ No newline at end of file
+?>
index d9ffc9bb4e0267cc750c44e59f348c7bb77b6f2d..bb938d80d2a47a9bb4789d493bfb502126d0c92a 100644 (file)
@@ -3124,7 +3124,7 @@ has_capability('moodle/course:viewhiddenuserfields', $context)) {
     if (!isset($hiddenfields['lastaccess'])) {
         if ($user->lastaccess) {
             $output .= $string->lastaccess .': '. userdate($user->lastaccess);
-            $output .= '&nbsp ('. format_time(time() - $user->lastaccess, $datestring) .')';
+            $output .= '&nbsp; ('. format_time(time() - $user->lastaccess, $datestring) .')';
         } else {
             $output .= $string->lastaccess .': '. $string->never;
         }
index 12e3c04cb8186372f97383e5e00b916572db43cd..8b9e6e23d481541fca9fedc84d9f0f7a91aa661a 100644 (file)
@@ -69,7 +69,7 @@ function display() {
             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=\"\" />&nbsp".
+        echo "<div align=\"right\"><img src=\"$CFG->pixpath/i/files.gif\" height=\"16\" width=\"16\" alt=\"\" />&nbsp;".
             "<a href=\"$CFG->wwwroot/files/index.php?id={$course->id}&amp;wdir=/{$resource->reference}$subdir\">".
             get_string("editfiles")."...</a></div>";
     }
index cc4b441286c2fe8d0dca43ce98daade1c277338f..61d72984d5245b0bd297a577e8399a1c6d7e70f5 100644 (file)
@@ -141,7 +141,7 @@ function display() {
 
                 $link = "<a href=\"$CFG->wwwroot/mod/resource/view.php?inpopup=true&amp;id={$cm->id}\" target=\"resource{$resource->id}\" onclick=\"return openpopup('/mod/resource/view.php?inpopup=true&amp;id={$cm->id}', 'resource{$resource->id}','{$resource->popup}');\">".format_string($resource->name,true)."</a>";
 
-                echo "<p>&nbsp</p>";
+                echo "<p>&nbsp;</p>";
                 echo '<p align="center">';
                 print_string('popupresource', 'resource');
                 echo '<br />';
index 94752de26384612de9b51ebced4df1b0a1200fd0..f868c6683c35461b97dcbf5d7cb58c33ac2a342e 100644 (file)
@@ -140,7 +140,7 @@ function display() {
 
                 $link = "<a href=\"$CFG->wwwroot/mod/resource/view.php?inpopup=true&amp;id={$cm->id}\" target=\"resource{$resource->id}\" onclick=\"return openpopup('/mod/resource/view.php?inpopup=true&amp;id={$cm->id}', 'resource{$resource->id}','{$resource->popup}');\">".format_string($resource->name,true)."</a>";
 
-                echo "<p>&nbsp</p>";
+                echo "<p>&nbsp;</p>";
                 echo '<p align="center">';
                 print_string('popupresource', 'resource');
                 echo '<br />';