Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/LearningAction.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/LearningAction.java,v
diff -u -r1.85.2.5 -r1.85.2.6
--- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/LearningAction.java 5 May 2016 08:11:05 -0000 1.85.2.5
+++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/LearningAction.java 9 May 2016 12:03:50 -0000 1.85.2.6
@@ -498,7 +498,18 @@
sessionMap.put(ForumConstants.ATTR_ROOT_TOPIC_UID, rootTopicId);
// get forum user and forum
- ForumUser forumUser = getCurrentUser(request, (Long) sessionMap.get(AttributeNames.PARAM_TOOL_SESSION_ID));
+ // if coming from topic list, the toolSessionId is in the SessionMap.
+ // if coming from the monitoring statistics window, it is passed in as a parameter.
+ Long toolSessionId = WebUtil.readLongParam(request, AttributeNames.PARAM_TOOL_SESSION_ID, true);
+ if ( toolSessionId != null ) {
+ sessionMap.put(AttributeNames.PARAM_TOOL_SESSION_ID, toolSessionId);
+ String mode = WebUtil.readStrParam(request, AttributeNames.PARAM_MODE, true);
+ if ( mode != null )
+ sessionMap.put(AttributeNames.PARAM_MODE, mode);
+ } else {
+ toolSessionId = (Long) sessionMap.get(AttributeNames.PARAM_TOOL_SESSION_ID);
+ }
+ ForumUser forumUser = getCurrentUser(request, toolSessionId);
Forum forum = forumUser.getSession().getForum();
Long lastMsgSeqId = WebUtil.readLongParam(request, ForumConstants.PAGE_LAST_ID, true);
Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/MonitoringAction.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/MonitoringAction.java,v
diff -u -r1.46.2.5 -r1.46.2.6
--- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/MonitoringAction.java 5 May 2016 08:11:05 -0000 1.46.2.5
+++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/MonitoringAction.java 9 May 2016 12:03:50 -0000 1.46.2.6
@@ -573,6 +573,7 @@
request.setAttribute("topicList", sessionTopicsMap);
request.setAttribute("markAverage", sessionAvaMarkMap);
request.setAttribute("totalMessage", sessionTotalMsgMap);
+ request.setAttribute(ForumConstants.ATTR_SESSION_MAP_ID, WebUtil.readStrParam(request, ForumConstants.ATTR_SESSION_MAP_ID));
}
/**
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/AdvancedAccordian.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/Arrow.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.22.2.1 -r1.22.2.2
--- lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag 13 Feb 2015 14:51:49 -0000 1.22.2.1
+++ lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag 9 May 2016 12:03:50 -0000 1.22.2.2
@@ -122,12 +122,12 @@
window.close();
}
-
-
+
+
-
+
-
-
+
+
\ No newline at end of file
Index: lams_tool_forum/web/WEB-INF/tags/CKEditor.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/CKEditor.tag,v
diff -u -r1.14.2.1 -r1.14.2.2
--- lams_tool_forum/web/WEB-INF/tags/CKEditor.tag 3 Sep 2014 13:19:30 -0000 1.14.2.1
+++ lams_tool_forum/web/WEB-INF/tags/CKEditor.tag 9 May 2016 12:03:50 -0000 1.14.2.2
@@ -10,7 +10,12 @@
<%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%>
<%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%>
<%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%>
+<%@ attribute name="method" required="false" rtexprvalue="true"%>
+
+
+
+
@@ -19,6 +24,10 @@
+
+ ${toolbarSet}Replace
+
+
@@ -33,10 +42,10 @@
-
+
- ckeditor/
+ /lams/ckeditor/
@@ -59,10 +68,9 @@
var editor = CKEDITOR.instances["${id}"];
if (editor) { editor.destroy(true); }
- var instance = CKEDITOR.replace( "${id}", {
+ var instance = CKEDITOR.${method}( "${id}", {
width : "${width}",
height : "${height}",
- autoGrow_minHeight : "${height}".replace("px", ""),
toolbar : "${toolbarSet}",
language : "${language}",
defaultLangugage : "en",
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/Comments.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/CommentsAuthor.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_forum/web/WEB-INF/tags/Page.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/Attic/Page.tag,v
diff -u -r1.1.2.2 -r1.1.2.3
--- lams_tool_forum/web/WEB-INF/tags/Page.tag 6 Mar 2016 02:22:35 -0000 1.1.2.2
+++ lams_tool_forum/web/WEB-INF/tags/Page.tag 9 May 2016 12:03:50 -0000 1.1.2.3
@@ -12,25 +12,38 @@
+
+
+
+
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/ProgressBar.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/RestrictedUsageAccordian.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/TSTable.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_forum/web/WEB-INF/tags/Tab.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/Tab.tag,v
diff -u -r1.7 -r1.7.12.1
Binary files differ
Index: lams_tool_forum/web/WEB-INF/tags/TabBody.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/TabBody.tag,v
diff -u -r1.6 -r1.6.14.1
Binary files differ
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/TabBodyArea.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/TabBodys.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_forum/web/WEB-INF/tags/TabName.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/TabName.tag,v
diff -u -r1.5 -r1.5.2.1
Binary files differ
Index: lams_tool_forum/web/WEB-INF/tags/Tabs.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/Tabs.tag,v
diff -u -r1.6 -r1.6.14.1
Binary files differ
Index: lams_tool_forum/web/WEB-INF/tags/headItems.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/headItems.tag,v
diff -u -r1.8.2.1 -r1.8.2.2
--- lams_tool_forum/web/WEB-INF/tags/headItems.tag 10 Feb 2016 10:01:53 -0000 1.8.2.1
+++ lams_tool_forum/web/WEB-INF/tags/headItems.tag 9 May 2016 12:03:50 -0000 1.8.2.2
@@ -41,7 +41,9 @@
-
+
-
+
+
+
Index: lams_tool_forum/web/WEB-INF/tlds/lams/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tlds/lams/lams.tld,v
diff -u -r1.3.2.3 -r1.3.2.4
--- lams_tool_forum/web/WEB-INF/tlds/lams/lams.tld 4 Mar 2016 00:25:26 -0000 1.3.2.3
+++ lams_tool_forum/web/WEB-INF/tlds/lams/lams.tld 9 May 2016 12:03:50 -0000 1.3.2.4
@@ -178,7 +178,7 @@
css
org.lamsfoundation.lams.web.tag.CssTag
empty
-
+
Output stylesheet based on the user preferences.
style
@@ -408,10 +408,18 @@
/WEB-INF/tags/TabBody.tag
+ TabBodys
+ /WEB-INF/tags/TabBodys.tag
+
+
TabName
/WEB-INF/tags/TabName.tag
+ TabBodyArea
+ /WEB-INF/tags/TabBodyArea.tag
+
+
CKEditor
/WEB-INF/tags/CKEditor.tag
@@ -438,7 +446,31 @@
Page
/WEB-INF/tags/Page.tag
+
+
+ TSTable
+ /WEB-INF/tags/TSTable.tag
+
+
+ Arrow
+ /WEB-INF/tags/Arrow.tag
+
+
+ AdvancedAccordian
+ /WEB-INF/tags/AdvancedAccordian.tag
+
+ RestrictedUsageAccordian
+ /WEB-INF/tags/RestrictedUsageAccordian.tag
+
+
+ ImgButtonWrapper
+ /WEB-INF/tags/ImgButtonWrapper.tag
+
+
+ TextSearch
+ /WEB-INF/tags/TextSearch.tag
+
textarea
org.lamsfoundation.lams.web.tag.LAMSMultiLinesTextareaTag
@@ -473,5 +505,13 @@
head
/WEB-INF/tags/Head.tag
+
+ Comments
+ /WEB-INF/tags/Comments.tag
+
+
+ CommentsAuthor
+ /WEB-INF/tags/CommentsAuthor.tag
+
Index: lams_tool_forum/web/common/header.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/common/header.jsp,v
diff -u -r1.13.2.3 -r1.13.2.4
--- lams_tool_forum/web/common/header.jsp 5 Mar 2016 23:15:55 -0000 1.13.2.3
+++ lams_tool_forum/web/common/header.jsp 9 May 2016 12:03:50 -0000 1.13.2.4
@@ -7,13 +7,12 @@
-
+
-
-
-
-
-
\ No newline at end of file
+
+
+
+
Index: lams_tool_forum/web/common/messages.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/common/messages.jsp,v
diff -u -r1.5.14.1 -r1.5.14.2
--- lams_tool_forum/web/common/messages.jsp 4 Mar 2016 00:25:26 -0000 1.5.14.1
+++ lams_tool_forum/web/common/messages.jsp 9 May 2016 12:03:50 -0000 1.5.14.2
@@ -1,6 +1,6 @@
<%-- Error Messages --%>
-
+
Index: lams_tool_forum/web/common/tabbedheader.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/common/tabbedheader.jsp,v
diff -u -r1.6.2.2 -r1.6.2.3
--- lams_tool_forum/web/common/tabbedheader.jsp 24 Feb 2016 12:35:48 -0000 1.6.2.2
+++ lams_tool_forum/web/common/tabbedheader.jsp 9 May 2016 12:03:50 -0000 1.6.2.3
@@ -16,10 +16,18 @@
-
+
-
+
+
+
+
+
+
+
+
+
Index: lams_tool_forum/web/includes/layout.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/layout.jsp,v
diff -u -r1.19.12.1 -r1.19.12.2
--- lams_tool_forum/web/includes/layout.jsp 26 Feb 2016 07:17:35 -0000 1.19.12.1
+++ lams_tool_forum/web/includes/layout.jsp 9 May 2016 12:03:50 -0000 1.19.12.2
@@ -10,21 +10,22 @@
<%@ include file="/common/header.jsp"%>
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
-
-
+
+
Index: lams_tool_forum/web/includes/tablayout.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/tablayout.jsp,v
diff -u -r1.11.12.1 -r1.11.12.2
--- lams_tool_forum/web/includes/tablayout.jsp 26 Feb 2016 07:17:35 -0000 1.11.12.1
+++ lams_tool_forum/web/includes/tablayout.jsp 9 May 2016 12:03:50 -0000 1.11.12.2
@@ -13,19 +13,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
Index: lams_tool_forum/web/includes/javascript/message.js
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/javascript/message.js,v
diff -u -r1.3.14.2 -r1.3.14.3
--- lams_tool_forum/web/includes/javascript/message.js 20 May 2015 12:30:14 -0000 1.3.14.2
+++ lams_tool_forum/web/includes/javascript/message.js 9 May 2016 12:03:50 -0000 1.3.14.3
@@ -11,31 +11,32 @@
var reqIDVar = new Date();
var param = "reqID="+reqIDVar.getTime();
removeItemAttachmentLoading();
- var myAjax = new Ajax.Updater(
- itemAttachmentTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- onComplete:removeItemAttachmentComplete,
- evalScripts:true
- }
- );
+
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#"+itemAttachmentTargetDiv).html(data);
+ removeItemAttachmentComplete();
+ }
+ });
}
function removeItemAttachmentLoading(){
showBusy(itemAttachmentTargetDiv);
}
function removeItemAttachmentComplete(){
hideBusy(itemAttachmentTargetDiv);
}
+
function showBusy(targetDiv){
if($(targetDiv+"_Busy") != null){
- Element.show(targetDiv+"_Busy");
+ $(targetDiv+"_Busy").show();
}
}
function hideBusy(targetDiv){
if($(targetDiv+"_Busy") != null){
- Element.hide(targetDiv+"_Busy");
+ $(targetDiv+"_Busy").hide();
}
}
Index: lams_tool_forum/web/jsps/authoring/addCondition.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/addCondition.jsp,v
diff -u -r1.3.2.2 -r1.3.2.3
--- lams_tool_forum/web/jsps/authoring/addCondition.jsp 26 Feb 2016 07:17:35 -0000 1.3.2.2
+++ lams_tool_forum/web/jsps/authoring/addCondition.jsp 9 May 2016 12:03:49 -0000 1.3.2.3
@@ -5,43 +5,52 @@
<%@ include file="/common/header.jsp"%>
-
+
+
+
+
+
+
+
<%@ include file="/common/messages.jsp"%>
-
-
-
-
-
-
+
+
+ *
+
-
-
-
<%-- Text search form fields are being included --%>
-
+
+
+
-
+
+
+
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
Index: lams_tool_forum/web/jsps/authoring/advance.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/advance.jsp,v
diff -u -r1.31.2.3 -r1.31.2.4
--- lams_tool_forum/web/jsps/authoring/advance.jsp 17 Feb 2015 15:40:29 -0000 1.31.2.3
+++ lams_tool_forum/web/jsps/authoring/advance.jsp 9 May 2016 12:03:49 -0000 1.31.2.4
@@ -1,33 +1,26 @@
<%@ include file="/common/taglibs.jsp"%>
-<%-- If you change this file, remember to update the copy made for CNG-12 --%>
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
-
-
-
-
-
+
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
-
-
+
Index: lams_tool_forum/web/jsps/authoring/authoring.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/authoring.jsp,v
diff -u -r1.31 -r1.31.2.1
--- lams_tool_forum/web/jsps/authoring/authoring.jsp 19 Feb 2014 21:27:43 -0000 1.31
+++ lams_tool_forum/web/jsps/authoring/authoring.jsp 9 May 2016 12:03:49 -0000 1.31.2.1
@@ -19,36 +19,42 @@
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
<%@ include file="/common/messages.jsp"%>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
Index: lams_tool_forum/web/jsps/authoring/basic.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/basic.jsp,v
diff -u -r1.37.2.3 -r1.37.2.4
--- lams_tool_forum/web/jsps/authoring/basic.jsp 13 Feb 2015 14:51:49 -0000 1.37.2.3
+++ lams_tool_forum/web/jsps/authoring/basic.jsp 9 May 2016 12:03:49 -0000 1.37.2.4
@@ -9,19 +9,21 @@
* Launches the popup window for the instruction files
*/
function showMessage(url) {
- var area=document.getElementById("messageArea");
- if(area != null){
- area.style.width="100%";
- area.src=url;
- area.style.display="block";
- }
+ $("#messageArea").load(url, function() {
+ var area=document.getElementById("messageArea");
+ if(area != null){
+ area.style.width="100%";
+ area.style.height="100%";
+ area.style.display="block";
+ }
+
+ var elem = document.getElementById("saveCancelButtons");
+ if (elem != null) {
+ elem.style.display="none";
+ }
- var elem = document.getElementById("saveCancelButtons");
- if (elem != null) {
- elem.style.display="none";
- }
-
- location.hash = "messageArea";
+ location.hash = "messageArea";
+ });
}
function hideMessage(){
var area=document.getElementById("messageArea");
@@ -45,23 +47,23 @@
//The panel of taskList list panel
var topicListTargetDiv = "messageListArea";
function deleteTopic(topicIndex, sessionMapID){
+
var deletionConfirmed = confirm(" ");
if (deletionConfirmed) {
var url = " ";
var reqIDVar = new Date();
var param = "topicIndex=" + topicIndex +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;;
deleteItemLoading();
- var myAjax = new Ajax.Updater(
- topicListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- onComplete:deleteItemComplete,
- evalScripts:true
- }
- );
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#messageListArea").html(data);
+ deleteItemComplete();
+ }
+ });
}
}
@@ -77,81 +79,74 @@
var reqIDVar = new Date();
var param = "topicIndex=" + topicIndex +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;;
deleteItemLoading();
- var myAjax = new Ajax.Updater(
- topicListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- onComplete:deleteItemComplete,
- evalScripts:true
- }
- );
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#messageListArea").html(data);
+ deleteItemComplete();
+ }
+ });
}
function downTopic(topicIndex, sessionMapID){
var url = " ";
var reqIDVar = new Date();
var param = "topicIndex=" + topicIndex +"&reqID="+reqIDVar.getTime()+"&sessionMapID="+sessionMapID;;
deleteItemLoading();
- var myAjax = new Ajax.Updater(
- topicListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- onComplete:deleteItemComplete,
- evalScripts:true
- }
- );
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#messageListArea").html(data);
+ deleteItemComplete();
+ }
+ });
}
- function resizeOnMessageFrameLoad(){
- var messageAreaFrame = document.getElementById("messageArea");
- messageAreaFrame.style.height=messageAreaFrame.contentWindow.document.body.scrollHeight+'px';
- }
+ //Packs additional elements and submits the question form
+ function submitMessage(){
+
+ if ( typeof CKEDITOR !== 'undefined' ) {
+ for ( instance in CKEDITOR.instances )
+ CKEDITOR.instances[instance].updateElement();
+ }
+ var formData = new FormData(document.getElementById("topicFormId"));
+
+ $.ajax({ // create an AJAX call...
+ data: formData,
+ processData: false, // tell jQuery not to process the data
+ contentType: false, // tell jQuery not to set contentType
+ type: $("#topicFormId").attr('method'),
+ url: $("#topicFormId").attr('action'),
+ success: function(data) {
+ $('#messageArea').html(data);
+ }
+ });
+ }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
<%@ include file="/jsps/authoring/message/topiclist.jsp"%>
-
- ');" id="addTopic"
- class="button-add-item">
-
-
+
-
-
-
+
Index: lams_tool_forum/web/jsps/authoring/conditionList.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/conditionList.jsp,v
diff -u -r1.3.2.2 -r1.3.2.3
--- lams_tool_forum/web/jsps/authoring/conditionList.jsp 24 Apr 2015 10:00:54 -0000 1.3.2.2
+++ lams_tool_forum/web/jsps/authoring/conditionList.jsp 9 May 2016 12:03:49 -0000 1.3.2.3
@@ -3,12 +3,11 @@
-
-
+
-
+
-
+
@@ -36,62 +35,31 @@
${condition.displayName}
-
+
+
- "
- onclick="upCondition(${status.index},'${sessionMapID}')">
-
- ">
-
-
-
+
+
+
-
- ">
-
-
- "
- onclick="downCondition(${status.index},'${sessionMapID}')">
-
+
+
-
- "
- onclick="editCondition(${status.index},'${sessionMapID}')" />
-
-
-
- "
- onclick="deleteCondition(${status.index},'${sessionMapID}')" />
-
+ "
+ onclick="editCondition(${status.index},'${sessionMapID}')">
+
+ "
+ onclick="deleteCondition(${status.index},'${sessionMapID}')">
+
-<%-- This script will works when a new resoruce Condition submit in order to refresh "TaskList List" panel. --%>
+<%-- This script will works when a new Condition submit in order to refresh "Condition List" panel. --%>
Index: lams_tool_forum/web/jsps/authoring/conditions.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/conditions.jsp,v
diff -u -r1.1 -r1.1.12.1
--- lams_tool_forum/web/jsps/authoring/conditions.jsp 27 Oct 2008 00:53:02 -0000 1.1
+++ lams_tool_forum/web/jsps/authoring/conditions.jsp 9 May 2016 12:03:49 -0000 1.1.12.1
@@ -8,18 +8,19 @@
* Launches the popup window for the instruction files
*/
function showConditionMessage(url) {
- var area=document.getElementById("conditionInputArea");
- if(area != null){
- area.style.width="650px";
- area.style.height="100%";
- area.src=url;
- area.style.display="block";
- }
- var elem = document.getElementById("saveCancelButtons");
- if (elem != null) {
- elem.style.display="none";
- }
- location.hash = "conditionInputArea";
+ $("#conditionInputArea").load(url, function() {
+ var area=document.getElementById("conditionInputArea");
+ if(area != null){
+ area.style.width="100%";
+ area.style.height="100%";
+ area.style.display="block";
+ }
+ var elem = document.getElementById("saveCancelButtons");
+ if (elem != null) {
+ elem.style.display="none";
+ }
+ location.hash = "conditionInputArea";
+ });
}
function hideConditionMessage(){
var area=document.getElementById("conditionInputArea");
@@ -44,46 +45,56 @@
function deleteCondition(orderId,sessionMapID){
var url = " ";
var reqIDVar = new Date();
- var param = "orderId=" + orderId +"&sessionMapID="+sessionMapID;;
- var myAjax = new Ajax.Updater(
- conditionListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- evalScripts:true
- }
- );
+ var param = "orderId=" + orderId +"&sessionMapID="+sessionMapID;
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#"+conditionListTargetDiv).html(data);
+ }
+ });
}
function upCondition(orderId,sessionMapID){
var url = " ";
var reqIDVar = new Date();
var param = "orderId=" + orderId + "&sessionMapID="+sessionMapID;;
- var myAjax = new Ajax.Updater(
- conditionListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- evalScripts:true
- }
- );
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#"+conditionListTargetDiv).html(data);
+ }
+ });
}
function downCondition(orderId,sessionMapID){
var url = " ";
var reqIDVar = new Date();
var param = "orderId=" + orderId + "&sessionMapID="+sessionMapID;;
- var myAjax = new Ajax.Updater(
- conditionListTargetDiv,
- url,
- {
- method:'get',
- parameters:param,
- evalScripts:true
- }
- );
+ $.ajax({
+ type: 'get',
+ url: url,
+ data: param,
+ success: function(data) {
+ $("#"+conditionListTargetDiv).html(data);
+ }
+ });
}
+
+ //Packs additional elements and submits the question form
+ function submitCondition(){
+
+ $.ajax({ // create an AJAX call...
+ type: $("#forumConditionForm").attr('method'),
+ url: $("#forumConditionForm").attr('action'),
+ data: $("#forumConditionForm").serialize(),
+ success: function(data) {
+ $('#forumConditionForm').html(data);
+ }
+ });
+ }
@@ -93,18 +104,10 @@
<%@ include file="/jsps/authoring/conditionList.jsp"%>
+
+
-
- ');" class="button-add-item">
-
-
-
-
-
-
-
+
Index: lams_tool_forum/web/jsps/authoring/definelater.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/definelater.jsp,v
diff -u -r1.13 -r1.13.2.1
--- lams_tool_forum/web/jsps/authoring/definelater.jsp 28 Oct 2013 13:17:14 -0000 1.13
+++ lams_tool_forum/web/jsps/authoring/definelater.jsp 9 May 2016 12:03:49 -0000 1.13.2.1
@@ -5,32 +5,36 @@
-<%Set tabs = new HashSet();
- tabs.add("authoring.tab.basic");
- pageContext.setAttribute("tabs", tabs);
-
- %>
-
+
-
+
+
+
+
<%@ include file="/common/messages.jsp"%>
-
-
-
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
Index: lams_tool_forum/web/jsps/authoring/header.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/header.jsp,v
diff -u -r1.5 -r1.5.14.1
--- lams_tool_forum/web/jsps/authoring/header.jsp 26 Oct 2006 02:31:12 -0000 1.5
+++ lams_tool_forum/web/jsps/authoring/header.jsp 9 May 2016 12:03:49 -0000 1.5.14.1
@@ -5,7 +5,6 @@
-
-
+
+
+
+
<%@ include file="/common/messages.jsp"%>
@@ -29,48 +19,33 @@
-
-
- *
+
+ *
+
+
-
-
-
+
+
+ *
+
+
+
+
+
+
-
-
- *
+
+
+
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: lams_tool_forum/web/jsps/authoring/message/edit.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/message/edit.jsp,v
diff -u -r1.25.2.5 -r1.25.2.6
--- lams_tool_forum/web/jsps/authoring/message/edit.jsp 10 Feb 2016 10:01:53 -0000 1.25.2.5
+++ lams_tool_forum/web/jsps/authoring/message/edit.jsp 9 May 2016 12:03:49 -0000 1.25.2.6
@@ -4,28 +4,16 @@
<%@ include file="/common/header.jsp"%>
-
+
-
-
-
-
-
+
+
+
<%@ include file="/common/messages.jsp"%>
@@ -34,46 +22,40 @@
-
-
- *
+
+ *
+
+
-
-
-
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
+
+ *
+
+
+
+
+
+
+
-
-
- <%@ include file="/jsps/authoring/parts/msgattachment.jsp"%>
+
-
-
-
-
-
-
-
+
+
+
+
+
+
Index: lams_tool_forum/web/jsps/authoring/message/topiclist.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/message/topiclist.jsp,v
diff -u -r1.15.2.3 -r1.15.2.4
--- lams_tool_forum/web/jsps/authoring/message/topiclist.jsp 24 Apr 2015 10:00:54 -0000 1.15.2.3
+++ lams_tool_forum/web/jsps/authoring/message/topiclist.jsp 9 May 2016 12:03:49 -0000 1.15.2.4
@@ -3,7 +3,7 @@
-
+
@@ -21,62 +21,31 @@
">
-
-
+
+
+
- "
- onclick="upTopic(${status.index},'${sessionMapID}')">
-
- ">
-
-
-
+
+
+
-
- ">
-
-
- "
- onclick="downTopic(${status.index},'${sessionMapID}')">
-
+
+
-
- " id="edit${status.index}"
- onclick="editTopic(${status.index},'${sessionMapID}')" />
-
-
-
- " id="delete${status.index}"
- onclick="deleteTopic(${status.index},'${sessionMapID}')" />
-
+ " id="edit${status.index}"
+ onclick="editTopic(${status.index},'${sessionMapID}')">
+
+ " id="delete${status.index}"
+ onclick="deleteTopic(${status.index},'${sessionMapID}')">
+
-<%-- This script will works when a new resoruce item submit in order to refresh "Resource List" panel. --%>
-
Index: lams_tool_forum/web/jsps/authoring/parts/msgattachment.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/parts/msgattachment.jsp,v
diff -u -r1.4 -r1.4.2.1
--- lams_tool_forum/web/jsps/authoring/parts/msgattachment.jsp 23 Mar 2010 15:30:02 -0000 1.4
+++ lams_tool_forum/web/jsps/authoring/parts/msgattachment.jsp 9 May 2016 12:03:50 -0000 1.4.2.1
@@ -14,7 +14,7 @@
-
+
@@ -25,6 +25,6 @@
-
+
Index: lams_tool_forum/web/jsps/monitoring/editactivity.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/editactivity.jsp,v
diff -u -r1.18 -r1.18.2.1
--- lams_tool_forum/web/jsps/monitoring/editactivity.jsp 3 Apr 2014 12:35:52 -0000 1.18
+++ lams_tool_forum/web/jsps/monitoring/editactivity.jsp 9 May 2016 12:03:50 -0000 1.18.2.1
@@ -1,10 +1,17 @@
<%@ include file="/common/taglibs.jsp"%>
-
+
+
+
+
+
+
+
+
+
- :
@@ -14,33 +21,20 @@
- :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
Index: lams_tool_forum/web/jsps/monitoring/header.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/header.jsp,v
diff -u -r1.8.2.1 -r1.8.2.2
--- lams_tool_forum/web/jsps/monitoring/header.jsp 19 Jan 2015 21:34:30 -0000 1.8.2.1
+++ lams_tool_forum/web/jsps/monitoring/header.jsp 9 May 2016 12:03:49 -0000 1.8.2.2
@@ -29,7 +29,7 @@
}
function doStatistic(){
- var url = " ";
+ var url = " ";
$("#statisticArea_Busy").show();
$("#statisticArea").load(
Index: lams_tool_forum/web/jsps/monitoring/monitoring.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/monitoring.jsp,v
diff -u -r1.6.2.1 -r1.6.2.2
--- lams_tool_forum/web/jsps/monitoring/monitoring.jsp 19 Jan 2015 21:34:30 -0000 1.6.2.1
+++ lams_tool_forum/web/jsps/monitoring/monitoring.jsp 9 May 2016 12:03:50 -0000 1.6.2.2
@@ -4,19 +4,25 @@
-
-
-
-
-
+
+
+
-
+
+
+
+
+
+
+
Index: lams_tool_forum/web/jsps/monitoring/statisticpart.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/statisticpart.jsp,v
diff -u -r1.6.2.1 -r1.6.2.2
--- lams_tool_forum/web/jsps/monitoring/statisticpart.jsp 19 Jan 2015 21:34:30 -0000 1.6.2.1
+++ lams_tool_forum/web/jsps/monitoring/statisticpart.jsp 9 May 2016 12:03:50 -0000 1.6.2.2
@@ -1,7 +1,16 @@
<%@ include file="/common/taglibs.jsp"%>
-<%-- If you change this file, remember to update the copy made for CNG-12 --%>
+
+
+
+
+
+
+
+
+
+
@@ -16,12 +25,41 @@
-
- :
-
-
-
+
+
+
+
+ :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -36,7 +74,7 @@
-
+
@@ -52,24 +90,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
Index: lams_tool_forum/web/jsps/monitoring/summary.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/summary.jsp,v
diff -u -r1.31.2.8 -r1.31.2.9
--- lams_tool_forum/web/jsps/monitoring/summary.jsp 25 Nov 2015 07:59:50 -0000 1.31.2.8
+++ lams_tool_forum/web/jsps/monitoring/summary.jsp 9 May 2016 12:03:50 -0000 1.31.2.9
@@ -7,42 +7,11 @@
-<%-- If you change this file, remember to update the copy made for CNG-12 --%>
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- :
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 5
+ 15%
+
+
+ 4
+ 25%
+
+
+
+
+
+
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+ ${ !sessionMap.isGroupedActivity || ! status.last ? '
' : ''}
+
+
+
+
<%@include file="parts/advanceOptions.jsp"%>
<%@include file="parts/daterestriction.jsp"%>
Index: lams_tool_forum/web/jsps/monitoring/updatemarks.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/updatemarks.jsp,v
diff -u -r1.27.2.1 -r1.27.2.2
--- lams_tool_forum/web/jsps/monitoring/updatemarks.jsp 19 Jan 2015 21:34:30 -0000 1.27.2.1
+++ lams_tool_forum/web/jsps/monitoring/updatemarks.jsp 9 May 2016 12:03:50 -0000 1.27.2.2
@@ -8,9 +8,9 @@
-
-
-
+
+
+
( ):
@@ -26,49 +26,36 @@
-
-
-
- <%@ include file="/common/messages.jsp"%>
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ ?sessionMapID=${formBean.sessionMapID}&topicID=${sessionMap.rootUid}&hideReflection=${sessionMap.hideReflection}
+
+
+
+ ">
+
+
Index: lams_tool_forum/web/jsps/monitoring/viewmarks.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/viewmarks.jsp,v
diff -u -r1.10.2.2 -r1.10.2.3
--- lams_tool_forum/web/jsps/monitoring/viewmarks.jsp 19 Jan 2015 21:34:30 -0000 1.10.2.2
+++ lams_tool_forum/web/jsps/monitoring/viewmarks.jsp 9 May 2016 12:03:50 -0000 1.10.2.3
@@ -12,96 +12,81 @@
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ " class="btn btn-default btn-sm" />
+
+
+
+
+
+
${topic.message.replyNumber}
+
+
-
-
-
-
-
-
-
-
-
-
-
- ">
-
-
-
-
-
-
-
-
-
-
-
-
- :
-
-
- ${topic.message.replyNumber}
-
-
+
-
-
-
- :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- " class="button" />
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
Fisheye: Tag 1.6.2.1 refers to a dead (removed) revision in file `lams_tool_forum/web/jsps/monitoring/message/viewtopic.jsp'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.6.2.1 refers to a dead (removed) revision in file `lams_tool_forum/web/jsps/monitoring/message/viewtopictree.jsp'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_forum/web/jsps/monitoring/parts/advanceOptions.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/monitoring/parts/advanceOptions.jsp,v
diff -u -r1.1.2.2 -r1.1.2.3
--- lams_tool_forum/web/jsps/monitoring/parts/advanceOptions.jsp 19 Jan 2015 21:34:30 -0000 1.1.2.2
+++ lams_tool_forum/web/jsps/monitoring/parts/advanceOptions.jsp 9 May 2016 12:03:50 -0000 1.1.2.3
@@ -1,15 +1,8 @@
-