Index: lams_tool_larsrc/conf/language/lams/ApplicationResources.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/conf/language/lams/ApplicationResources.properties,v
diff -u -r1.35.2.9 -r1.35.2.10
--- lams_tool_larsrc/conf/language/lams/ApplicationResources.properties 18 Dec 2016 18:07:08 -0000 1.35.2.9
+++ lams_tool_larsrc/conf/language/lams/ApplicationResources.properties 1 Mar 2017 00:29:02 -0000 1.35.2.10
@@ -136,8 +136,10 @@
message.step.of =Step {0} of {1}
message.no.reflection.available =No notebook available
button.edit =Edit
-errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes
-error.attachment.executable =The uploaded file is executable, please zip it before uploading.
+errors.maxfilesize=Uploaded file exceeded maximum size of {0}
+label.upload.info =Uploaded file must not be executable and not exceed size of {0}
+error.attachment.executable =The uploaded file can not be an executable.
+error.file.type.zip=File must be a zip file.
message.alertContentEdit =Warning: One of more learners have accessed this activity. Changing this content will result in learners getting different information.
message.warnLockOnFinish =Note: After you click on "Next Activity\u201d, if you come back to this Share Resource, you won\u2019t be able to share new resources.
message.activityLocked =The instructor has set this activity not to allow you to view or share any more resources after you have finished it.
Index: lams_tool_larsrc/conf/language/lams/ApplicationResources_en_AU.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/conf/language/lams/ApplicationResources_en_AU.properties,v
diff -u -r1.34.2.4 -r1.34.2.5
--- lams_tool_larsrc/conf/language/lams/ApplicationResources_en_AU.properties 18 Dec 2016 18:07:08 -0000 1.34.2.4
+++ lams_tool_larsrc/conf/language/lams/ApplicationResources_en_AU.properties 1 Mar 2017 00:29:02 -0000 1.34.2.5
@@ -136,8 +136,9 @@
message.step.of =Step {0} of {1}
message.no.reflection.available =No notebook available
button.edit =Edit
-errors.maxfilesize =The uploaded file has exceeded the maximum file size limit of {0} bytes
-error.attachment.executable =The uploaded file is executable, please zip it before uploading.
+errors.maxfilesize=Uploaded file exceeded maximum size of {0}
+label.upload.info =Uploaded file must not be executable and not exceed size of {0}
+error.attachment.executable =The uploaded file can not be an executable.
message.alertContentEdit =Warning: One of more learners have accessed this activity. Changing this content will result in learners getting different information.
message.warnLockOnFinish =Note: After you click on "Next Activity\u201d, if you come back to this Share Resource, you won\u2019t be able to share new resources.
message.activityLocked =The instructor has set this activity not to allow you to view or share any more resources after you have finished it.
Index: lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.23.2.2 -r1.23.2.3
--- lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 13 Dec 2016 04:27:39 -0000 1.23.2.2
+++ lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 1 Mar 2017 00:29:01 -0000 1.23.2.3
@@ -123,7 +123,7 @@
}
-
+
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_larsrc/web/WEB-INF/tags/FileUpload.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_larsrc/web/WEB-INF/tags/WaitingSpinner.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld,v
diff -u -r1.25.2.7 -r1.25.2.8
--- lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld 25 Nov 2016 17:09:18 -0000 1.25.2.7
+++ lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld 1 Mar 2017 00:29:02 -0000 1.25.2.8
@@ -529,5 +529,13 @@
CommentsAuthor/WEB-INF/tags/CommentsAuthor.tag
+
+ FileUpload
+ /WEB-INF/tags/FileUpload.tag
+
+
+ WaitingSpinner
+ /WEB-INF/tags/WaitingSpinner.tag
+
Index: lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js,v
diff -u -r1.13.2.2 -r1.13.2.3
--- lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js 2 Dec 2016 09:14:19 -0000 1.13.2.2
+++ lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js 1 Mar 2017 00:29:02 -0000 1.13.2.3
@@ -109,7 +109,8 @@
document.getElementById("instructionList").value = $("#instructionForm").serialize();
var formData = new FormData(document.getElementById("resourceItemForm"));
-
+ showBusy(instructionTargetDiv);
+
// after submit, it direct to itemlist.jsp,
// then refresh "basic tab" resource list and close this window.
$.ajax({ // create an AJAX call...
Index: lams_tool_larsrc/web/pages/authoring/parts/addfile.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/authoring/parts/addfile.jsp,v
diff -u -r1.21.2.7 -r1.21.2.8
--- lams_tool_larsrc/web/pages/authoring/parts/addfile.jsp 2 Dec 2016 21:04:57 -0000 1.21.2.7
+++ lams_tool_larsrc/web/pages/authoring/parts/addfile.jsp 1 Mar 2017 00:29:01 -0000 1.21.2.8
@@ -2,27 +2,40 @@
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="org.lamsfoundation.lams.util.Configuration" %>
<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys" %>
+<%@ page import="org.lamsfoundation.lams.util.FileValidatorUtil" %>
<%=Configuration.get(ConfigurationKeys.UPLOAD_FILE_LARGE_MAX_SIZE)%>
+<%=FileValidatorUtil.formatSize(Configuration.getAsInt(ConfigurationKeys.UPLOAD_FILE_LARGE_MAX_SIZE))%>
+<%=Configuration.get(ConfigurationKeys.EXE_EXTENSIONS)%>
- <%@ include file="addheader.jsp"%>
+ <%@ include file="addheader.jsp"%>
@@ -68,7 +88,8 @@
<%@ include file="/pages/authoring/parts/itemattachment.jsp"%>
-
+
+