Revision: 76
http://svn.sourceforge.net/hw4mdl/?rev=76&view=rev
Author: shazan
Date: 2006-10-03 07:15:57 -0700 (Tue, 03 Oct 2006)
Log Message:
-----------
add session for keep data and option open/close/delete room managed
Modified Paths:
--------------
trunk/moodle/mod/liveclassroom/welcome.php
Modified: trunk/moodle/mod/liveclassroom/welcome.php
===================================================================
--- trunk/moodle/mod/liveclassroom/welcome.php 2006-09-29 13:43:45 UTC (rev 75)
+++ trunk/moodle/mod/liveclassroom/welcome.php 2006-10-03 14:15:57 UTC (rev 76)
@@ -53,10 +53,10 @@
require_login($course->id);
- add_to_log($course->id, "liveclassroom", "view all", "index.php?id=$course->id", "");
+ //add_to_log($course->id, "liveclassroom", "view all", "index.php?id=$course->id", "");
+ session_start();
-
/// Get all required strings
$strliveclassrooms = get_string("modulenameplural", "liveclassroom");
@@ -82,9 +82,35 @@
}
//add_to_log("", "liveclassroom", "", "", "avan teacher id ".time());
$teacherid = liveclassroom_api_get_teacher_user_id($course->shortname);
+ $studentid = liveclassroom_api_get_student_user_id ($course->shortname);
//add_to_log("", "liveclassroom", "", "liveclassroom_api_get_room_list", "avan recup liste ".time());
+
+ //add_to_log("", "liveclassroom", "", "liveclassroom_api_get_room_list", "apres recup liste ".time());
+ $_SESSION['teacherid'] = $teacherid;
+ $_SESSION['studentid'] = $studentid;
+
+ if($_GET['action']=='deleteRoom') {
+
+ //delete the activities linkes to this room
+ if (! liveclassroom_delete_all_instance_of_room($_GET['roomId'])) {
+ notify("Could not delete the instances of the room");
+ }
+ //delete the room in the moodle database
+ liveclassroom_rooms_delete_instance($_GET['roomId']);
+ //delete the room on the server
+ liveclassroom_api_delete_room($_GET['roomId']);
+ }
+ else if ($_GET['action']=='openRoom') {
+ liveclassroom_api_open_room($_GET['roomId']);
+ }
+ else if ($_GET['action']=='closeRoom') {
+ liveclassroom_api_close_room($_GET['roomId']);
+ }
$tab = liveclassroom_api_get_roomandarchive_list($teacherid,$course);
- //add_to_log("", "liveclassroom", "", "liveclassroom_api_get_room_list", "apres recup liste ".time());
+
+
+
+
?>
<head>
<link rel="STYLESHEET" href="css/StyleSheet.css" type="text/css" />
@@ -346,7 +372,7 @@
if(current!="")
{
- var complete_url=url+'?roomId='+current+'&?id=<?php p($id) ?>&courseshortname=<?php p($course->shortname) ?>&'+param;
+ var complete_url=url+'?roomId='+current+'&id=<?php p($id) ?>&courseshortname=<?php p($course->shortname) ?>&'+param;
if(popup==false)
{
window.open(complete_url,"_self");
@@ -406,13 +432,9 @@
var numberArchive=0;
var number=0;
retour += " <table width=1000px cellspacing=0 cellpadding=1 border=0>";
- <?php //for($i=0; $i<sizeof($tab[0])-2; $i=$i+3)
- //for($i=0; $i<sizeof($tab[0]); $i=$i+1)
- foreach($tab[0] as $room)
+ <?php
+ foreach($tab[0] as $room)
{
- //$tabroom=$tab[0][$i];
- //$archiveOfThisRoomID=liveclassroom_api_get_archive_list_for_a_room($tab[0][$i],$teacherid);
- // $archiveOfThisRoomID = $room[3];
?>
myString = new String("<?php p($room[1]) ?>");
@@ -484,13 +506,13 @@
retour+="<td width=\"20px\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"> </td>";
}
- retour += "<td width=\"545px\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><?php p($room[1]) ?></td>";
+ retour += "<td width=\"485px\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><?php p($room[1]) ?></td>";
if(!preview)
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=closeRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- //retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=closeRoom')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
@@ -500,13 +522,13 @@
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=openRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=openRoom')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
}
- retour +="</td><td width='520px' Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"></td></tr>";
+ retour +="</td><td width='469px' Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"></td></tr>";
<?php
@@ -517,7 +539,7 @@
<?php
?>
- retour += " <table width=700px cellspacing=0 cellpadding=1 border=0 >";
+ retour += " <table width=1000px cellspacing=0 cellpadding=1 border=0 >";
<?php
foreach($room[3] as $archive)
{
@@ -542,16 +564,16 @@
?>
if(studentView==false|| ( studentView==true && !preview))
{
- retour += "<tr id='<?php p($archive[0]) ?>' Onclick=\"OneClick('<?php p($archive[0]) ?>')\"><td width=\"40px\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td>";
- retour += "<td width=310px Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\">";
+ retour += "<tr id='<?php p($archive[0]) ?>' Onclick=\"OneClick('<?php p($archive[0]) ?>')\"><td width=\"30px\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td>";
+ retour += "<td width=495px Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\">";
retour += "<span ><img src=\"<?php p($CFG->liveclassroom_servername)?>/images/integration/pointer.gif\" style=\"border:none\" />";
retour += "<?php p($archive[1]) ?></td>";
if(!preview)
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=closeRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=closeRoom')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
{
@@ -563,13 +585,13 @@
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=openRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=openRoom')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
}
- retour +="</td><td width='100px' Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td></tr>";
+ retour +="</td><td width='469px' Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td></tr>";
}
<?php
}
@@ -606,7 +628,7 @@
NumberBreakoutRoom=0;
var numberArchive=0;
var number=0;
- retour += " <table width=1000px cellspacing=0 cellpadding=1 border=0>";
+ retour += " <table width=1000px cellspacing=0 cellpadding=1 border=0 >";
<?php foreach($tab[1] as $room)
{
@@ -684,13 +706,13 @@
}
- retour += "<td width=\"545\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><?php p($room[1]) ?></td>";
+ retour += "<td width=\"485px\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><?php p($room[1]) ?></td>";
if(!preview)
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=closeRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=closeRoom')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
@@ -701,13 +723,13 @@
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=openRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- //retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=openRoom')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
}
- retour +="</td><td width='520px' Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"></td></tr>";
+ retour +="</td><td width='469px' Onclick=\"OneClick('<?php p($room[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($room[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($room[0]) ?>')\" onmouseout=\"onOut('<?php p($room[0]) ?>')\"></td></tr>";
@@ -719,7 +741,7 @@
<?php
?>
- retour += " <table width=700px cellspacing=0 cellpadding=1 border=0 >";
+ retour += " <table width=1000px cellspacing=0 cellpadding=1 border=0 >";
<?php foreach($room[3] as $archive)
{
@@ -744,16 +766,16 @@
?>
if(studentView==false|| ( studentView==true && !preview))
{
- retour += "<tr id='<?php p($archive[0]) ?>' Onclick=\"OneClick('<?php p($archive[0]) ?>')\"><td width=\"40px\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td>";
- retour += "<td width=310px Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\">";
+ retour += "<tr id='<?php p($archive[0]) ?>' Onclick=\"OneClick('<?php p($archive[0]) ?>')\"><td width=\"30px\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td>";
+ retour += "<td width=495px Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\">";
retour += "<span ><img src=\"<?php p($CFG->liveclassroom_servername)?>/images/integration/pointer.gif\" style=\"border:none\" />";
retour += "<?php p($archive[1]) ?></td>";
if(!preview)
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=closeRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=closeRoom')\"><img src=\"pictures/online.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
{
@@ -765,13 +787,13 @@
{
if(studentView==false)
{
- // retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'','time=<%=session.getTimeOfLoad()%>&<%=session.url_params %>action=openRoom&signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
- // retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
+ retour +="<td width=\"16px\" align=\"center\"><a style='cursor:hand;' href=\"javascript:doOpen(false,'welcome.php','action=openRoom')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"";
+ retour +="alt=\"Change Availibility\" title=\"Change Availability\"></a>";
}
else
retour +="<td width=\"16px\" align=\"center\" Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"><img src=\"pictures/away.png\" style=\"WIDTH: 16px; HEIGHT: 16px\" border=\"0\"></a>";
}
- retour +="</td><td width='100px' Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td></tr>";
+ retour +="</td><td width='469px' Onclick=\"OneClick('<?php p($archive[0]) ?>')\" Ondblclick=\"javascript:startHorizon('<?php p($archive[0]) ?>', null, null, null, null, 'hzA=<?php p($usersession)?>')\" onmouseover=\"onOver('<?php p($archive[0]) ?>')\" onmouseout=\"onOut('<?php p($archive[0]) ?>')\"></td></tr>";
}
<?php
}
@@ -1201,7 +1223,7 @@
</span>
<?php }else if (isteacher($course->id, $USER->id)) { ?>
<span id="admin_Menu">
- <table style="width: 1000" cellspacing="0" cellpadding="1" align="center">
+ <table style="width: 1000" border="0" cellspacing="0" cellpadding="1" align="center">
<tr class="button_disabled" id="menu_admin" >
<td width="9%" align="center" >
<a href="javascript:Horizon('hzA=<?php p($usersession)?>');">
@@ -1240,9 +1262,9 @@
</td>
<td style="border-right: 1px solid #666666;"> </td>
<td width="9%" align="center" >
- <!-- <a href="javascript:doOpen(false,'AddCalendarEvent.aspx','time=<%=session.getTimeOfLoad() %>&<%=session.url_params %>signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')" >
- --> <img src="pictures/schedule_Black.png" border="0" alt="Schedule"
- name="schedule_icon" title="Change Availability Room" id="schedule_icon" height="24" width="24" ><br />
+ <!-- <a href="javascript:doOpen(false,'AddCalendarEvent.aspx','time=<%=session.getTimeOfLoad() %>&<%=session.url_params %>signature=<%=Util.mD5Crypt(session.getSignature()+ Setup.getInstance().getHashKey())%>')" >
+ --> <img src="pictures/schedule_Black.png" border="0" alt="Schedule"
+ name="schedule_icon" title="Clik on the cercle change the availability of the room" id="schedule_icon" height="24" width="24" ><br />
Availability</a>
</td>
<td width="9%" align="center" >
@@ -1255,7 +1277,7 @@
<td width="9%" align="center" >
- <a href="javascript:doOpen(false,'','action=deleteRoom')" onclick=";return confirm('Are you sure to delete this room ?');" >
+ <a href="javascript:doOpen(false,'','action=deleteRoom')" onclick=";return confirm('Are you sure to delete this room ?\n It will delete all the liveclassroom activities linked');" >
<img src="pictures/delete_Black.png" border="0"
alt="Delete Room" title="Delete Room" id="delete_icon" height="24" width="24"><br />
Delete</a>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|