Browse Source

[svn r10967] move the visioconference tool in the interaction part

Julian Prud'homme 18 years ago
parent
commit
0d2b9b5078
2 changed files with 5 additions and 5 deletions
  1. 3 3
      main/admin/configure_extensions.php
  2. 2 2
      main/inc/lib/add_course.lib.inc.php

+ 3 - 3
main/admin/configure_extensions.php

@@ -66,21 +66,21 @@ if(isset($_POST['activeExtension'])){
 					if(!empty($_POST['visioconference_url']))
 					{
 						$sql = 'INSERT INTO '.$row['db_name'].'.'.TABLE_TOOL_LIST.' SET 
-								name="visio",
+								name="'.TOOL_VISIO_CONFERENCE.'",
 								link="conference/index.php?type=conference",
 								image="visio.gif",
 								visibility="1",
 								admin="0",
 								address="squaregrey.gif",
 								target="_self",
-								category="authoring"';
+								category="interaction"';
 								
 						api_sql_query($sql, __FILE__, __LINE__);		
 					}
 					if(!empty($_POST['visioclassroom_url']))
 					{
 						$sql = 'INSERT INTO '.$row['db_name'].'.'.TABLE_TOOL_LIST.' SET 
-								name="visio",
+								name="'.TOOL_VISIO_CLASSROOM.'",
 								link="conference/index.php?type=classroom",
 								image="visio.gif",
 								visibility="1",

+ 2 - 2
main/inc/lib/add_course.lib.inc.php

@@ -1467,9 +1467,9 @@ function fill_Db_course($courseDbName, $courseRepository, $language)
 
 	if(api_get_setting('service_visio','active')=='true'){
 		if(api_get_setting('service_visio','visioconference_url'))
-			api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
+			api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio.gif','1','1','squaregrey.gif','NO','_self','interaction')");
 		if(api_get_setting('service_visio','visioclassroom_url'))
-			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')");
+			api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','1','squaregrey.gif','NO','_self','authoring')");
 	}
 
 	// Smartblogs (Kevin Van Den Haute :: kevin@develop-it.be)