You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/01/25 18:32:49 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor cmfs.xsl

michi       2004/01/25 09:32:49

  Modified:    src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor cmfs.xsl
  Log:
  editor added
  
  Revision  Changes    Path
  1.10      +12 -0     cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor/cmfs.xsl
  
  Index: cmfs.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/lenya/xslt/formeditor/cmfs.xsl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- cmfs.xsl	6 Nov 2003 23:24:33 -0000	1.9
  +++ cmfs.xsl	25 Jan 2004 17:32:49 -0000	1.10
  @@ -11,6 +11,8 @@
     <content><input type="text" name="&lt;xupdate:update select=&quot;/system/system_name[@tagID='{system_name/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="system_name" /></xsl:attribute></input></content>
   </node>
   
  +<xsl:apply-templates select="editor"/>
  +
   <node name="Description" select="/system/description[@tagID='{description/@tagID}']">
     <content>
       <textarea name="&lt;xupdate:update select=&quot;/system/description[@tagID='{description/@tagID}']&quot;&gt;" cols="40" rows="5">
  @@ -59,6 +61,16 @@
   <xsl:apply-templates select="features"/>
   </xsl:template>
   
  +
  +<xsl:template match="editor">
  +<node name="Editor Name" select="/system/editor/name[@tagID='{name/@tagID}']">
  +  <content><input type="text" name="&lt;xupdate:update select=&quot;/system/editor/name[@tagID='{name/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="name" /></xsl:attribute></input></content>
  +</node>
  +
  +<node name="Editor E-Mail" select="/system/editor/email[@tagID='{email/@tagID}']">
  +  <content><input type="text" name="&lt;xupdate:update select=&quot;/system/editor/email[@tagID='{email/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="email" /></xsl:attribute></input></content>
  +</node>
  +</xsl:template>
   
   <xsl:template match="programming-language">
   <node name="Programming Language" select="/system/programming-language[@tagID='{@tagID}']">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org