You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/07/18 03:14:43 UTC
svn commit: r422936 - in /incubator/roller/branches/roller_3.0/web:
WEB-INF/jsps/authoring/CreateWebsite.jsp roller-ui/authoring/images/
roller-ui/authoring/preview/
Author: agilliland
Date: Mon Jul 17 18:14:42 2006
New Revision: 422936
URL: http://svn.apache.org/viewvc?rev=422936&view=rev
Log:
moving old theme preview images to new directory since we mapped the preview servlet to that same url.
Added:
incubator/roller/branches/roller_3.0/web/roller-ui/authoring/images/
- copied from r422768, incubator/roller/branches/roller_3.0/web/roller-ui/authoring/preview/
Removed:
incubator/roller/branches/roller_3.0/web/roller-ui/authoring/preview/
Modified:
incubator/roller/branches/roller_3.0/web/WEB-INF/jsps/authoring/CreateWebsite.jsp
Modified: incubator/roller/branches/roller_3.0/web/WEB-INF/jsps/authoring/CreateWebsite.jsp
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/WEB-INF/jsps/authoring/CreateWebsite.jsp?rev=422936&r1=422935&r2=422936&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/WEB-INF/jsps/authoring/CreateWebsite.jsp (original)
+++ incubator/roller/branches/roller_3.0/web/WEB-INF/jsps/authoring/CreateWebsite.jsp Mon Jul 17 18:14:42 2006
@@ -20,7 +20,7 @@
<!--
function previewImage(theme) {
<% String ctxPath = request.getContextPath(); %>
- document.preview.src="<%= ctxPath %>/roller-ui/authoring/preview/sm-theme-" + theme + ".png";
+ document.preview.src="<%= ctxPath %>/roller-ui/authoring/images/sm-theme-" + theme + ".png";
}
function cancel() {
document.createWebsiteForm.method.value="cancel";
@@ -105,7 +105,7 @@
</html:select>
<br />
<br />
- <img name="preview" src="<%= request.getContextPath() %>/roller-ui/authoring/preview/sm-theme-basic.png" height="268" width="322" />
+ <img name="preview" src="<%= request.getContextPath() %>/roller-ui/authoring/images/sm-theme-<c:out value="${model.themes[0]}"/>.png" height="268" width="322" />
</td>
<td class="description"><fmt:message key="createWebsite.tip.theme" /></td>
</tr>