[Hw4mdl-svn] SF.net SVN: hw4mdl: [112] trunk/moodle/mod/liveclassroom/mod.html
Brought to you by:
jhlinder,
trollinger
|
From: <sh...@us...> - 2006-12-18 09:24:59
|
Revision: 112
http://svn.sourceforge.net/hw4mdl/?rev=112&view=rev
Author: shazan
Date: 2006-12-18 01:24:56 -0800 (Mon, 18 Dec 2006)
Log Message:
-----------
add cancel link if no room is available
Modified Paths:
--------------
trunk/moodle/mod/liveclassroom/mod.html
Modified: trunk/moodle/mod/liveclassroom/mod.html
===================================================================
--- trunk/moodle/mod/liveclassroom/mod.html 2006-12-15 15:22:58 UTC (rev 111)
+++ trunk/moodle/mod/liveclassroom/mod.html 2006-12-18 09:24:56 UTC (rev 112)
@@ -133,6 +133,9 @@
if (confirm("No room available. You must create a room, then add it to an activity.")) {
location.href = "<?php echo $CFG->wwwroot;?>/mod/liveclassroom/index.php?id=<?php echo $id;?>&noliveclassroom=true";
}
+ else {
+ location.href = "<?php echo $CFG->wwwroot;?>/course/view.php?id=<?php p($id)?>";
+ }
<?php
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|