lenya/src/webapp/lenya/pubs/default/xslt simple2xhtml.xsl,1.6,1.7
Christian Egli <[email protected]> Mon, 19 May 2003 21:56:02 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/default/xslt
In directory erbium:/tmp/cvs-serv3738/src/webapp/lenya/pubs/default/xslt
Modified Files:
simple2xhtml.xsl
Log Message:
Added support for image upload red dots. Currently it is disabled as
the image upload doesn't work because of some RequestParameterMatcher
problems.
Index: simple2xhtml.xsl
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/xslt/simple2xhtml.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** simple2xhtml.xsl 19 May 2003 13:59:40 -0000 1.6
--- simple2xhtml.xsl 19 May 2003 19:55:59 -0000 1.7
***************
*** 30,39 ****
<!-- XHTML-like tags -->
! <!--<xsl:template match="simple:p | simple:thead |simple:tbody | simple:tfoot">-->
! <xsl:template match="simple:p | simple:thead | simple:tfoot">
<xsl:element name="{local-name()}">
<xsl:attribute name="class">simple</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
<!-- /XHTML-like tags -->
--- 30,51 ----
<!-- XHTML-like tags -->
! <!--<xsl:template match="simple:thead |simple:tbody | simple:tfoot">-->
! <xsl:template match="simple:thead | simple:tfoot">
! <xsl:element name="{local-name()}">
! <xsl:attribute name="class">simple</xsl:attribute>
! <xsl:apply-templates/>
! </xsl:element>
! </xsl:template>
! <!-- /XHTML-like tags -->
!
! <xsl:template match="simple:p">
<xsl:element name="{local-name()}">
<xsl:attribute name="class">simple</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
+ <!-- FIXME: uncomment the following to get image upload red dots between paragraphs -->
+ <!-- <a href="?lenya.usecase=upload&lenya.step=showscreen&xpath=/simple-document/body/p[{count(preceding-sibling::simple:p)+1}]"> -->
+ <!-- <img src="/lenya/lenya/images/util/reddot.gif" alt="Upload Image" border="0"/> -->
+ <!-- </a> -->
</xsl:template>
<!-- /XHTML-like tags -->