[svn r14452] Improved condition for new course having a videoconference link or not

skala
Yannick Warnier 17 years ago
parent 62ac70521b
commit 90396bbdb2
  1. 7
      main/inc/lib/add_course.lib.inc.php

@ -1671,8 +1671,11 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$default_doc
if(api_get_setting('service_visio','active')=='true'){
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
if(!empty(api_get_setting('service_visio','visio_host')))
{
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
}
}
// Smartblogs (Kevin Van Den Haute :: kevin@develop-it.be)

Loading…
Cancel
Save