Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory
james.mmbase.org:/tmp/cvs-serv2827/applications/editwizard/templates/data/xsl
Modified Files:
prompts.xsl wizard.xsl
Log Message:
MMB-1595 Use replace image text when image already exists
See also:
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/data/xsl
See also: http://www.mmbase.org/jira/browse/MMB-1595
Index: prompts.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/prompts.xsl,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- prompts.xsl 29 Nov 2007 14:47:19 -0000 1.37
+++ prompts.xsl 14 Feb 2008 17:19:40 -0000 1.38
@@ -6,7 +6,7 @@
@since MMBase-1.6
@author Pierre van Rooden
@author Nico Klasens
- @version $Id: prompts.xsl,v 1.37 2007/11/29 14:47:19 mark Exp $
+ @version $Id: prompts.xsl,v 1.38 2008/02/14 17:19:40 nklasens Exp $
prompts used in this editwizard.
Override these prompts to change the view in your own versions.
@@ -87,6 +87,7 @@
<xsl:template name="prompt_file_upload">File Upload</xsl:template>
<xsl:template name="prompt_uploaded">Uploaded:</xsl:template>
<xsl:template name="prompt_image_upload">Upload new image</xsl:template>
+ <xsl:template name="prompt_image_replace">Replace new image</xsl:template>
<xsl:template name="prompt_do_download">Download current</xsl:template>
<xsl:template name="prompt_do_upload">Upload new</xsl:template>
<xsl:template name="prompt_no_file">No (new) file.</xsl:template>
Index: wizard.xsl
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/data/xsl/wizard.xsl,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -b -r1.179 -r1.180
--- wizard.xsl 30 Nov 2007 14:01:37 -0000 1.179
+++ wizard.xsl 14 Feb 2008 17:19:40 -0000 1.180
@@ -13,7 +13,7 @@
@author Nico Klasens
@author Martijn Houtman
@author Robin van Meteren
- @version $Id: wizard.xsl,v 1.179 2007/11/30 14:01:37 michiel Exp $
+ @version $Id: wizard.xsl,v 1.180 2008/02/14 17:19:40 nklasens Exp $
This xsl uses Xalan functionality to call java classes
to format dates and call functions on nodes
@@ -1011,7 +1011,7 @@
</span>
<br/>
<a href="{$uploadpage}&popupid={$popupid}&[EMAIL
PROTECTED]&wizard={/wizard/@instance}&[EMAIL PROTECTED]"
onclick="return doStartUpload(this);">
- <xsl:call-template name="prompt_image_upload"/>
+ <xsl:call-template name="prompt_image_replace"/>
</a>
</div>
</xsl:when>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs