/[qa]/trunk/pts/www/xsl/pts.xsl
ViewVC logotype

Diff of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1764 by zack, Fri Nov 30 22:18:53 2007 UTC revision 1765 by zack, Fri Nov 30 22:49:59 2007 UTC
# Line 207  other-to-%xx, especially % to %25... For Line 207  other-to-%xx, especially % to %25... For
207    </xsl:choose>    </xsl:choose>
208  </xsl:template>  </xsl:template>
209    
210    <xsl:template name="maintainer-email">
211      <xsl:param name="email" />
212      <a class="email" href="mailto:{$email}">
213        <img alt="[email]" src="../common/email.png" title="email" />
214      </a>
215    </xsl:template>
216    
217  <xsl:variable name="static">  <xsl:variable name="static">
218    <xsl:if test="$hasnews">    <xsl:if test="$hasnews">
219      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
# Line 313  other-to-%xx, especially % to %25... For Line 320  other-to-%xx, especially % to %25... For
320      </xsl:attribute>      </xsl:attribute>
321      <xsl:value-of select="maintainer/name"/>      <xsl:value-of select="maintainer/name"/>
322    </xsl:element>    </xsl:element>
323    [<a class="email" href="mailto:{maintainer/email}">mail</a>]    <xsl:text> </xsl:text>
324      <xsl:call-template name="maintainer-email">
325        <xsl:with-param name="email" select="maintainer/email" />
326      </xsl:call-template>
327    </td>    </td>
328    </tr>    </tr>
329    <tr class="normalrow">    <tr class="normalrow">
# Line 330  other-to-%xx, especially % to %25... For Line 340  other-to-%xx, especially % to %25... For
340          </xsl:attribute>          </xsl:attribute>
341          <xsl:value-of select="name"/>          <xsl:value-of select="name"/>
342        </xsl:element>        </xsl:element>
343        [<a class="email" href="mailto:{email}">mail</a>]<br/>        <xsl:text> </xsl:text>
344          <xsl:call-template name="maintainer-email">
345            <xsl:with-param name="email" select="email" />
346          </xsl:call-template>
347          <br />
348      </xsl:for-each>      </xsl:for-each>
349    </xsl:if>    </xsl:if>
350    <xsl:if test="not(uploaders)">    <xsl:if test="not(uploaders)">

Legend:
Removed from v.1764  
changed lines
  Added in v.1765

  ViewVC Help
Powered by ViewVC 1.1.5