|
|
|
|
@ -44,10 +44,7 @@ class BBBPlugin extends Plugin |
|
|
|
|
*/ |
|
|
|
|
protected function __construct() |
|
|
|
|
{ |
|
|
|
|
parent::__construct( |
|
|
|
|
'2.10', |
|
|
|
|
'Julio Montoya, Yannick Warnier, Angel Fernando Quiroz Campos, Jose Angel Ruiz, Ghazi Triki, Adnen Manssouri', |
|
|
|
|
[ |
|
|
|
|
$settings = [ |
|
|
|
|
'tool_enable' => 'boolean', |
|
|
|
|
'host' => 'text', |
|
|
|
|
'salt' => 'text', |
|
|
|
|
@ -74,8 +71,16 @@ class BBBPlugin extends Plugin |
|
|
|
|
'bbb_force_record_generation' => 'checkbox', |
|
|
|
|
'disable_course_settings' => 'boolean', |
|
|
|
|
'meeting_duration' => 'text', |
|
|
|
|
'plugin_bbb_multiple_urls_cron_apply_to_all' => 'checkbox', |
|
|
|
|
] |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
if (1 === (int) api_get_current_access_url_id()) { |
|
|
|
|
$settings['plugin_bbb_multiple_urls_cron_apply_to_all'] = 'checkbox'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
parent::__construct( |
|
|
|
|
'2.10', |
|
|
|
|
'Julio Montoya, Yannick Warnier, Angel Fernando Quiroz Campos, Jose Angel Ruiz, Ghazi Triki, Adnen Manssouri', |
|
|
|
|
$settings |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$this->isAdminPlugin = true; |
|
|
|
|
|