Skip to content

Commit

Permalink
FIxed some HTML warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Oct 22, 2006
1 parent 74f65d5 commit 2fb18d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions mod/forum/lib.php
Expand Up @@ -2199,7 +2199,7 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
echo '</a>';
echo '<a title="'.$strmarkalldread.'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
$forum->id.'&amp;d='.$post->discussion.'&amp;mark=read&amp;returnpage=view.php">' .
'<img src="'.$CFG->pixpath.'/t/clear.gif" height="11" width="11" /></a>';
'<img src="'.$CFG->pixpath.'/t/clear.gif" height="11" width="11" alt="" /></a>';
echo '</span>';
} else {
echo '<span class="read">';
Expand Down Expand Up @@ -3197,7 +3197,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
echo '&nbsp;<a title="'.get_string('markallread', 'forum').
'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
$forum->id.'&amp;mark=read&amp;returnpage=view.php">'.
'<img src="'.$CFG->pixpath.'/t/clear.gif" height="11" width="11" border="0" /></a>';
'<img src="'.$CFG->pixpath.'/t/clear.gif" height="11" width="11" border="0" alt="" /></a>';
}
echo '</th>';
}
Expand Down Expand Up @@ -3288,7 +3288,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
}

if ($page != -1) { ///Show the paging bar
print_paging_bar($numdiscussions, $page, $maxdiscussions, "view.php?f=$forum->id&");
print_paging_bar($numdiscussions, $page, $maxdiscussions, "view.php?f=$forum->id&amp;");
}
}

Expand Down
4 changes: 2 additions & 2 deletions mod/forum/view.php
Expand Up @@ -202,11 +202,11 @@
if (forum_tp_is_tracked($forum, $USER->id)) {
$trtitle = get_string('notrackforum', 'forum');
$trackedlink = '<a title="'.get_string('notrackforum', 'forum').'" href="settracking.php?id='.
$forum->id.'&returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
$forum->id.'&amp;returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
} else {
$trtitle = get_string('trackforum', 'forum');
$trackedlink = '<a title="'.get_string('trackforum', 'forum').'" href="settracking.php?id='.
$forum->id.'&returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
$forum->id.'&amp;returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
}
echo "<br />";
echo "<span class=\"helplink\">$trackedlink</span>";
Expand Down

0 comments on commit 2fb18d1

Please sign in to comment.