mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-16267 done all items in list (html tidy, xhtml strict, plugins tidy)
This commit is contained in:
parent
2c48aeab95
commit
d18b1bbdec
10 changed files with 140 additions and 195 deletions
|
@ -110,11 +110,11 @@ class message_output_jabber extends message_output {
|
|||
* Creates necessary fields in the messaging config form.
|
||||
* @param object $mform preferences form class
|
||||
*/
|
||||
function config_form(&$mform){
|
||||
$mform->addElement('static', 'jabber_labeljabber', get_string('processortag', 'message').'Jabber ', '');
|
||||
$mform->addElement('text', 'jabber_jabberid', 'jabber ID');
|
||||
$mform->setAdvanced('jabber_labeljabber');
|
||||
$mform->setAdvanced('jabber_jabberid');
|
||||
function config_form($preferences){
|
||||
$dest = get_string('jabber', 'messageprocessor_jabber');
|
||||
echo '<tr><td colspan="2"><b>'.get_string('processortag', 'message').$dest.'</b></td></tr>'."\n";
|
||||
echo '<tr><td align="right">Jabber ID</td><td><input name="jabber_jabberid" value="'.$preferences->jabber_jabberid.'" /></td></tr>'."\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -122,7 +122,7 @@ class message_output_jabber extends message_output {
|
|||
* @param object $mform preferences form class
|
||||
* @param array $preferences preferences array
|
||||
*/
|
||||
function process_form(&$form, &$preferences){
|
||||
function process_form($form, &$preferences){
|
||||
$preferences['message_processor_jabber_jabberid'] = $form->jabber_jabberid;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue