You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2003/11/01 15:11:07 UTC

cvs commit: cocoon-2.1/src/blocks/webdav/samples/davmap/styles collection2html.xsl

unico       2003/11/01 06:11:06

  Modified:    src/blocks/webdav/samples/davmap/styles collection2html.xsl
  Log:
  fix lastmodified, remove creationdate
  
  Revision  Changes    Path
  1.3       +6 -19     cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2html.xsl
  
  Index: collection2html.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2html.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- collection2html.xsl	31 Oct 2003 17:13:02 -0000	1.2
  +++ collection2html.xsl	1 Nov 2003 14:11:06 -0000	1.3
  @@ -23,7 +23,7 @@
         <body bgcolor="#ffffff">
           <table width="90%" cellspacing="0" cellpadding="5" align="center">
             <tr>
  -            <td colspan="4">
  +            <td colspan="3">
                 <font size="+2">
                   <strong>
                     Directory Listing For <xsl:value-of select="@name"/>
  @@ -32,14 +32,14 @@
               </td>
             </tr>
             <tr>
  -            <td colspan="4">&#160;</td>
  +            <td colspan="3">&#160;</td>
             </tr>
             <xsl:call-template name="collection-header" />
             <xsl:apply-templates>
               <xsl:with-param name="href" select="$adjustedRequestURI" />
             </xsl:apply-templates>
             <tr>
  -            <td colspan="4" bgcolor="#cccccc">
  +            <td colspan="3" bgcolor="#cccccc">
                 <font size="-1"><xsl:value-of select="$footer" /></font>
               </td>
             </tr>
  @@ -62,11 +62,6 @@
         </td>
         <td align="right">
           <font size="+1">
  -          <strong>Created</strong>
  -        </font>
  -      </td>
  -      <td align="right">
  -        <font size="+1">
             <strong>Last Modified</strong>
           </font>
         </td>
  @@ -87,12 +82,7 @@
         </td>
         <td align="right">
           <tt>
  -          <xsl:value-of select="@created"/>
  -        </tt>
  -      </td>
  -      <td align="right">
  -        <tt>
  -          <xsl:value-of select="@modified"/>
  +          <xsl:value-of select="@date"/>
           </tt>
         </td>
       </tr>
  @@ -108,13 +98,10 @@
           <tt><xsl:value-of select="@name"/></tt></a>
         </td>
         <td align="right">
  -        <tt>&#160;</tt>
  -      </td>
  -      <td align="right">
  -        <tt><xsl:value-of select="@created"/></tt>
  +        <tt><xsl:value-of select="@size"/></tt>
         </td>
         <td align="right">
  -        <tt><xsl:value-of select="@modified"/></tt>
  +        <tt><xsl:value-of select="@date"/></tt>
         </td>
       </tr>
     </xsl:template>