mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +01:00
Merge branch 'MDL-48227-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
2d1df7a3be
@ -115,7 +115,6 @@ $string['delete'] = 'Delete';
|
||||
$string['deleteddiscussion'] = 'The discussion topic has been deleted';
|
||||
$string['deletedpost'] = 'The post has been deleted';
|
||||
$string['deletedposts'] = 'Those posts have been deleted';
|
||||
$string['deleteoriginalonreply'] = 'If replying directly to this via email, please do not include a quoted copy of the post you are responding to';
|
||||
$string['deletesure'] = 'Are you sure you want to delete this post?';
|
||||
$string['deletesureplural'] = 'Are you sure you want to delete this post and all replies? ({$a} posts)';
|
||||
$string['digestmailheader'] = 'This is your daily digest of new posts from the {$a->sitename} forums. To change your default forum email preferences, go to {$a->userprefs}.';
|
||||
@ -408,7 +407,7 @@ $string['repliesmany'] = '{$a} replies so far';
|
||||
$string['repliesone'] = '{$a} reply so far';
|
||||
$string['reply'] = 'Reply';
|
||||
$string['replyforum'] = 'Reply to forum';
|
||||
$string['replytoforumpost'] = 'You can reply to this forum post by email.';
|
||||
$string['replytopostbyemail'] = 'If you reply to this via email, don\'t include a quoted copy of this post. ';
|
||||
$string['replytouser'] = 'Use email address in reply';
|
||||
$string['reply_handler'] = 'Reply to forum posts via email';
|
||||
$string['reply_handler_name'] = 'Reply to forum posts';
|
||||
|
@ -1186,10 +1186,6 @@ function forum_make_mail_text($course, $cm, $forum, $discussion, $post, $userfro
|
||||
|
||||
$posttext = '';
|
||||
|
||||
if ($replyaddress) {
|
||||
$posttext .= "--" . get_string('deleteoriginalonreply', 'mod_forum') . "--\n";
|
||||
}
|
||||
|
||||
if (!$bare) {
|
||||
$shortname = format_string($course->shortname, true, array('context' => context_course::instance($course->id)));
|
||||
$posttext .= "$shortname -> $strforums -> ".format_string($forum->name,true);
|
||||
@ -1241,7 +1237,7 @@ function forum_make_mail_text($course, $cm, $forum, $discussion, $post, $userfro
|
||||
$posttext .= ": {$CFG->wwwroot}/mod/forum/index.php?id={$forum->course}\n";
|
||||
|
||||
if ($replyaddress) {
|
||||
$posttext .= "\n\n" . get_string('replytoforumpost', 'mod_forum');
|
||||
$posttext .= "\n\n" . get_string('replytopostbyemail', 'mod_forum');
|
||||
}
|
||||
|
||||
return $posttext;
|
||||
@ -1286,10 +1282,6 @@ function forum_make_mail_html($course, $cm, $forum, $discussion, $post, $userfro
|
||||
$posthtml .= '</head>';
|
||||
$posthtml .= "\n<body id=\"email\">\n\n";
|
||||
|
||||
if ($replyaddress) {
|
||||
$posthtml .= "<p><em>--" . get_string('deleteoriginalonreply', 'mod_forum') . "--</em></p>";
|
||||
}
|
||||
|
||||
$posthtml .= '<div class="navbar">'.
|
||||
'<a target="_blank" href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.$shortname.'</a> » '.
|
||||
'<a target="_blank" href="'.$CFG->wwwroot.'/mod/forum/index.php?id='.$course->id.'">'.$strforums.'</a> » '.
|
||||
@ -1303,7 +1295,7 @@ function forum_make_mail_html($course, $cm, $forum, $discussion, $post, $userfro
|
||||
$posthtml .= forum_make_mail_post($course, $cm, $forum, $discussion, $post, $userfrom, $userto, false, $canreply, true, false);
|
||||
|
||||
if ($replyaddress) {
|
||||
$posthtml .= html_writer::tag('p', get_string('replytoforumpost', 'mod_forum'));
|
||||
$posthtml .= html_writer::tag('p', get_string('replytopostbyemail', 'mod_forum'));
|
||||
}
|
||||
|
||||
$footerlinks = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user