[Hw4mdl-svn] SF.net SVN: hw4mdl: [99] trunk/moodle/mod/liveclassroom
Brought to you by:
jhlinder,
trollinger
|
From: <sh...@us...> - 2006-11-23 16:31:07
|
Revision: 99
http://svn.sourceforge.net/hw4mdl/?rev=99&view=rev
Author: shazan
Date: 2006-11-23 08:30:56 -0800 (Thu, 23 Nov 2006)
Log Message:
-----------
new style for the message added
Modified Paths:
--------------
trunk/moodle/mod/liveclassroom/api.php
trunk/moodle/mod/liveclassroom/css/StyleSheet.css
trunk/moodle/mod/liveclassroom/generateSettings.php
trunk/moodle/mod/liveclassroom/js/xml.js
Modified: trunk/moodle/mod/liveclassroom/api.php
===================================================================
--- trunk/moodle/mod/liveclassroom/api.php 2006-11-23 10:23:26 UTC (rev 98)
+++ trunk/moodle/mod/liveclassroom/api.php 2006-11-23 16:30:56 UTC (rev 99)
@@ -580,7 +580,7 @@
* Modify the settings of a room
* @param $roomid : the id of the room
* return true if the room has being modified, false otherwise
-* TO CHECK !!!!!
+* return true if the room has being modified, false otherwise
*/
function liveclassroom_api_modify_room($roomid,$table_attributes) {
global $CFG;
@@ -775,7 +775,7 @@
/*
* Give the rights for a lecture room to the room given
* @param $roomid : the id of the room to modifiy the settings
-* TO CHECK !!!!!
+*
*/
function liveclassroom_api_give_lectureroom_attributes() {
@@ -803,7 +803,7 @@
/*
* Give the rights for a breackout room to the room given
* @param $roomid : the id of the room to modifiy the settings
-* TO CHECK !!!!!
+*
*/
function liveclassroom_api_give_discussionroom_attributes() {
global $CFG;
Modified: trunk/moodle/mod/liveclassroom/css/StyleSheet.css
===================================================================
--- trunk/moodle/mod/liveclassroom/css/StyleSheet.css 2006-11-23 10:23:26 UTC (rev 98)
+++ trunk/moodle/mod/liveclassroom/css/StyleSheet.css 2006-11-23 16:30:56 UTC (rev 99)
@@ -363,4 +363,8 @@
{
width:100%;
border-bottom: #818181 1px solid;
+ }
+ .messageBar
+ {
+ background-color:#ffff99;
}
\ No newline at end of file
Modified: trunk/moodle/mod/liveclassroom/generateSettings.php
===================================================================
--- trunk/moodle/mod/liveclassroom/generateSettings.php 2006-11-23 10:23:26 UTC (rev 98)
+++ trunk/moodle/mod/liveclassroom/generateSettings.php 2006-11-23 16:30:56 UTC (rev 99)
@@ -190,10 +190,17 @@
{
$parameters['checked']=true;
}
+
$linepart = $xmldoc->createElement('panelLinePart');
- $linepart->appendChild(liveclassroom_create_linepart_element($xmldoc,"all","input", $parameters));
+ $linepart->appendChild(liveclassroom_create_linepart_element($xmldoc,"mainLectureRoom","input", $parameters));
$panelLine->appendChild($linepart);
+ $parameters=array("type" => "radio", "value" => "instructor", "id" => "led_instructor", "name" => "led", "onclick" => "toggleType(\"mainLectureRoom\")") ;
+
+ $linepart->appendChild(liveclassroom_create_linepart_element($xmldoc,"discussionRoom","input", $parameters));
+ $panelLine->appendChild($linepart);
+
+
$linepart->appendChild(liveclassroom_create_linepart_element($xmldoc,$contextDisplay,"label", $parameters=array("for" => "led_instructor", "valign" => "top", "value" => "Lecture room" ) ));
$panelLine->appendChild($linepart);
Modified: trunk/moodle/mod/liveclassroom/js/xml.js
===================================================================
--- trunk/moodle/mod/liveclassroom/js/xml.js 2006-11-23 10:23:26 UTC (rev 98)
+++ trunk/moodle/mod/liveclassroom/js/xml.js 2006-11-23 16:30:56 UTC (rev 99)
@@ -216,8 +216,8 @@
break;
}
- display="<table cellspacing=0 cellpadding=0 bgcolor='yellow'>"
- display+= "<tr >"
+ display="<table cellspacing=0 cellpadding=0>"
+ display+= "<tr>"
display+= "<td><img src='pictures/items/messagelabel-info.png'></td>"
display+= "<td>"+messageInformations[0].getElements("value")[0].getText()+"</td>";
display+= "</tr>"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|