Index: lams_central/src/java/org/lamsfoundation/lams/web/planner/PedagogicalPlannerAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/planner/PedagogicalPlannerAction.java,v diff -u -r1.17 -r1.18 --- lams_central/src/java/org/lamsfoundation/lams/web/planner/PedagogicalPlannerAction.java 21 Mar 2009 10:35:17 -0000 1.17 +++ lams_central/src/java/org/lamsfoundation/lams/web/planner/PedagogicalPlannerAction.java 25 Mar 2009 20:35:03 -0000 1.18 @@ -205,8 +205,6 @@ private static final String EXPORT_NODE_FOLDER_SUFFIX = "export_node"; private static final String EXPORT_NODE_CONTENT_ZIP_PREFIX = "content_"; - private static final String HEADER_CONTENT_DISPOSITION = "Content-Disposition"; - private static final String RESPONSE_CONTENT_TYPE_DOWNLOAD = "application/x-download"; private static final String ENCODING_UTF_8 = "UTF-8"; private static final String DIR_UPLOADED_NODE_SUFFIX = "_uploaded_node"; private static final String EXPORT_NODE_ZIP_PREFIX = "lams_planner_node_"; @@ -945,9 +943,9 @@ PedagogicalPlannerAction.log.debug("Final filename to export: " + filename); - response.setContentType(PedagogicalPlannerAction.RESPONSE_CONTENT_TYPE_DOWNLOAD); + response.setContentType(CentralConstants.RESPONSE_CONTENT_TYPE_DOWNLOAD); // response.setContentType("application/zip"); - response.setHeader(PedagogicalPlannerAction.HEADER_CONTENT_DISPOSITION, "attachment;filename=" + filename); + response.setHeader(CentralConstants.HEADER_CONTENT_DISPOSITION, "attachment;filename=" + filename); } catch (Exception e) { PedagogicalPlannerAction.log.error(e, e); errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(PedagogicalPlannerAction.ERROR_KEY_EXPORT)); @@ -1220,7 +1218,7 @@ String fileName = node.getFileName(); PedagogicalPlannerAction.log.debug("Uploading into repository a template file: " + fileName); NodeKey nodeKey = getContentHandler().uploadFile(inputStream, fileName, - PedagogicalPlannerAction.RESPONSE_CONTENT_TYPE_DOWNLOAD, IToolContentHandler.TYPE_OFFLINE); + CentralConstants.RESPONSE_CONTENT_TYPE_DOWNLOAD, IToolContentHandler.TYPE_OFFLINE); node.setFileUuid(nodeKey.getUuid()); } } @@ -1477,10 +1475,9 @@ String filename = FileUtil.encodeFilenameForDownload(request, zipfile); PedagogicalPlannerAction.log.debug("Final filename to export: " + filename); - response.setContentType(PedagogicalPlannerAction.RESPONSE_CONTENT_TYPE_DOWNLOAD); + response.setContentType(CentralConstants.RESPONSE_CONTENT_TYPE_DOWNLOAD); // response.setContentType("application/zip"); - response.setHeader(PedagogicalPlannerAction.HEADER_CONTENT_DISPOSITION, "attachment;filename=" - + filename); + response.setHeader(CentralConstants.HEADER_CONTENT_DISPOSITION, "attachment;filename=" + filename); valid = true; } Index: lams_central/web/css/pedagogicalPlanner.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/css/pedagogicalPlanner.css,v diff -u -r1.8 -r1.9 --- lams_central/web/css/pedagogicalPlanner.css 26 Feb 2009 19:20:08 -0000 1.8 +++ lams_central/web/css/pedagogicalPlanner.css 25 Mar 2009 20:35:03 -0000 1.9 @@ -152,4 +152,8 @@ .align-center { text-align: center; +} + +.dummyLink { + color: #47bc23; } \ No newline at end of file Index: lams_central/web/pedagogical_planner/sequenceChooser.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/pedagogical_planner/Attic/sequenceChooser.jsp,v diff -u -r1.9 -r1.10 --- lams_central/web/pedagogical_planner/sequenceChooser.jsp 10 Mar 2009 23:12:10 -0000 1.9 +++ lams_central/web/pedagogical_planner/sequenceChooser.jsp 25 Mar 2009 20:35:03 -0000 1.10 @@ -195,32 +195,47 @@