@@ 313-321 (lines=9) @@ | ||
310 | $data['welcome'] = trim($bbbsession['welcome']); |
|
311 | // Set the duration for the meeting. |
|
312 | $durationtime = bigbluebuttonbn_bbb_view_create_meeting_data_duration($bbbsession['bigbluebuttonbn']->closingtime); |
|
313 | if ($durationtime > 0) { |
|
314 | $data['duration'] = $durationtime; |
|
315 | $data['welcome'] .= '<br><br>'; |
|
316 | $data['welcome'] .= str_replace( |
|
317 | '%duration%', |
|
318 | (string) $durationtime, |
|
319 | get_string('bbbdurationwarning', 'bigbluebuttonbn') |
|
320 | ); |
|
321 | } |
|
322 | $voicebridge = intval($bbbsession['voicebridge']); |
|
323 | if ($voicebridge > 0 && $voicebridge < 79999) { |
|
324 | $data['voiceBridge'] = $voicebridge; |
@@ 112-120 (lines=9) @@ | ||
109 | $data['welcome'] = trim($bbbsession['welcome']); |
|
110 | // Set the duration for the meeting. |
|
111 | $durationtime = self::create_meeting_data_duration($bbbsession['bigbluebuttonbn']->closingtime); |
|
112 | if ($durationtime > 0) { |
|
113 | $data['duration'] = $durationtime; |
|
114 | $data['welcome'] .= '<br><br>'; |
|
115 | $data['welcome'] .= str_replace( |
|
116 | '%duration%', |
|
117 | (string) $durationtime, |
|
118 | get_string('bbbdurationwarning', 'bigbluebuttonbn') |
|
119 | ); |
|
120 | } |
|
121 | $voicebridge = intval($bbbsession['voicebridge']); |
|
122 | if ($voicebridge > 0 && $voicebridge < 79999) { |
|
123 | $data['voiceBridge'] = $voicebridge; |