mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merged XHTML fixes from stable
This commit is contained in:
parent
4f1d9d0383
commit
4c57e8e502
2 changed files with 6 additions and 6 deletions
|
@ -2199,7 +2199,7 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
echo '<a title="'.$strmarkalldread.'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
echo '<a title="'.$strmarkalldread.'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
||||||
$forum->id.'&d='.$post->discussion.'&mark=read&returnpage=view.php">' .
|
$forum->id.'&d='.$post->discussion.'&mark=read&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>';
|
echo '</span>';
|
||||||
} else {
|
} else {
|
||||||
echo '<span class="read">';
|
echo '<span class="read">';
|
||||||
|
@ -3155,7 +3155,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
|
||||||
$numdiscussions = count($discussions);
|
$numdiscussions = count($discussions);
|
||||||
|
|
||||||
///Show the paging bar
|
///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&");
|
||||||
|
|
||||||
//Calculate the page "window"
|
//Calculate the page "window"
|
||||||
$pagestart = ($page * $maxdiscussions) + 1;
|
$pagestart = ($page * $maxdiscussions) + 1;
|
||||||
|
@ -3197,7 +3197,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
|
||||||
echo ' <a title="'.get_string('markallread', 'forum').
|
echo ' <a title="'.get_string('markallread', 'forum').
|
||||||
'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
'" href="'.$CFG->wwwroot.'/mod/forum/markposts.php?f='.
|
||||||
$forum->id.'&mark=read&returnpage=view.php">'.
|
$forum->id.'&mark=read&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>';
|
echo '</th>';
|
||||||
}
|
}
|
||||||
|
@ -3288,7 +3288,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($page != -1) { ///Show the paging bar
|
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&");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -202,11 +202,11 @@
|
||||||
if (forum_tp_is_tracked($forum, $USER->id)) {
|
if (forum_tp_is_tracked($forum, $USER->id)) {
|
||||||
$trtitle = get_string('notrackforum', 'forum');
|
$trtitle = get_string('notrackforum', 'forum');
|
||||||
$trackedlink = '<a title="'.get_string('notrackforum', 'forum').'" href="settracking.php?id='.
|
$trackedlink = '<a title="'.get_string('notrackforum', 'forum').'" href="settracking.php?id='.
|
||||||
$forum->id.'&returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
|
$forum->id.'&returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
|
||||||
} else {
|
} else {
|
||||||
$trtitle = get_string('trackforum', 'forum');
|
$trtitle = get_string('trackforum', 'forum');
|
||||||
$trackedlink = '<a title="'.get_string('trackforum', 'forum').'" href="settracking.php?id='.
|
$trackedlink = '<a title="'.get_string('trackforum', 'forum').'" href="settracking.php?id='.
|
||||||
$forum->id.'&returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
|
$forum->id.'&returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
|
||||||
}
|
}
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<span class=\"helplink\">$trackedlink</span>";
|
echo "<span class=\"helplink\">$trackedlink</span>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue