Skip to content

Commit

Permalink
merged fix for 5916
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Jun 26, 2006
1 parent 77cf495 commit b7425e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/weblib.php
Expand Up @@ -2823,9 +2823,11 @@ function print_user($user, $course, $messageselect=false) {
}
echo '</div></td><td class="links">';
//link to blogs
if ($CFG->bloglevel > 0) {
echo '<a href="'.$CFG->wwwroot.'/blog/index.php?userid='.$user->id.'">'.get_string('blogs','blog').'</a><br />';
}

echo '<a href="'.$CFG->wwwroot.'/blog/index.php?userid='.$user->id.'">'.get_string('blogs','blog').'</a><br />';
if ($isteacher) {
if ($isteacher) {
$timemidnight = usergetmidnight(time());
echo '<a href="'. $CFG->wwwroot .'/course/user.php?id='. $course->id .'&amp;user='. $user->id .'">'. $string->activity .'</a><br />';
if (!iscreator($user->id) or ($isadmin and !isadmin($user->id))) { // Includes admins
Expand Down

0 comments on commit b7425e2

Please sign in to comment.