Sha256: ca67293b10bc9d75d1e572b067dbcb2991fc6ca2a0e3bb1a2ccc16c2a31e5f98
Contents?: true
Size: 869 Bytes
Versions: 1
Compression:
Stored size: 869 Bytes
Contents
<?xml version='1.0' encoding='iso-8859-7'?> <!-- gmosx: contenteditable templates --> <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:ce='http://www.navel.gr/xml/content-editable.xsd' version='1.0'> <xsl:template name='ce:enable' match='ce:enable'> <script language='javascript' src='*root/content/content-editable.js'>// </script> </xsl:template> <xsl:template name='ce:block' match='ce:block'> <xsl:param name='id'><xsl:value-of select='id'/></xsl:param> <xsl:param name='action'><xsl:value-of select='action'/></xsl:param> <form id='{$id}_ce_form' method='post' action='{$action}'> <input type='hidden' name='content'/> </form> [<a href='#' onclick='javascript: CE_startEdit("{$id}")'>on</a>]<br/> <div id='{$id}' contenteditable='false'> <xsl:apply-templates/> </div> </xsl:template> </xsl:stylesheet>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.1.2 | lib/xsl/ce.xsl |