Index: lams_tool_larsrc/web/pages/learning/addfile.jsp =================================================================== diff -u -r7ed5fbd3fe8ae436e1a4376f59cd23392a6f389f -ra4bc09633e07b301174911591702607f522c7037 --- lams_tool_larsrc/web/pages/learning/addfile.jsp (.../addfile.jsp) (revision 7ed5fbd3fe8ae436e1a4376f59cd23392a6f389f) +++ lams_tool_larsrc/web/pages/learning/addfile.jsp (.../addfile.jsp) (revision a4bc09633e07b301174911591702607f522c7037) @@ -1,7 +1,10 @@ <%@ 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_MAX_SIZE)%> +<%=FileValidatorUtil.formatSize(Configuration.getAsInt(ConfigurationKeys.UPLOAD_FILE_MAX_SIZE))%> +<%=Configuration.get(ConfigurationKeys.EXE_EXTENSIONS)%>
@@ -23,34 +26,14 @@
-
- - - - - -
+ - -
+
@@ -63,17 +46,19 @@