|
|
@ -1,6 +1,6 @@ |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
/** |
|
|
|
/** |
|
|
|
* This script should be included by add_course.lib.inc.php when adding a new course |
|
|
|
* This script is executed when a new course is created |
|
|
|
* @package chamilo.plugin.bigbluebutton |
|
|
|
* @package chamilo.plugin.bigbluebutton |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
/** |
|
|
|
/** |
|
|
@ -20,10 +20,7 @@ if (!empty($course_id)) { |
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_attendee_password','','plugins')"; |
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_attendee_password','','plugins')"; |
|
|
|
$r = Database::query($sql_course); |
|
|
|
$r = Database::query($sql_course); |
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_moderator_password','','plugins')"; |
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_moderator_password','','plugins')"; |
|
|
|
$r = Database::query($sql_course); |
|
|
|
$r = Database::query($sql_course); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//New BBB settings |
|
|
|
//New BBB settings |
|
|
|
|
|
|
|
|
|
|
@ -43,8 +40,7 @@ if (!empty($course_id)) { |
|
|
|
$r = Database::query($sql_course);*/ |
|
|
|
$r = Database::query($sql_course);*/ |
|
|
|
|
|
|
|
|
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_record_and_store','','plugins')"; |
|
|
|
$sql_course = "INSERT INTO $t_course (c_id, variable,value,category) VALUES ($course_id, 'big_blue_button_record_and_store','','plugins')"; |
|
|
|
$r = Database::query($sql_course); |
|
|
|
$r = Database::query($sql_course); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$t_tool = Database::get_course_table(TABLE_TOOL_LIST); |
|
|
|
$t_tool = Database::get_course_table(TABLE_TOOL_LIST); |
|
|
|
$sql_course = "INSERT INTO $t_tool VALUES ($course_id, NULL, 'videoconference','../../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; |
|
|
|
$sql_course = "INSERT INTO $t_tool VALUES ($course_id, NULL, 'videoconference','../../plugin/bbb/start.php','visio.gif','".string2binary(api_get_setting('course_create_active_tools', 'videoconference'))."','0','squaregrey.gif','NO','_blank','plugin','0')"; |
|
|
|