@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | 'alt' => $contents, |
94 | 94 | 'title' => $contents, |
95 | 95 | 'src' => $jsvars['pix_icon_delete'] |
96 | - ); |
|
96 | + ); |
|
97 | 97 | $jsvars['pix_icon_delete'] = html_writer::tag('img', '', $options); |
98 | 98 | } |
99 | 99 | $PAGE->requires->yui_module('moodle-mod_bigbluebuttonbn-modform', |
@@ -180,8 +180,8 @@ discard block |
||
180 | 180 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
181 | 181 | $field['description_key'], 0, ['maxlength' => 4, 'size' => 6], |
182 | 182 | ['message' => get_string('mod_form_field_voicebridge_format_error', 'bigbluebuttonbn'), |
183 | - 'type' => 'numeric', 'rule' => '####', 'validator' => 'server'] |
|
184 | - ); |
|
183 | + 'type' => 'numeric', 'rule' => '####', 'validator' => 'server'] |
|
184 | + ); |
|
185 | 185 | } else { |
186 | 186 | $this->bigbluebuttonbn_mform_add_element($mform, $field['type'], $field['name'], $field['data_type'], |
187 | 187 | $field['description_key'], 0, ['maxlength' => 4, 'size' => 6]); |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | |
213 | 213 | private function bigbluebuttonbn_mform_add_block_room_recordings($mform, $cfg) { |
214 | 214 | $field = ['type' => 'hidden', 'name' => 'recordings_html', 'data_type' => PARAM_INT, |
215 | - 'description_key' => null]; |
|
215 | + 'description_key' => null]; |
|
216 | 216 | if ($cfg['recordings_html_editable']) { |
217 | 217 | $field['type'] = 'checkbox'; |
218 | 218 | $field['description_key'] = 'mod_form_field_recordings_html'; |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | $field['description_key'], $cfg['recordings_html_default']); |
222 | 222 | |
223 | 223 | $field = ['type' => 'hidden', 'name' => 'recordings_deleted', 'data_type' => PARAM_INT, |
224 | - 'description_key' => null]; |
|
224 | + 'description_key' => null]; |
|
225 | 225 | if ($cfg['recordings_deleted_editable']) { |
226 | 226 | $field['type'] = 'checkbox'; |
227 | 227 | $field['description_key'] = 'mod_form_field_recordings_deleted'; |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | $field['description_key'], $cfg['recordings_deleted_default']); |
231 | 231 | |
232 | 232 | $field = ['type' => 'hidden', 'name' => 'recordings_imported', 'data_type' => PARAM_INT, |
233 | - 'description_key' => null]; |
|
233 | + 'description_key' => null]; |
|
234 | 234 | if ($cfg['recordings_imported_editable']) { |
235 | 235 | $field['type'] = 'checkbox'; |
236 | 236 | $field['description_key'] = 'mod_form_field_recordings_imported'; |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | $htmlselectiontype = html_writer::select($participantselection['type_options'], |
279 | 279 | 'bigbluebuttonbn_participant_selection_type', $participantselection['type_selected'], array(), |
280 | 280 | array('id' => 'bigbluebuttonbn_participant_selection_type', |
281 | - 'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;')); |
|
281 | + 'onchange' => 'M.mod_bigbluebuttonbn.modform.participantSelectionSet(); return 0;')); |
|
282 | 282 | $htmlselectionoptions = html_writer::select($participantselection['options'], 'bigbluebuttonbn_participant_selection', |
283 | 283 | $participantselection['selected'], array(), |
284 | 284 | array('id' => 'bigbluebuttonbn_participant_selection', 'disabled' => 'disabled')); |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | 'type' => 'button', 'class' => 'btn btn-secondary', |
287 | 287 | 'value' => get_string('mod_form_field_participant_list_action_add', 'bigbluebuttonbn'), |
288 | 288 | 'onclick' => 'M.mod_bigbluebuttonbn.modform.participantAdd(); return 0;' |
289 | - )); |
|
289 | + )); |
|
290 | 290 | $htmladdparticipant = html_writer::tag('div', |
291 | 291 | $htmlselectiontype . ' ' . $htmlselectionoptions . ' ' . $htmlselectioninput, null); |
292 | 292 | $mform->addElement('html', "\n\n"); |