Revision: 227
http://hw4mdl.svn.sourceforge.net/hw4mdl/?rev=227&view=rev
Author: trollinger
Date: 2008-01-17 13:12:04 -0800 (Thu, 17 Jan 2008)
Log Message:
-----------
Change the path of the different files due to the structure change
Modified Paths:
--------------
branches/team/Thomas/moodle/mod/liveclassroom/config.html
branches/team/Thomas/moodle/mod/liveclassroom/css/StyleSheet.css
branches/team/Thomas/moodle/mod/liveclassroom/doAction.php
branches/team/Thomas/moodle/mod/liveclassroom/generateListRooms.php
branches/team/Thomas/moodle/mod/liveclassroom/generateSettings.php
branches/team/Thomas/moodle/mod/liveclassroom/index.php
branches/team/Thomas/moodle/mod/liveclassroom/lib.php
branches/team/Thomas/moodle/mod/liveclassroom/mod.html
branches/team/Thomas/moodle/mod/liveclassroom/reports.php
branches/team/Thomas/moodle/mod/liveclassroom/view.php
branches/team/Thomas/moodle/mod/liveclassroom/welcome.php
Modified: branches/team/Thomas/moodle/mod/liveclassroom/config.html
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/config.html 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/config.html 2008-01-17 21:12:04 UTC (rev 227)
@@ -1,6 +1,6 @@
<?php
-require_once("lib/lc/LCAction.php");
-require_once("lib/lc/lcapi.php");
+require_once("lib/php/lc/LCAction.php");
+require_once("lib/php/lc/lcapi.php");
$lcApi=new LCApi($CFG->liveclassroom_servername,
$CFG->liveclassroom_adminusername,
$CFG->liveclassroom_adminpassword, $CFG->dataroot);
Modified: branches/team/Thomas/moodle/mod/liveclassroom/css/StyleSheet.css
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/css/StyleSheet.css 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/css/StyleSheet.css 2008-01-17 21:12:04 UTC (rev 227)
@@ -118,7 +118,7 @@
#headerBar table
{
width: 100%;
- background-image: url( "../pictures/backgrounds/headerbar.png" );
+ background-image: url( "../lib/web/pictures/backgrounds/headerbar.png" );
height: 32px;
border-bottom: solid 1px Black;
}
@@ -135,7 +135,7 @@
/*contextBar*/
#contextBar table
{
- background-image: url( "../pictures/backgrounds/toolbar.png" );
+ background-image: url( "../lib/web/pictures/backgrounds/toolbar.png" );
height: 30px;
width: 100%;
border-bottom: solid 1px #F0F0F0;
@@ -161,7 +161,7 @@
#filterBar
{
- background-image: url( "../pictures/backgrounds/filterbar.png" );
+ background-image: url( "../lib/web/pictures/backgrounds/filterbar.png" );
height: 24px;
font-weight: bold;
border-bottom: fine 1px #C7D3E1;
@@ -194,22 +194,22 @@
a.filterenabled span
{
- background:url("../pictures/items/filter-enabled-right.png") no-repeat right top;
+ background:url("../lib/web/pictures/items/filter-enabled-right.png") no-repeat right top;
color:white;
}
a.filterenabled
{
- background:url("../pictures/items/filter-enabled-left.png") no-repeat left top;
+ background:url("../lib/web/pictures/items/filter-enabled-left.png") no-repeat left top;
}
a.filterrollover
{
- background:url("../pictures/items/filter-rollover-left.png") no-repeat left top;
+ background:url("../lib/web/pictures/items/filter-rollover-left.png") no-repeat left top;
}
a.filterrollover span
{
- background:url("../pictures/items/filter-rollover-right.png") no-repeat right top;
+ background:url("../lib/web/pictures/items/filter-rollover-right.png") no-repeat right top;
}
/*list*/
@@ -397,7 +397,7 @@
padding-left: 5px;
width: 100%;
height:50px;
- background-image: url( "../pictures/backgrounds/toolbar.png" );
+ background-image: url( "../lib/web/pictures/backgrounds/toolbar.png" );
border-bottom: solid 1px #999999;
}
@@ -454,12 +454,12 @@
/*tabs*/
#tabs
{
- background-image: url( "../pictures/backgrounds/toolbar.png" );
+ background-image: url( "../lib/web/pictures/backgrounds/toolbar.png" );
}
td.tabSelected,td.tabDisabled,td.tabNoSelected
{
- background-image: url(../pictures/items/tab-selected.gif);
+ background-image: url(../lib/web/pictures/items/tab-selected.gif);
background-repeat: no-repeat;
width: 78px;
font-size: 10px;
@@ -471,12 +471,12 @@
{
color: #CACACA;
z-index:-14;
- background-image: url(../pictures/items/tab-unselected.gif);
+ background-image: url(../lib/web/pictures/items/tab-unselected.gif);
border-bottom: solid 1px #818181;
}
td.tabNoSelected
{
- background-image: url(../pictures/items/tab-unselected.gif);
+ background-image: url(../lib/web/pictures/items/tab-unselected.gif);
border-bottom: solid 1px #818181;
}
@@ -558,7 +558,7 @@
td.action, input.action
{
- background-image: url(../pictures/buttons/general-empty.png);
+ background-image: url(../lib/web/pictures/buttons/general-empty.png);
background-repeat: no-repeat;
background-position: center;
text-decoration: none;
@@ -569,7 +569,7 @@
}
td.action:hover, input.action:hover
{
- background-image: url(../pictures/buttons/general-empty-over.png);
+ background-image: url(../lib/web/pictures/buttons/general-empty-over.png);
}
.action label
@@ -701,7 +701,7 @@
top:0px;
width:10px;
height:150px;
- background-image: url( "../pictures/items/window-left.png" );
+ background-image: url( "../lib/web/pictures/items/window-left.png" );
background-repeat:none;
}
@@ -711,7 +711,7 @@
top:0px;
width:330px;
height:150px;
- background-image: url( "../pictures/items/window-middle.png" );
+ background-image: url( "../lib/web/pictures/items/window-middle.png" );
}
@@ -721,7 +721,7 @@
top:0px;
width:10px;
height:150px;
- background-image: url( "../pictures/items/window-right.png" );
+ background-image: url( "../lib/web/pictures/items/window-right.png" );
background-repeat:none;
}
@@ -731,7 +731,7 @@
top:0px;
width:10px;
height:200px;
- background-image: url( "../pictures/items/window200_left.png" );
+ background-image: url( "../lib/web/pictures/items/window200_left.png" );
background-repeat:none;
}
@@ -741,7 +741,7 @@
top:0px;
width:380px;
height:200px;
- background-image: url( "../pictures/items/window200_middle.png" );
+ background-image: url( "../lib/web/pictures/items/window200_middle.png" );
}
@@ -751,7 +751,7 @@
top:0px;
width:10px;
height:200px;
- background-image: url( "../pictures/items/window200_right.png" );
+ background-image: url( "../lib/web/pictures/items/window200_right.png" );
background-repeat:none;
}
Modified: branches/team/Thomas/moodle/mod/liveclassroom/doAction.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/doAction.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/doAction.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -33,14 +33,14 @@
error_reporting(E_ERROR);
require_once ("../../config.php");
require_once ("lib.php");
-require_once ("lib/lc/LCAction.php");
-require_once ("lib/common/WimbaCommons.php");
-require_once ("lib/common/WimbaLib.php");
-require_once ("lib/common/WimbaUI.php");
-require_once ("lib/common/XmlRoom.php");
-require_once ("lib/common/WimbaXml.php");
+require_once ("lib/php/lc/LCAction.php");
+require_once ("lib/php/common/WimbaCommons.php");
+require_once ("lib/php/common/WimbaLib.php");
+require_once ("lib/php/common/WimbaUI.php");
+require_once ("lib/php/common/XmlRoom.php");
+require_once ("lib/php/common/WimbaXml.php");
if (version_compare(PHP_VERSION, '5', '>=')) {
- require_once ('lib/common/domxml-php4-php5.php');
+ require_once ('lib/php/common/domxml-php4-php5.php');
}
$keys=array_merge(getKeysOfGeneralParameters(),getKeyWimbaClassroomForm());
Modified: branches/team/Thomas/moodle/mod/liveclassroom/generateListRooms.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/generateListRooms.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/generateListRooms.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -34,17 +34,17 @@
error_reporting(E_ERROR);
require_once("../../config.php");
require_once("lib.php");
-require_once("lib/lc/LCAction.php");
-require_once("lib/common/WimbaCommons.php");
-require_once("lib/common/WimbaUI.php");
-require_once("lib/common/XmlArchive.php");
-require_once("lib/common/XmlOrphanedArchive.php");
-require_once("lib/common/XmlRoom.php");
-require_once("lib/common/WimbaXml.php");
-require_once("lib/common/WimbaLib.php");
+require_once("lib/php/lc/LCAction.php");
+require_once("lib/php/common/WimbaCommons.php");
+require_once("lib/php/common/WimbaUI.php");
+require_once("lib/php/common/XmlArchive.php");
+require_once("lib/php/common/XmlOrphanedArchive.php");
+require_once("lib/php/common/XmlRoom.php");
+require_once("lib/php/common/WimbaXml.php");
+require_once("lib/php/common/WimbaLib.php");
if (version_compare(PHP_VERSION,'5','>=')) {
- require_once('lib/common/domxml-php4-php5.php');
+ require_once('lib/php/common/domxml-php4-php5.php');
}
Modified: branches/team/Thomas/moodle/mod/liveclassroom/generateSettings.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/generateSettings.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/generateSettings.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -31,14 +31,14 @@
error_reporting(E_ERROR);
require_once("../../config.php");
require_once("lib.php");
-require_once("lib/lc/LCAction.php");
-require_once("lib/common/WimbaXml.php");
-require_once("lib/common/WimbaCommons.php");
-require_once("lib/common/WimbaLib.php");
-require_once("lib/common/WimbaUI.php");
+require_once("lib/php/lc/LCAction.php");
+require_once("lib/php/common/WimbaXml.php");
+require_once("lib/php/common/WimbaCommons.php");
+require_once("lib/php/common/WimbaLib.php");
+require_once("lib/php/common/WimbaUI.php");
if (version_compare(PHP_VERSION,'5','>=')) {
- require_once('lib/common/domxml-php4-php5.php');
+ require_once('lib/php/common/domxml-php4-php5.php');
}
$params = array ();
Modified: branches/team/Thomas/moodle/mod/liveclassroom/index.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/index.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/index.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -34,8 +34,8 @@
require_once("../../config.php");
require_once("lib.php");
-require_once("lib/common/WimbaCommons.php");
-require_once("lib/common/WimbaLib.php");
+require_once("lib/php/common/WimbaCommons.php");
+require_once("lib/php/common/WimbaLib.php");
$id = optional_param('id', 0, PARAM_INT);
$roomname = optional_param('idroomname', 0, PARAM_TEXT);
Modified: branches/team/Thomas/moodle/mod/liveclassroom/lib.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/lib.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/lib.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -32,7 +32,7 @@
require_once($CFG->libdir.'/datalib.php');
-require_once("lib/lc/lcapi.php");
+require_once("lib/php/lc/lcapi.php");
require_once($CFG->dirroot.'/course/lib.php');
@@ -462,30 +462,4 @@
return $result;
}
-
-
-
-/*
-* Send info to the logs system
-* @param $type : type of the log
-* @param $parameters : string with the parameters needed
-* return a string which is the link to the logs file
-*/
-function liveclassroom_send_logs($type,$parameters) {
-
- global $LIVECLASSROOM_LOGS;
-
-
- $link = $LIVECLASSROOM_LOGS."?type=$type";
- $link .= "&$parameters";
- $link .= "&time=".time();
-
- return $link;
-}
-
-
-
-
-
-
?>
Modified: branches/team/Thomas/moodle/mod/liveclassroom/mod.html
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/mod.html 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/mod.html 2008-01-17 21:12:04 UTC (rev 227)
@@ -33,8 +33,8 @@
require_once("../config.php");
require_once($CFG->dirroot.'/calendar/lib.php');
include_once($CFG->dirroot.'/mod/liveclassroom/lib.php');
-include_once($CFG->dirroot.'/mod/liveclassroom/lib/lc/LCAction.php');
-include_once($CFG->dirroot.'/mod/liveclassroom/lib/common/WimbaLib.php');
+include_once($CFG->dirroot.'/mod/liveclassroom/lib/php/lc/LCAction.php');
+include_once($CFG->dirroot.'/mod/liveclassroom/lib/php/common/WimbaLib.php');
require_once($CFG->dirroot.'/version.php');
//test if the current user can see this page
Modified: branches/team/Thomas/moodle/mod/liveclassroom/reports.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/reports.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/reports.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -33,8 +33,8 @@
require_once("../../config.php");
require_once("lib.php");
-require_once("lib/lc/lcapi.php");
-require_once("lib/lc/LCAction.php");
+require_once("lib/php/lc/lcapi.php");
+require_once("lib/php/lc/LCAction.php");
$roomId = required_param('id', PARAM_SAFEDIR);
$token = required_param('hzA', PARAM_RAW);
$api=new LCAction($session,$CFG->liveclassroom_servername,
Modified: branches/team/Thomas/moodle/mod/liveclassroom/view.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/view.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/view.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -31,9 +31,9 @@
/// This page prints a particular instance of the live classroom links
error_reporting(E_ERROR);
require_once("../../config.php");
-require_once("lib/lc/LCAction.php");
-require_once("lib/common/WimbaCommons.php");
-require_once("lib/common/WimbaLib.php");
+require_once("lib/php/lc/LCAction.php");
+require_once("lib/php/common/WimbaCommons.php");
+require_once("lib/php/common/WimbaLib.php");
require_once("lib.php");
$id = optional_param('id', 0, PARAM_INT);//instance id
Modified: branches/team/Thomas/moodle/mod/liveclassroom/welcome.php
===================================================================
--- branches/team/Thomas/moodle/mod/liveclassroom/welcome.php 2008-01-16 14:49:35 UTC (rev 226)
+++ branches/team/Thomas/moodle/mod/liveclassroom/welcome.php 2008-01-17 21:12:04 UTC (rev 227)
@@ -48,19 +48,20 @@
<title>Live ClassRooms</title>
</head>
<link rel="STYLESHEET" href="css/StyleSheet.css" type="text/css" />
-<script language="javascript" src="js/dojo/dojo.js"></script>
-<script language="javascript" src="js/ajax.js"></script>
-<script language="javascript" src="js/verifForm.js"></script>
-<script language="javascript" src="js/constants.js"></script>
-<script type="text/javascript" src="js/ajaxslt/xslt.js"></script>
-<script type="text/javascript" src="js/pngfix.js"></script>
-<script src="js/ajaxslt/util.js" type="text/javascript"></script>
-<script src="js/ajaxslt/xmltoken.js" type="text/javascript"></script>
-<script src="js/ajaxslt/dom.js" type="text/javascript"></script>
-<script src="js/ajaxslt/xpath.js" type="text/javascript"></script>
-<script src="js/hwCommons.js" type="text/javascript"></script>
-<script src="js/xmldom.js" type="text/javascript"></script>
+<script language="javascript" src="lib/web/js/constants.js"></script>
+<script language="javascript" src="lib/web/js/dojo/dojo.js"></script>
+<script language="javascript" src="lib/web/js/ajax.js"></script>
+<script language="javascript" src="lib/web/js/verifForm.js"></script>
+<script type="text/javascript" src="lib/web/js/ajaxslt/xslt.js"></script>
+<script type="text/javascript" src="lib/web/js/pngfix.js"></script>
+<script src="lib/web/js/ajaxslt/util.js" type="text/javascript"></script>
+<script src="lib/web/js/ajaxslt/xmltoken.js" type="text/javascript"></script>
+<script src="lib/web/js/ajaxslt/dom.js" type="text/javascript"></script>
+<script src="lib/web/js/ajaxslt/xpath.js" type="text/javascript"></script>
+<script src="lib/web/js/hwCommons.js" type="text/javascript"></script>
+<script src="lib/web/js/xmldom.js" type="text/javascript"></script>
+
<script type="text/javascript">
function doOpenAddActivity(url,param){
if(currentId!="") {
@@ -99,7 +100,7 @@
//set the current product
currentProduct="liveclassroom";
-
+initPath('lib/web/js/xsl/wimba.xsl','lib/web/pictures');
</script>
<style>
*{
@@ -126,7 +127,7 @@
<tbody>
<tr>
<td align=left>
- <img src="pictures/items/headerbar-logo.png" height="32" width="80">
+ <img src="lib/web/pictures/items/headerbar-logo.png" height="32" width="80">
</td>
</tr>
</tbody>
@@ -145,7 +146,7 @@
<table width=100% style="height:300px">
<tbody>
<tr valign=middle>
- <td align=center><img src="pictures/items/wheel.gif"><br>
+ <td align=center><img src="lib/web/pictures/items/wheel.gif"><br>
<p><font size="-2" face="Verdana" color="666666"> Loading...</font></p>
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|