Revision: 3834
Author: seba.wagner
Date: Sun Jun 19 03:05:13 2011
Log: [No log message]
http://code.google.com/p/openmeetings/source/detail?r=3834
Modified:
/trunk/plugins/moodle_plugin/lib.php
/trunk/plugins/moodle_plugin/mod_form.php
/trunk/plugins/moodle_plugin/openmeetings_gateway.php
=======================================
--- /trunk/plugins/moodle_plugin/lib.php Sun Jun 19 02:13:51 2011
+++ /trunk/plugins/moodle_plugin/lib.php Sun Jun 19 03:05:13 2011
@@ -57,6 +57,7 @@
function openmeetings_update_instance($openmeetings) {
global $DB;
+
$openmeetings->timemodified = time();
$openmeetings->id = $openmeetings->instance;
=======================================
--- /trunk/plugins/moodle_plugin/mod_form.php Sun Jun 19 02:05:50 2011
+++ /trunk/plugins/moodle_plugin/mod_form.php Sun Jun 19 03:05:13 2011
@@ -21,6 +21,8 @@
$mform->setType('name', PARAM_TEXT);
$mform->addRule('name', null, 'required', null, 'client');
+ $mform->addElement('hidden', 'room_id', 'Room Id',
array('size'=>'64'));
+
/// Adding the "Room Type" field
$mform->addElement('select', 'type',
get_string('Room_Type', 'openmeetings'), array('1'=>'Conference
Room', '2'=>'Audience Room', '3'=>'Restricted Room', '0'=>'Show
Recording'));
@@ -53,7 +55,6 @@
}
-
$mform->addElement('select', 'room_recording_id',
get_string('recordings_show', 'openmeetings'), $recordings);
/// Adding the "Number of Participants" field
=======================================
--- /trunk/plugins/moodle_plugin/openmeetings_gateway.php Sun Jun 19
02:13:51 2011
+++ /trunk/plugins/moodle_plugin/openmeetings_gateway.php Sun Jun 19
03:05:13 2011
@@ -299,12 +299,16 @@
'roomtypes_id' => $openmeetings->type,
'comment' => 'Created by SOAP-Gateway for Moodle
Platform',
'numberOfPartizipants' => $openmeetings->max_user,
- 'ispublic' => false,
- 'appointment' => false,
- 'isDemoRoom' => false,
+ 'ispublic' => 0,
+ 'appointment' => 0,
+ 'isDemoRoom' => 0,
'demoTime' => 0,
'isModeratedRoom' => $isModeratedRoom
);
+
+ //print_r($params);
+ //exit();
+
$result =
$client_roomService->call('updateRoomWithModeration',$params);
if ($client_roomService->fault) {
echo '<h2>Fault (Expect - The request contains an invalid SOAP
body)</h2><pre>'; print_r($result); echo '</pre>';
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.