| @@ 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; |
|
| @@ 111-119 (lines=9) @@ | ||
| 108 | $data['welcome'] = trim($bbbsession['welcome']); |
|
| 109 | // Set the duration for the meeting. |
|
| 110 | $durationtime = self::create_meeting_data_duration($bbbsession['bigbluebuttonbn']->closingtime); |
|
| 111 | if ($durationtime > 0) { |
|
| 112 | $data['duration'] = $durationtime; |
|
| 113 | $data['welcome'] .= '<br><br>'; |
|
| 114 | $data['welcome'] .= str_replace( |
|
| 115 | '%duration%', |
|
| 116 | (string) $durationtime, |
|
| 117 | get_string('bbbdurationwarning', 'bigbluebuttonbn') |
|
| 118 | ); |
|
| 119 | } |
|
| 120 | $voicebridge = intval($bbbsession['voicebridge']); |
|
| 121 | if ($voicebridge > 0 && $voicebridge < 79999) { |
|
| 122 | $data['voiceBridge'] = $voicebridge; |
|