diff --git a/blocks/activity_modules/block_activity_modules.php b/blocks/activity_modules/block_activity_modules.php
index 70a900c3a0f..55a59d18ced 100644
--- a/blocks/activity_modules/block_activity_modules.php
+++ b/blocks/activity_modules/block_activity_modules.php
@@ -27,7 +27,7 @@ class CourseBlock_activity_modules extends MoodleBlock {
foreach ($modnamesused as $modname => $modfullname) {
if ($modname != 'label') {
$this->content->items[] = ''.$modnamesplural[$modname].'';
- $this->content->icons[] = '
';
+ $this->content->icons[] = '
';
}
}
}
diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php
index 13a7b543b87..1da94e92838 100644
--- a/blocks/admin/block_admin.php
+++ b/blocks/admin/block_admin.php
@@ -76,77 +76,77 @@ class CourseBlock_admin extends MoodleBlock {
$isteacheredit = isteacheredit($this->course->id);
if ($isteacheredit) {
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
if (isediting($this->course->id)) {
$this->content->items[]=''.get_string('turneditingoff').'';
} else {
$this->content->items[]=''.get_string('turneditingon').'';
}
$this->content->items[]=''.get_string('settings').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
if (iscreator() or !empty($CFG->teacherassignteachers)) {
if (!$this->course->teachers) {
$this->course->teachers = get_string('defaultcourseteachers');
}
$this->content->items[]=''.$this->course->teachers.'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
if (!$this->course->students) {
$this->course->students = get_string('defaultcoursestudents');
}
$this->content->items[]=''.$this->course->students.'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
$this->content->items[]=''.get_string('backup').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
$this->content->items[]=''.get_string('restore').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
$this->content->items[]=''.get_string('scales').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
$this->content->items[]=''.get_string('grades').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
$this->content->items[]=''.get_string('logs').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
if ($isteacheredit) {
$this->content->items[]=''.get_string('files').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
$this->content->items[]=''.get_string('help').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
if ($teacherforum = forum_get_course_forum($this->course->id, 'teacher')) {
$this->content->items[]=''.get_string('nameteacher', 'forum').'';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
} else if (!isguest()) { // Students menu
if ($this->course->showgrades) {
$this->content->items[]=''.get_string('grades').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
if ($this->course->showreports) {
$this->content->items[]=''.get_string('activityreport').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
if (is_internal_auth()) {
$this->content->items[]=''.get_string('changepassword').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
} else if ($CFG->changepassword) {
$this->content->items[]=''.get_string('changepassword').'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
if ($CFG->allowunenroll) {
$this->content->items[]=''.get_string('unenrolme', '', $this->course->shortname).'...';
- $this->content->icons[]='
';
+ $this->content->icons[]='
';
}
}
}
diff --git a/blocks/course_list/block_course_list.php b/blocks/course_list/block_course_list.php
index f25b7f8a564..6f3e8a907d2 100644
--- a/blocks/course_list/block_course_list.php
+++ b/blocks/course_list/block_course_list.php
@@ -41,10 +41,10 @@ class CourseBlock_course_list extends MoodleBlock {
if (empty($THEME->custompix)) {
$icon = "wwwroot/pix/i/course.gif\"".
- " height=\"16\" width=\"16\" alt=\"".get_string("course")."\">";
+ " height=\"16\" width=\"16\" alt=\"".get_string("course")."\" />";
} else {
$icon = "
wwwroot/theme/$CFG->theme/pix/i/course.gif\"".
- " height=\"16\" width=\"16\" alt=\"".get_string("course")."\">";
+ " height=\"16\" width=\"16\" alt=\"".get_string("course")."\" />";
}
$adminseesall = true;
diff --git a/blocks/online_users/block_online_users.php b/blocks/online_users/block_online_users.php
index 8d3f1003b38..762451c768d 100644
--- a/blocks/online_users/block_online_users.php
+++ b/blocks/online_users/block_online_users.php
@@ -122,12 +122,12 @@ class CourseBlock_online_users extends MoodleBlock {
$this->content->text .= '
';
+ $this->content->text .= '
';
} else {
if ($CFG->slasharguments) {
- $imgtag = '
';
+ $imgtag = '
';
} else {
- $imgtag = '
';
+ $imgtag = '
';
}
$this->content->text .= $imgtag;
}
@@ -137,7 +137,7 @@ class CourseBlock_online_users extends MoodleBlock {
$table->align = array("right","left");
$table->cellpadding = 1;
$table->cellspacing = 1;
- $table->data[] = array("";
+ echo " ";
echo "$stractivityclipboard (".get_string("cancel").")";
echo "pixpath/t/edit.gif\" ".
- " height=11 width=11 border=0 alt=\"$streditsummary\">
";
+ " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
";
}
echo '
';
@@ -220,9 +220,9 @@
} else {
$subtext = get_string("subscribe", "forum");
}
- $headertext = "
+ $headertext = "
";
} else {
$newsforum->name
-
+
id\">$subtext