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 2004/01/28 16:37:00 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/ac logout.xsl login.xsl

gregor      2004/01/28 07:37:00

  Modified:    src/webapp/lenya/xslt/ac logout.xsl login.xsl
  Log:
  wording improved
  
  Revision  Changes    Path
  1.11      +5 -4      cocoon-lenya/src/webapp/lenya/xslt/ac/logout.xsl
  
  Index: logout.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/ac/logout.xsl,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- logout.xsl	21 Jan 2004 14:09:29 -0000	1.10
  +++ logout.xsl	28 Jan 2004 15:36:56 -0000	1.11
  @@ -20,10 +20,7 @@
     <page:page>
       <page:title><xsl:call-template name="html-title"/></page:title>
       <page:body>
  -     <h2><xsl:value-of select="$publication_name"/></h2>
  -
        <xsl:apply-templates select="body"/>
  -
        <p style="font-size: small">
          <xsl:value-of select="$copyright"/>
        </p>
  @@ -36,8 +33,12 @@
   </xsl:template>
   
   <xsl:template name="html-title">
  -LOGOUT from <xsl:value-of select="$publication_name"/>
  +LOGOUT from the <xsl:call-template name="pubname" /> Publication
   </xsl:template>
  +
  +<xsl:template name="pubname">
  +   <xsl:value-of select="translate($publication_name, 'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
  + </xsl:template>
   
   <xsl:template match="logout">
     
  
  
  
  1.15      +5 -2      cocoon-lenya/src/webapp/lenya/xslt/ac/login.xsl
  
  Index: login.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/ac/login.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- login.xsl	21 Jan 2004 14:09:29 -0000	1.14
  +++ login.xsl	28 Jan 2004 15:36:56 -0000	1.15
  @@ -34,7 +34,7 @@
     </xsl:template>
     
     
  -  <xsl:template name="html-title">LOGIN to <xsl:value-of select="$publication_name"/></xsl:template>
  +  <xsl:template name="html-title">LOGIN to the <xsl:call-template name="pubname" /> Publication</xsl:template>
     
     
     <xsl:template match="login">
  @@ -79,7 +79,10 @@
       </div>
     </xsl:template>
     
  -  
  + <xsl:template name="pubname">
  +   <xsl:value-of select="translate($publication_name, 'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
  + </xsl:template>
  + 
     <xsl:template match="current_username">
       <br/>Current username: <xsl:apply-templates/>
     </xsl:template>
  
  
  

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