[Hw4mdl-svn] SF.net SVN: hw4mdl: [122] trunk/moodle/mod/liveclassroom
Brought to you by:
jhlinder,
trollinger
|
From: <sh...@us...> - 2006-12-22 12:45:13
|
Revision: 122
http://svn.sourceforge.net/hw4mdl/?rev=122&view=rev
Author: shazan
Date: 2006-12-22 04:45:02 -0800 (Fri, 22 Dec 2006)
Log Message:
-----------
message Bar well displayed
Modified Paths:
--------------
trunk/moodle/mod/liveclassroom/generateListRooms.php
trunk/moodle/mod/liveclassroom/js/manageXml.js
trunk/moodle/mod/liveclassroom/lib.php
trunk/moodle/mod/liveclassroom/welcome.php
Modified: trunk/moodle/mod/liveclassroom/generateListRooms.php
===================================================================
--- trunk/moodle/mod/liveclassroom/generateListRooms.php 2006-12-22 10:11:12 UTC (rev 121)
+++ trunk/moodle/mod/liveclassroom/generateListRooms.php 2006-12-22 12:45:02 UTC (rev 122)
@@ -109,7 +109,7 @@
// MESSAGE BAR
if (isset($params['messageType'])) {
- $windows->append_child(liveclassroom_create_message($xmldoc, 'info', liveclassroom_get_message($params['messageType'])));
+ $windows->append_child(liveclassroom_create_message($xmldoc, liveclassroom_get_message($params['messageType'])));
}
// LIST
Modified: trunk/moodle/mod/liveclassroom/js/manageXml.js
===================================================================
--- trunk/moodle/mod/liveclassroom/js/manageXml.js 2006-12-22 10:11:12 UTC (rev 121)
+++ trunk/moodle/mod/liveclassroom/js/manageXml.js 2006-12-22 12:45:02 UTC (rev 122)
@@ -208,7 +208,7 @@
display+="<div id='error_frame' align='center'>"
display+="<table width='100%' border='0' cellpadding='0' height='254px'>"
- display+="<tr>"
+ display+="<tr >"
display+="<td width='10%'></td>"
display+="<td valign='middle'><img src='pictures/items/warning.png' alt='' width='60' height='60' border='0'></td>"
display+="<td width='20'></td>"
Modified: trunk/moodle/mod/liveclassroom/lib.php
===================================================================
--- trunk/moodle/mod/liveclassroom/lib.php 2006-12-22 10:11:12 UTC (rev 121)
+++ trunk/moodle/mod/liveclassroom/lib.php 2006-12-22 12:45:02 UTC (rev 122)
@@ -979,12 +979,12 @@
* @param $value : value of the message
* return a DOM Document element with the message element
*/
-function liveclassroom_create_message($xmldoc, $type, $value) {
+function liveclassroom_create_message($xmldoc, $value) {
$message = $xmldoc->create_element('windowsElement');
$messagetype = $xmldoc->create_element('type');
- $messagetype->append_child($xmldoc->create_text_node("messageBar"));
+ $messagetype->append_child($xmldoc->create_text_node("message"));
$message->append_child($messagetype);
$messageElementParameters = $xmldoc->create_element("windowsElementParameters");
@@ -992,7 +992,7 @@
$m = $xmldoc->create_element("message");
$mtype = $xmldoc->create_element("type");
- $mtype->append_child($xmldoc->create_text_node($type));
+ $mtype->append_child($xmldoc->create_text_node("message"));
$m->append_child($mtype);
$mvalue = $xmldoc->create_element("value");
Modified: trunk/moodle/mod/liveclassroom/welcome.php
===================================================================
--- trunk/moodle/mod/liveclassroom/welcome.php 2006-12-22 10:11:12 UTC (rev 121)
+++ trunk/moodle/mod/liveclassroom/welcome.php 2006-12-22 12:45:02 UTC (rev 122)
@@ -155,8 +155,12 @@
{
?>
showPopup()
-
- var parameters="";
+
+
+ currentProduct = "LiveClassroom";
+ typeSelect="MainLecture";
+
+ var parameters="";
parameters="product=liveclassroom&";
parameters+="action=new&";
parameters+=getURLParameters();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|