Add URL to share see BT#11157

pull/2487/head
jmontoyaa 10 years ago
parent 31b4725b97
commit 1b3d9ea63a
  1. 1
      plugin/bbb/lang/english.php
  2. 1
      plugin/bbb/lang/french.php
  3. 2
      plugin/bbb/lang/spanish.php
  4. 7
      plugin/bbb/listing.php
  5. 4
      plugin/bbb/listing.tpl

@ -56,3 +56,4 @@ $strings['plugin_tool_bbb'] = 'Video';
$strings['ThereAreNotRecordingsForTheMeetings'] = 'There are not recording for the meeting sessions';
$strings['NoRecording'] = 'No recording';
$strings['ClickToContinue'] = 'Click to continue';
$strings['UrlMeetingToShare'] = 'URL to share';

@ -38,3 +38,4 @@ $strings['plugin_tool_bbb'] = 'Vidéo';
$strings['ThereAreNotRecordingsForTheMeetings'] = 'Aucun enregistrement disponible';
$strings['NoRecording'] = "Pas d'enregistrement";
$strings['ClickToContinue'] = 'Cliquez pour continuer';
$strings['UrlMeetingToShare'] = 'URL à partager';

@ -47,5 +47,5 @@ $strings['plugin_tool_bbb'] = 'Video';
$strings['ThereAreNotRecordingsForTheMeetings'] = 'No hay grabaciones de sesiones de videoconferencia';
$strings['NoRecording'] = 'No hay grabación';
$strings['ClickToContinue'] = 'Hacer click para continuar';
$strings['UrlMeetingToShare'] = 'URL a compartir';

@ -69,6 +69,9 @@ if ($conferenceManager) {
} else {
$message = Display::return_message(get_lang('Error'), 'error');
}
Display::addFlash($message);
header('Location: '.$bbb->getListingUrl());
break;
case 'end':
$bbb->endMeeting($_GET['id']);
@ -161,11 +164,13 @@ if ($bbb->isGlobalConference() === false &&
}
}
$urlToShare = $plugin->get_lang('UrlMeetingToShare').'<br />'.$conferenceUrl;
$tpl = new Template($tool_name);
$tpl->assign('allow_to_edit', $conferenceManager);
$tpl->assign('meetings', $meetings);
$tpl->assign('conference_url', $conferenceUrl);
$tpl->assign('url_to_share', $urlToShare);
$tpl->assign('users_online', $users_online);
$tpl->assign('bbb_status', $status);
$tpl->assign('show_join_button', $showJoinButton);

@ -10,6 +10,10 @@
<span id="users_online" class="label label-warning">
{{ 'XUsersOnLine'| get_lang | format(users_online) }}
</span>
<div class="well">
{{ url_to_share }}
</div>
</div>
{% endif %}

Loading…
Cancel
Save