mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
fixed html emails; merged from MOODLE_15_STABLE
This commit is contained in:
parent
d4156e8096
commit
3554b5c2be
1 changed files with 3 additions and 2 deletions
|
@ -1001,10 +1001,11 @@ class assignment_base {
|
|||
|
||||
|
||||
function email_teachers_html($info) {
|
||||
global $CFG;
|
||||
$posthtml = '<p><font face="sans-serif">'.
|
||||
'<a href="'.$CFG->wwwroot.'/course/view.php?id='.$this->course->id.'">'.$course->shortname.'</a> ->'.
|
||||
'<a href="'.$CFG->wwwroot.'/course/view.php?id='.$this->course->id.'">'.$this->course->shortname.'</a> ->'.
|
||||
'<a href="'.$CFG->wwwroot.'/mod/assignment/index.php?id='.$this->course->id.'">'.$this->strassignments.'</a> ->'.
|
||||
'<a href="'.$CFG->wwwroot.'/mod/assignment/view.php?id='.$cm->id.'">'.format_string($this->assignment->name,true).'</a></font></p>';
|
||||
'<a href="'.$CFG->wwwroot.'/mod/assignment/view.php?id='.$this->cm->id.'">'.format_string($this->assignment->name,true).'</a></font></p>';
|
||||
$posthtml .= '<hr /><font face="sans-serif">';
|
||||
$posthtml .= '<p>'.get_string('emailteachermailhtml', 'assignment', $info).'</p>';
|
||||
$posthtml .= '</font><hr />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue