diff --git a/plugin/bbb/lib/bbb.lib.php b/plugin/bbb/lib/bbb.lib.php index 9cf286228c..bc5e94399c 100755 --- a/plugin/bbb/lib/bbb.lib.php +++ b/plugin/bbb/lib/bbb.lib.php @@ -36,6 +36,7 @@ class bbb private $courseCode; private $sessionId; private $groupId; + private $plugin; /** * Constructor (generates a connection to the API and the Chamilo settings @@ -667,7 +668,7 @@ class bbb } $recordLink = Display::url( - get_lang('ViewRecord'), + $this->plugin->get_lang('ViewRecord'), $record['playbackFormatUrl'], ['target' => '_blank'] ); diff --git a/plugin/bbb/listing.php b/plugin/bbb/listing.php index 440159fc55..ed0f69e00b 100755 --- a/plugin/bbb/listing.php +++ b/plugin/bbb/listing.php @@ -10,6 +10,13 @@ require_once __DIR__.'/config.php'; $plugin = BBBPlugin::create(); $tool_name = $plugin->get_lang('Videoconference'); +$htmlHeadXtra[] = api_get_js_simple( + api_get_path(WEB_PLUGIN_PATH) . 'bbb/resources/utils.js' +); +$htmlHeadXtra[] = ""; + +$tpl = new Template($tool_name); + $isGlobal = isset($_GET['global']) ? true : false; $isGlobalPerUser = isset($_GET['user_id']) ? (int) $_GET['user_id']: false;