global and per user conference options - refs BT#17288

pull/3274/head
Sébastien Ducoulombier 5 years ago
parent 9098d657d5
commit a7c9b71df9
  1. 3
      plugin/zoom/lang/english.php
  2. 3
      plugin/zoom/lang/french.php
  3. 12
      plugin/zoom/lib/zoom_plugin.class.php

@ -10,6 +10,9 @@ $strings['apiKey'] = 'API Key';
$strings['apiSecret'] = 'API Secret';
$strings['enableParticipantRegistration'] = 'Enable participant registration';
$strings['enableCloudRecording'] = 'Enable cloud recording';
$strings['enableGlobalConference'] = 'Enable global conference';
$strings['enableGlobalConferencePerUser'] = 'Enable global conference per user';
$strings['globalConferenceAllowRoles'] = "Global conference link only visible for these user roles";
$strings['tool_enable_help'] = "Choose whether you want to enable the Zoom videoconference tool.
Once enabled, it will show as an additional course tool in all courses' homepage :

@ -10,6 +10,9 @@ $strings['apiKey'] = "Clé d'API (<em>API Key</em>)";
$strings['apiSecret'] = "Code secret d'API (<em>API Secret</em>)";
$strings['enableParticipantRegistration'] = "Activer l'inscription des participants";
$strings['enableCloudRecording'] = "Activer l'enregistrement sur les serveurs de Zoom";
$strings['enableGlobalConference'] = "Activer les conférences globales";
$strings['enableGlobalConferencePerUser'] = "Activer les conférences globales par utilisateur";
$strings['globalConferenceAllowRoles'] = "Visibilité du lien de vidéo conférence global pour les profils suivant";
$strings['tool_enable_help'] = "Choisissez si vous voulez activer l'outil de conférence vidéo Zoom.
Une fois activé, il apparaitra dans les pages d'accueil de tous les cours :

@ -36,6 +36,18 @@ class ZoomPlugin extends Plugin
'apiSecret' => 'text',
'enableParticipantRegistration' => 'boolean',
'enableCloudRecording' => 'boolean',
'enableGlobalConference' => 'boolean',
'enableGlobalConferencePerUser' => 'boolean',
'globalConferenceAllowRoles' => [
'type' => 'select',
'options' => [
PLATFORM_ADMIN => get_lang('Administrator'),
COURSEMANAGER => get_lang('Teacher'),
STUDENT => get_lang('Student'),
STUDENT_BOSS => get_lang('StudentBoss'),
],
'attributes' => ['multiple' => 'multiple'],
],
]
);

Loading…
Cancel
Save