[Hw4mdl-svn] SF.net SVN: hw4mdl: [167] trunk/moodle
Brought to you by:
jhlinder,
trollinger
|
From: <hu...@us...> - 2007-01-04 17:43:57
|
Revision: 167
http://svn.sourceforge.net/hw4mdl/?rev=167&view=rev
Author: hugues
Date: 2007-01-04 09:43:55 -0800 (Thu, 04 Jan 2007)
Log Message:
-----------
http://u.horizonwimba.com/bugzilla/show_bug.cgi?id=10613
- updated the display of the checkboxes
- Changed the text, the functionnality was actually correctly implemented
Modified Paths:
--------------
trunk/moodle/lang/en/liveclassroom.php
trunk/moodle/lang/en_utf8/liveclassroom.php
trunk/moodle/lang/fr/liveclassroom.php
trunk/moodle/lang/fr_utf8/liveclassroom.php
trunk/moodle/mod/liveclassroom/generateSettings.php
Modified: trunk/moodle/lang/en/liveclassroom.php
===================================================================
--- trunk/moodle/lang/en/liveclassroom.php 2007-01-04 16:32:37 UTC (rev 166)
+++ trunk/moodle/lang/en/liveclassroom.php 2007-01-04 17:43:55 UTC (rev 167)
@@ -116,7 +116,7 @@
$string['Third-party Conference Call'] = "Third-party Conference Call";
$string['Features'] = "Features";
$string['Enable Students to use eBoard'] = "Enable Students to use eBoard";
-$string['Enable Students to use AppShare'] = "Enable Students to use AppShare";
+$string['enableScreenGrab'] = "Enable Students to use the Screen Grab tool.";
$string['Enable Archiving'] = "Enable Archiving";
$string['Enable Appshare'] = "Enable Appshare";
$string['Enable On-The-Fly PPT Import'] = "Enable On-The-Fly PPT Import";
Modified: trunk/moodle/lang/en_utf8/liveclassroom.php
===================================================================
--- trunk/moodle/lang/en_utf8/liveclassroom.php 2007-01-04 16:32:37 UTC (rev 166)
+++ trunk/moodle/lang/en_utf8/liveclassroom.php 2007-01-04 17:43:55 UTC (rev 167)
@@ -116,7 +116,7 @@
$string['Third-party Conference Call'] = "Third-party Conference Call";
$string['Features'] = "Features";
$string['Enable Students to use eBoard'] = "Enable Students to use eBoard";
-$string['Enable Students to use AppShare'] = "Enable Students to use AppShare";
+$string['enableScreenGrab'] = "Enable Students to use the Screen Grab tool.";
$string['Enable Archiving'] = "Enable Archiving";
$string['Enable Appshare'] = "Enable Appshare";
$string['Enable On-The-Fly PPT Import'] = "Enable On-The-Fly PPT Import";
Modified: trunk/moodle/lang/fr/liveclassroom.php
===================================================================
--- trunk/moodle/lang/fr/liveclassroom.php 2007-01-04 16:32:37 UTC (rev 166)
+++ trunk/moodle/lang/fr/liveclassroom.php 2007-01-04 17:43:55 UTC (rev 167)
@@ -118,7 +118,7 @@
$string['Third-party Conference Call'] = "Système de Conférence Téléphonique Alternatif";
$string['Features'] = "Fonctions";
$string['Enable Students to use eBoard'] = "Permettre aux étudiants d'utiliser le tableau blanc <i>eBoard</i>";
-$string['Enable Students to use AppShare'] = "Permettre aux étudiants d'utiliser l'outil de partage d'écran.";
+$string['enableScreenGrab'] = "Permettre aux étudiants d'utiliser l'outil de capture d'écran.";
$string['Enable Archiving'] = "Autoriser l'Archivage";
$string['Enable Appshare'] = "Autoriser le partage d'application <i>AppShare</i>";
$string['Enable On-The-Fly PPT Import'] = "Autoriser l'import de fichier PPT à-la-volée";
Modified: trunk/moodle/lang/fr_utf8/liveclassroom.php
===================================================================
--- trunk/moodle/lang/fr_utf8/liveclassroom.php 2007-01-04 16:32:37 UTC (rev 166)
+++ trunk/moodle/lang/fr_utf8/liveclassroom.php 2007-01-04 17:43:55 UTC (rev 167)
@@ -118,7 +118,7 @@
$string['Third-party Conference Call'] = "Système de Conférence Téléphonique Alternatif";
$string['Features'] = "Fonctions";
$string['Enable Students to use eBoard'] = "Permettre aux étudiants d'utiliser le tableau blanc <i>eBoard</i>";
-$string['Enable Students to use AppShare'] = "Permettre aux étudiants d'utiliser l'outil de partage d'écran.";
+$string['enableScreenGrab'] = "Permettre aux étudiants d'utiliser l'outil de capture d'écran.";
$string['Enable Archiving'] = "Autoriser l'Archivage";
$string['Enable Appshare'] = "Autoriser le partage d'application <i>AppShare</i>";
$string['Enable On-The-Fly PPT Import'] = "Autoriser l'import de fichier PPT à-la-volée";
Modified: trunk/moodle/mod/liveclassroom/generateSettings.php
===================================================================
--- trunk/moodle/mod/liveclassroom/generateSettings.php 2007-01-04 16:32:37 UTC (rev 166)
+++ trunk/moodle/mod/liveclassroom/generateSettings.php 2007-01-04 17:43:55 UTC (rev 167)
@@ -666,15 +666,19 @@
$align = $xmldoc->create_element('align');
$align->append_child($xmldoc->create_text_node(""));
$linepart->append_child($align);
- $parameters=array("type" => "checkbox", "value" => "1", "id" => "enabled_eboard", "name" => "student_wb_enabled") ;
+ $parameters=array("type" => "checkbox", "value" => "1",
+ "id" => "enabled_eboard", "name" => "student_wb_enabled",
+ "onclick" => "hideDiv(\"screenGrab\")") ;
if($action=='update'){
- if($room_info['student_wb_enabled']==1) $parameters['checked']=true;
+ if($room_info['student_wb_enabled']==1) {
+ $parameters['checked']=true;
+ }
}
-
$linepart->append_child(liveclassroom_create_linepart_element($xmldoc,$contextDisplay, "input", $parameters) );
$panelLine->append_child($linepart);
- $linepart->append_child(liveclassroom_create_linepart_element($xmldoc,$contextDisplay,"label", $parameters=array("value" => liveclassroom_get_message("Enable Students to use eBoard")) ));
+ $linepart->append_child(liveclassroom_create_linepart_element($xmldoc,$contextDisplay,"label",
+ $parameters=array("value" => liveclassroom_get_message("Enable Students to use eBoard")) ));
$panelLine->append_child($linepart);
$panelContent->append_child($panelLine);
@@ -682,10 +686,10 @@
// SECOND LINE
$panelLine = $xmldoc->create_element('panelLine');
$plid = $xmldoc->create_element('id');
- $plid->append_child($xmldoc->create_text_node(""));
+ $plid->append_child($xmldoc->create_text_node("screenGrab"));
$panelLine->append_child($plid);
$panelLineStyle = $xmldoc->create_element('style');
- $panelLineStyle->append_child($xmldoc->create_text_node(" "));
+ $panelLineStyle->append_child($xmldoc->create_text_node(($room_info['student_wb_enabled']==1)?"visible":"hide"));
$panelLine->append_child($panelLineStyle);
$linepart = $xmldoc->create_element('panelLinePart');
$style = $xmldoc->create_element('style');
@@ -698,7 +702,8 @@
$align = $xmldoc->create_element('align');
$align->append_child($xmldoc->create_text_node(""));
$linepart->append_child($align);
- $parameters=array("type" => "checkbox", "value" => "1", "id" => "enabled_liveapp", "name" => "student_wb_liveapp") ;
+ $parameters=array("type" => "checkbox", "value" => "1",
+ "id" => "enabled_liveapp", "name" => "student_wb_liveapp") ;
if($action=='update'){
if($room_info['student_wb_liveapp']==1) $parameters['checked']=true;
}
@@ -706,7 +711,8 @@
$linepart->append_child(liveclassroom_create_linepart_element($xmldoc,"$MAINLECTURE", "input", $parameters) );
$panelLine->append_child($linepart);
- $linepart->append_child(liveclassroom_create_linepart_element($xmldoc,"$MAINLECTURE","label", $parameters=array("value" => liveclassroom_get_message("Enable Students to use AppShare"))));
+ $linepart->append_child(liveclassroom_create_linepart_element($xmldoc,"$MAINLECTURE","label",
+ $parameters=array("value" => liveclassroom_get_message("enableScreenGrab"))));
$panelLine->append_child($linepart);
$panelContent->append_child($panelLine);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|