Tweaking
This commit is contained in:
+4
-2
@@ -669,9 +669,9 @@ function forum_make_mail_html($course, $forum, $discussion, $post, $userfrom, $u
|
||||
$posthtml .= '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'" />'."\n";
|
||||
}
|
||||
$posthtml .= '</head>';
|
||||
$posthtml .= "\n<body>\n\n";
|
||||
$posthtml .= "\n<body id=\"email\">\n\n";
|
||||
|
||||
$posthtml .= '<div class="mail navbar">'.
|
||||
$posthtml .= '<div class="navbar">'.
|
||||
'<a target="_blank" href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.$course->shortname.'</a> » '.
|
||||
'<a target="_blank" href="'.$CFG->wwwroot.'/mod/forum/index.php?id='.$course->id.'">'.$strforums.'</a> » '.
|
||||
'<a target="_blank" href="'.$CFG->wwwroot.'/mod/forum/view.php?f='.$forum->id.'">'.format_string($forum->name,true).'</a>';
|
||||
@@ -688,6 +688,8 @@ function forum_make_mail_html($course, $forum, $discussion, $post, $userfrom, $u
|
||||
get_string('unsubscribe', 'forum').'</a></div>';
|
||||
}
|
||||
|
||||
$posthtml .= '</body>';
|
||||
|
||||
return $posthtml;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
<?php // $Id$
|
||||
|
||||
// Set tracking option for the forum.
|
||||
// Set tracking option for the forum.
|
||||
|
||||
require_once("../../config.php");
|
||||
require_once("lib.php");
|
||||
|
||||
Reference in New Issue
Block a user