+
@@ -56,10 +52,8 @@
-
-
Index: lams_learning/build.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_learning/build.xml,v
diff -u -r1.22 -r1.23
--- lams_learning/build.xml 13 Jul 2006 22:41:25 -0000 1.22
+++ lams_learning/build.xml 28 Sep 2006 23:29:23 -0000 1.23
@@ -249,6 +249,15 @@
+
+
+
+
+
+
+
+
+
Index: lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/CSSBundler.java
===================================================================
RCS file: /usr/local/cvsroot/lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/CSSBundler.java,v
diff -u -r1.2 -r1.3
--- lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/CSSBundler.java 17 Sep 2006 06:17:57 -0000 1.2
+++ lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/CSSBundler.java 28 Sep 2006 23:29:23 -0000 1.3
@@ -120,7 +120,10 @@
String url = basePath + "/lams/css/" + theme + ".css";
HttpUrlConnectionUtil.writeResponseToFile(url, outputDirectory, theme + ".css", cookies); //cookies aren't really needed here.
- }
+
+ url = basePath + "/lams/css/" + theme + "_learner.css";
+ HttpUrlConnectionUtil.writeResponseToFile(url, outputDirectory, theme + "_learner.css", cookies); //cookies aren't really needed here.
+}
// include the special IE stylesheet
String url = basePath + "/lams/css/ie-styles.css";
@@ -161,20 +164,25 @@
while (i.hasNext())
{
String theme = (String)i.next();
- addThemeFile(cssDirectory, theme);
+
+ String themeFilename = theme + ".css";
+ addThemeFile(cssDirectory, themeFilename);
+
+ themeFilename = theme + "_learner.css";
+ addThemeFile(cssDirectory, themeFilename);
}
// include the special IE stylesheet
addThemeFile(cssDirectory, "ie-styles");
}
- private void addThemeFile(String cssDirectory, String themeName) {
- String theme = themeName + ".css";
- File themeFile = new File(centralPath + "/css/" + theme);
+ private void addThemeFile(String cssDirectory, String themeFilename) {
+ File themeFile = new File(centralPath + File.separatorChar + "css" + File.separatorChar + themeFilename);
if ( ! themeFile.canRead() ) {
log.error("Unable to read theme file "+themeFile.getAbsolutePath());
} else {
- filesToCopy.put(cssDirectory+File.separatorChar+theme,themeFile);
+ filesToCopy.put(cssDirectory+File.separatorChar+themeFilename,themeFile);
+
}
}
Index: lams_learning/web/close.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_learning/web/close.jsp,v
diff -u -r1.2 -r1.3
--- lams_learning/web/close.jsp 17 Sep 2006 06:18:46 -0000 1.2
+++ lams_learning/web/close.jsp 28 Sep 2006 23:29:23 -0000 1.3
@@ -24,20 +24,14 @@
window.close();
-
-