forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest status.xml
Date Thu, 19 Jun 2003 10:51:50 GMT
jefft       2003/06/19 03:51:50

  Modified:    src/resources/skins/common/xslt/html document2html.xsl
               src/resources/conf sitemap.xmap
               .        status.xml
  Log:
  Switch off email address obfuscation, and make it configurable with a flag
  
  Revision  Changes    Path
  1.19      +3 -2      xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- document2html.xsl	9 Jun 2003 10:27:40 -0000	1.18
  +++ document2html.xsl	19 Jun 2003 10:51:49 -0000	1.19
  @@ -31,6 +31,7 @@
       
     <xsl:param name="notoc"/>
     <xsl:param name="path"/>
  +  <xsl:param name="obfuscate-mail-links" select="'false'"/>
     <!-- <xsl:include href="split.xsl"/> -->
     <xsl:include href="dotdots.xsl"/>
     <xsl:include href="pathutils.xsl"/>
  @@ -225,7 +226,7 @@
     <xsl:template match="link">
       <xsl:apply-templates select="@id"/>
       <xsl:choose>
  -      <xsl:when test="starts-with(@href, 'mailto:') and contains(@href, '@')">
  +      <xsl:when test="$obfuscate-mail-links='true' and starts-with(@href, 'mailto:')
and contains(@href, '@')">
           <xsl:variable name="mailto-1" select="substring-before(@href,'@')"/>
           <xsl:variable name="mailto-2" select="substring-after(@href,'@')"/>
             <a href="{$mailto-1}.at.{$mailto-2}">
  
  
  
  1.102     +1 -0      xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- sitemap.xmap	9 Jun 2003 10:27:39 -0000	1.101
  +++ sitemap.xmap	19 Jun 2003 10:51:49 -0000	1.102
  @@ -110,6 +110,7 @@
           <map:parameter name="isfaq" value="{notoc}"/>
           <map:parameter name="nopdf" value="{nopdf}"/>
           <map:parameter name="path" value="{path}"/>
  +        <map:parameter name="obfuscate-mail-links" value="false"/>
           <!-- Can set an alternative project skinconfig here 
           <map:parameter name="config-file" value="../../../../skinconf.xml"/>
           -->
  
  
  
  1.167     +3 -0      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.166
  retrieving revision 1.167
  diff -u -r1.166 -r1.167
  --- status.xml	12 Jun 2003 13:25:07 -0000	1.166
  +++ status.xml	19 Jun 2003 10:51:49 -0000	1.167
  @@ -24,6 +24,9 @@
   
     <changes>
       <release version="0.5-dev" date="unreleased">
  +      <action dev="JT" type="update" context="skins">
  +        Add a flag for email obfuscation, and turn it off by default.
  +      </action>
         <action dev="NKB" type="fix" context="skins">
           Fixed bug that showed the krysalis-site skin in IE browsers from 
           a remote site to start with a font size of 100. 
  
  
  

Mime
View raw message