You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2003/11/17 01:09:11 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/util welcome.xsl page2xhtml.xsl publication.xsl

gregor      2003/11/16 16:09:11

  Modified:    src/webapp/lenya/xslt/publishing main.xsl main-new.xsl
               src/webapp/lenya/xslt/rc rco-exception.xsl rollback.xsl
               src/webapp/lenya/xslt/util welcome.xsl page2xhtml.xsl
                        publication.xsl
  Log:
  removed some commented-out lines that were superflous
  
  Revision  Changes    Path
  1.7       +0 -3      cocoon-lenya/src/webapp/lenya/xslt/publishing/main.xsl
  
  Index: main.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/publishing/main.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- main.xsl	6 May 2003 18:25:07 -0000	1.6
  +++ main.xsl	17 Nov 2003 00:09:10 -0000	1.7
  @@ -26,8 +26,6 @@
   </xsl:template>
   
   <xsl:template match="publish">
  -<!--<xsl:apply-templates/>-->
  -<!--Referer: <xsl:value-of select="referer"/><br />-->
   <p>
   <h1><xsl:value-of select="$title"/></h1>
   <form action="{$action}">
  @@ -63,7 +61,6 @@
   </ul>
   
   <input type="submit" value="YES"/>
  -<!--<input type="submit" name="submit" value="cancel"/>-->
   &#160;&#160;&#160;<input type="button" onClick="location.href='{referer}';" value="Cancel"/>
   </form>
   </p>
  
  
  
  1.3       +0 -3      cocoon-lenya/src/webapp/lenya/xslt/publishing/main-new.xsl
  
  Index: main-new.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/publishing/main-new.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- main-new.xsl	28 Apr 2003 14:17:21 -0000	1.2
  +++ main-new.xsl	17 Nov 2003 00:09:10 -0000	1.3
  @@ -25,8 +25,6 @@
   </xsl:template>
   
   <xsl:template match="publish">
  -<!--<xsl:apply-templates/>-->
  -<!--Referer: <xsl:value-of select="referer"/><br />-->
   <p>
   <h1><xsl:value-of select="$title"/></h1>
   <form action="">
  @@ -60,7 +58,6 @@
   </ul>
   
   <input type="submit" value="YES"/>
  -<!--<input type="submit" name="submit" value="cancel"/>-->
   &#160;&#160;&#160;<input type="button" onClick="location.href='{referer}';" value="Cancel"/>
   </form>
   </p>
  
  
  
  1.10      +80 -80    cocoon-lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl
  
  Index: rco-exception.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/rc/rco-exception.xsl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- rco-exception.xsl	1 Oct 2003 16:21:55 -0000	1.9
  +++ rco-exception.xsl	17 Nov 2003 00:09:11 -0000	1.10
  @@ -1,80 +1,80 @@
  -<?xml version="1.0" encoding="ISO-8859-1"?>
  -
  -<xsl:stylesheet version="1.0"
  -  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  -  xmlns:rc="http://apache.org/cocoon/lenya/rc/1.0"
  -  xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
  -  >
  -  <xsl:import href="../util/page-util.xsl"/>
  -  
  -  <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
  -
  -  <xsl:template match="/">
  -    <xsl:apply-templates/>
  -  </xsl:template>
  -
  -  <xsl:template match="rc:exception">
  -          <xsl:apply-templates/>
  -  </xsl:template>
  -
  -  <xsl:template match="rc:file-reserved-checkout-exception">
  -    <page:page>
  -      <page:title>File Reserved Checkout Exception</page:title>
  -      <page:body>
  - 	    <div class="lenya-box">
  -    	  <div class="lenya-box-title"> Could not check out the file </div>
  -	      <div class="lenya-box-body">
  -	        <p> Reason : The resource has already been checked out by another user
  -            </p>
  -            <table>
  -              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  -              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  -              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  -            </table>
  -  	      </div>
  -  	    </div>
  -      </page:body>
  -    </page:page>
  -  </xsl:template>
  -  
  -  <xsl:template match="rc:file-reserved-checkin-exception">
  -    <page:page>
  -      <page:title>File Reserved Checkin Exception</page:title>
  -      <page:body>
  - 	    <div class="lenya-box">
  -          <div class="lenya-box-title">File not checked in yet</div>
  -    	  <div class="lenya-box-body">
  -	        <p> The resource has already been checked out:
  -            </p>
  -            <table>
  -              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  -              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  -              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  -            </table>
  -  	      </div>
  -  	    </div>
  -      </page:body>
  -    </page:page>
  -  </xsl:template>
  -
  -
  -  <xsl:template match="rc:generic-exception">
  -    <page:page>
  -      <page:title>Generic Exception</page:title>
  -      <page:body>
  - 	    <div class="lenya-box">
  -	    <div class="lenya-box-title">Generic Exception</div>
  -	      <div class="lenya-box-body">
  -            <p>
  -            Check the log files :-)
  -            </p>
  -            <table>
  -              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  -            </table>
  -       	  </div>
  -  	    </div>
  -      </page:body>
  -    </page:page>
  -  </xsl:template>
  -
  -</xsl:stylesheet>
  +<?xml version="1.0" encoding="ISO-8859-1"?>
  +
  +<xsl:stylesheet version="1.0"
  +  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +  xmlns:rc="http://apache.org/cocoon/lenya/rc/1.0"
  +  xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
  +  >
  +  <xsl:import href="../util/page-util.xsl"/>
  +  
  +  <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
  +
  +  <xsl:template match="/">
  +    <xsl:apply-templates/>
  +  </xsl:template>
  +
  +  <xsl:template match="rc:exception">
  +          <xsl:apply-templates/>
  +  </xsl:template>
  +
  +  <xsl:template match="rc:file-reserved-checkout-exception">
  +    <page:page>
  +      <page:title>File Reserved Checkout Exception</page:title>
  +      <page:body>
  + 	    <div class="lenya-box">
  +    	  <div class="lenya-box-title"> Could not check out the file </div>
  +	      <div class="lenya-box-body">
  +	        <p> Reason : The resource has already been checked out by another user
  +            </p>
  +            <table>
  +              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  +              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  +              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  +            </table>
  +  	      </div>
  +  	    </div>
  +      </page:body>
  +    </page:page>
  +  </xsl:template>
  +  
  +  <xsl:template match="rc:file-reserved-checkin-exception">
  +    <page:page>
  +      <page:title>File Reserved Checkin Exception</page:title>
  +      <page:body>
  + 	    <div class="lenya-box">
  +          <div class="lenya-box-title">File not checked in yet</div>
  +    	  <div class="lenya-box-body">
  +	        <p> The resource has already been checked out:
  +            </p>
  +            <table>
  +              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  +              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  +              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  +            </table>
  +  	      </div>
  +  	    </div>
  +      </page:body>
  +    </page:page>
  +  </xsl:template>
  +
  +
  +  <xsl:template match="rc:generic-exception">
  +    <page:page>
  +      <page:title>Generic Exception</page:title>
  +      <page:body>
  + 	    <div class="lenya-box">
  +	    <div class="lenya-box-title">Generic Exception</div>
  +	      <div class="lenya-box-body">
  +            <p>
  +            Check the log files.
  +            </p>
  +            <table>
  +              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  +            </table>
  +       	  </div>
  +  	    </div>
  +      </page:body>
  +    </page:page>
  +  </xsl:template>
  +
  +</xsl:stylesheet>
  
  
  
  1.11      +0 -1      cocoon-lenya/src/webapp/lenya/xslt/rc/rollback.xsl
  
  Index: rollback.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/rc/rollback.xsl,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- rollback.xsl	23 Jul 2003 13:21:51 -0000	1.10
  +++ rollback.xsl	17 Nov 2003 00:09:11 -0000	1.11
  @@ -69,7 +69,6 @@
   		
   		</xsl:for-each>
   		
  -		<!--<xsl:apply-templates select="CheckIn"/>-->
   	</table>
   	</body>
   </html>
  
  
  
  1.12      +0 -9      cocoon-lenya/src/webapp/lenya/xslt/util/welcome.xsl
  
  Index: welcome.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/util/welcome.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- welcome.xsl	8 Nov 2003 14:06:05 -0000	1.11
  +++ welcome.xsl	17 Nov 2003 00:09:11 -0000	1.12
  @@ -21,15 +21,7 @@
   
   <xsl:template match="lenya:publications">
   <div class="lenya-sidebar">
  -<!--<div class="lenya-padding">-->
   <div class="lenya-sidebar-heading">Publications</div>
  -<!--
  -<p>
  -We are working on a catalog of sample publications. The idea is that an
  -"integrator" can pull out an appropriate publication and reuse it for building
  -efficiently its own publication. The <a href="docs/tutorial/index.html">tutorial</a> describes how to do that.
  -</p>
  --->
   <xsl:for-each select="lenya:publication">
     <xsl:choose>
       <xsl:when test="lenya:XPSEXCEPTION">
  @@ -55,7 +47,6 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:for-each>
  -<!--</div>-->
   </div>
   </xsl:template>
   
  
  
  
  1.10      +0 -11     cocoon-lenya/src/webapp/lenya/xslt/util/page2xhtml.xsl
  
  Index: page2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/util/page2xhtml.xsl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- page2xhtml.xsl	3 Jul 2003 12:45:34 -0000	1.9
  +++ page2xhtml.xsl	17 Nov 2003 00:09:11 -0000	1.10
  @@ -51,17 +51,6 @@
             </td>
           </tr>
         </table>
  -<!--    
  -      <div>
  -        
  -      </div>
  -      <div class="lenya-header">
  -        
  -      </div>
  -      <div class="lenya-body">
  -        <xsl:copy-of select="page:body/*"/>
  -      </div>
  --->      
       </body>
     </html>
   </xsl:template>
  
  
  
  1.15      +0 -6      cocoon-lenya/src/webapp/lenya/xslt/util/publication.xsl
  
  Index: publication.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/util/publication.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- publication.xsl	6 Nov 2003 09:51:04 -0000	1.14
  +++ publication.xsl	17 Nov 2003 00:09:11 -0000	1.15
  @@ -21,17 +21,11 @@
   <ul>
     <li><a href="authoring/">Login&#160;as&#160;Editor</a></li>
     <li>Document&#160;Types</li>
  -<!--
  -  <li>Collection&#160;Types</li>
  --->
     <li><a href="tests.html">Use&#160;Cases/Tests</a></li>
     <li>Features</li>
   </ul>
   <div class="lenya-publication-item"><a href="../index.html">Other&#160;Publications</a></div>
   <div class="lenya-publication-item"><a href="../docs-new/docs/index.html">Documentation</a></div>
  -<!--
  -<div class="lenya-publication-item"><a href="../docs/index.html">Deprecated&#160;Documentation</a></div>
  --->
   <div class="lenya-publication-item"><a href="http://wiki.cocoondev.org/Wiki.jsp?page=Lenya">Wiki&#160;Documentation</a></div>
   </div>
   
  
  
  

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