Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-35582_message_labels_23' of git://github.com/andyjd…

…avis/moodle into MOODLE_23_STABLE
  • Loading branch information...
commit c2fb582ef5491b59e59b37df692cc2c8069fdda5 2 parents b3f8740 + 92e5cbc
@nebgor nebgor authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 message/renderer.php
View
5 message/renderer.php
@@ -333,10 +333,11 @@ public function manage_messagingoptions($processors, $providers, $preferences, $
$output .= html_writer::start_tag('fieldset', array('id' => 'messageprocessor_general', 'class' => 'clearfix'));
$output .= html_writer::nonempty_tag('legend', get_string('generalsettings','admin'), array('class' => 'ftoggler'));
+
$output .= html_writer::start_tag('div');
- $output .= get_string('blocknoncontacts', 'message').': ';
- $output .= html_writer::checkbox('blocknoncontacts', 1, $preferences->blocknoncontacts, '');
+ $output .= html_writer::checkbox('blocknoncontacts', 1, $preferences->blocknoncontacts, get_string('blocknoncontacts', 'message'));
$output .= html_writer::end_tag('div');
+
$output .= html_writer::end_tag('fieldset');
$output .= html_writer::start_tag('div', array('class' => 'mdl-align'));
$output .= html_writer::empty_tag('input', array('type' => 'submit', 'value' => get_string('updatemyprofile'), 'class' => 'form-submit'));
Please sign in to comment.
Something went wrong with that request. Please try again.