/[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 2227 by zack, Tue Jul 21 21:45:46 2009 UTC revision 2718 by hertzog, Thu Feb 23 07:28:37 2012 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="utf-8" ?>  <?xml version="1.0" encoding="utf-8" ?>
2    
3  <!--  <!--
4  # Copyright 2002-2008 Raphaël Hertzog and others  # Copyright © 2002-2011 Raphaël Hertzog and others
5  # Copyright 2007-2008 Stefano Zacchiroli  # Copyright © 2007-2009 Stefano Zacchiroli
6  # This file is distributed under the terms of the General Public License  # This file is distributed under the terms of the General Public License
7  # version 2 or (at your option) any later version.  # version 2 or (at your option) any later version.
8  -->  -->
# Line 10  Line 10 
10  <xsl:stylesheet  <xsl:stylesheet
11    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12    xmlns="http://www.w3.org/1999/xhtml"    xmlns="http://www.w3.org/1999/xhtml"
13      xmlns:str="http://exslt.org/strings"
14    version="1.0">    version="1.0">
15    
16  <xsl:output  <xsl:output
# Line 37  Line 38 
38  <xsl:param name="hassecurity-oldstable" select="''"/>  <xsl:param name="hassecurity-oldstable" select="''"/>
39  <xsl:param name="hassecurity-stable" select="''"/>  <xsl:param name="hassecurity-stable" select="''"/>
40  <xsl:param name="hassecurity-testing" select="''"/>  <xsl:param name="hassecurity-testing" select="''"/>
41  <xsl:param name="hassecure-testing" select="''"/>  <xsl:param name="hasoldstable-updates" select="''"/>
42  <xsl:param name="hasvolatile" select="''"/>  <xsl:param name="hasstable-updates" select="''"/>
43    <xsl:param name="hasoldstable-backports" select="''"/>
44    <xsl:param name="hasstable-backports" select="''"/>
45  <xsl:param name="hasnews" select="''"/>  <xsl:param name="hasnews" select="''"/>
46  <xsl:param name="hasexcuse" select="''"/>  <xsl:param name="hasexcuse" select="''"/>
47    
# Line 46  Line 49 
49    select="document(concat('../base/', $dir, '/other.xml'))/other"/>    select="document(concat('../base/', $dir, '/other.xml'))/other"/>
50  <xsl:variable name="low-nmu-emails"  <xsl:variable name="low-nmu-emails"
51    select="document('../base/low_threshold_nmu.emails.xml')/emails"/>    select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
52    <xsl:variable name="mostrecentsuite">
53      <!-- name of the most recent suite in which the package is available
54      -->
55      <xsl:choose>
56        <xsl:when test="$hasexperimental">
57          <xsl:text>experimental</xsl:text>
58        </xsl:when>
59        <xsl:when test="$hasunstable">
60          <xsl:text>unstable</xsl:text>
61        </xsl:when>
62        <xsl:when test="$hastesting">
63          <xsl:text>testing</xsl:text>
64        </xsl:when>
65        <xsl:when test="$hasstable">
66          <xsl:text>stable</xsl:text>
67        </xsl:when>
68        <xsl:otherwise>
69          <xsl:text />
70        </xsl:otherwise>
71      </xsl:choose>
72    </xsl:variable>
73    <xsl:variable name="pooldir">
74      <xsl:if test="$mostrecentsuite != ''">
75        <xsl:value-of
76           select="document(concat('../base/', $dir, '/',
77                   $mostrecentsuite, '.xml'))/source/directory" />
78      </xsl:if>
79    </xsl:variable>
80    
81  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
82       standards-version not being up to date -->       standards-version not being up to date -->
83  <xsl:variable name="lastsv" select="'3.8.2'"/>  <xsl:variable name="lastsv" select="'3.9.3'"/>
84  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
85    
86  <!-- lintian summary -->  <!-- lintian summary -->
87  <xsl:variable name="lin_errs" select="$other/lintian/@errors" />  <xsl:variable name="lin_errs" select="$other/lintian/@errors" />
88  <xsl:variable name="lin_warns" select="$other/lintian/@warnings" />  <xsl:variable name="lin_warns" select="$other/lintian/@warnings" />
89    
90    <!-- buildd log check summary -->
91    <xsl:variable name="logcheck_errs" select="$other/logcheck/@errors" />
92    <xsl:variable name="logcheck_warns" select="$other/logcheck/@warnings" />
93    
94  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
95    
96  <xsl:template name="mk_lintian_url">  <xsl:template name="mk_lintian_url">
# Line 63  Line 98 
98    <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>    <xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>
99    <xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>    <xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>
100    
101    <xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text>    <xsl:choose>
102        <xsl:when test="$lin_errs + $lin_warns > 0">
103          <xsl:text>http://lintian.debian.org/maintainer/</xsl:text>
104        </xsl:when>
105        <xsl:otherwise>
106          <xsl:text>http://lintian.debian.org/full/</xsl:text>
107        </xsl:otherwise>
108      </xsl:choose>
109    <xsl:value-of select="$lintian_email" />    <xsl:value-of select="$lintian_email" />
110    <xsl:text>.html#</xsl:text>    <xsl:text>.html#</xsl:text>
111    <xsl:value-of select="$package" />    <xsl:value-of select="$package" />
112  </xsl:template>  </xsl:template>
113    
114  <xsl:template name="mirror">  <xsl:template name="mk_logcheck_url">
115    <xsl:text>http://ftp.debian.org/debian</xsl:text>    <xsl:text>http://buildd.debian.org/~brlink/packages/</xsl:text>
116      <xsl:value-of select="substring($package,1,1)"/>
117      <xsl:text>/</xsl:text>
118      <xsl:value-of select="$package" />
119      <xsl:text>.html</xsl:text>
120  </xsl:template>  </xsl:template>
121    
122    <xsl:variable name="mirror">http://cdn.debian.net/debian</xsl:variable>
123    <xsl:variable name="security-mirror">http://security.debian.org/debian-security</xsl:variable>
124    <xsl:variable name="backports-mirror">http://backports.debian.org/debian-backports</xsl:variable>
125    
126  <xsl:template name="outputitem">  <xsl:template name="outputitem">
127    <xsl:choose>    <xsl:choose>
128      <xsl:when test="@url">      <xsl:when test="@url">
# Line 86  Line 136 
136          <xsl:value-of select="@from"/>          <xsl:value-of select="@from"/>
137          <xsl:text>)</xsl:text></xsl:if></li>          <xsl:text>)</xsl:text></xsl:if></li>
138      </xsl:when>      </xsl:when>
139        <xsl:when test="@type='raw'">
140          <li>
141            <xsl:copy-of select="node()" />
142          </li>
143        </xsl:when>
144      <xsl:otherwise>      <xsl:otherwise>
145        <li><xsl:if test="@date">        <li><xsl:if test="@date">
146          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
# Line 131  other-to-%xx, especially % to %25... For Line 186  other-to-%xx, especially % to %25... For
186    
187  <xsl:template name="add-vcs-info">  <xsl:template name="add-vcs-info">
188    <xsl:if test="repository">    <xsl:if test="repository">
189      <tr>      <dt title="Version Control System">VCS</dt>
190        <td class="labelcell">      <dd>
191          <acronym title="Version Control System">VCS</acronym>        <xsl:if test="repository/vcs[@kind!='browser']">
192        </td>          <xsl:for-each select="repository/vcs[@kind!='browser']">
193        <td class="contentcell">            <xsl:sort select="@kind" />
194          <xsl:if test="repository/vcs[@kind!='browser']">            <a title="raw {@kind} repository" href="{@url}">
195            <xsl:for-each select="repository/vcs[@kind!='browser']">              <xsl:value-of select="@kind" />
196              <xsl:sort select="@kind" />            </a>
197              <a title="access to the raw repository" href="{@url}">            <xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
198                <xsl:value-of select="@kind" />          </xsl:for-each>
199              </a>        </xsl:if>
200              <xsl:if test="position()!=last()">        <xsl:if test="repository/vcs[@kind='browser']">
201                <xsl:text>, </xsl:text>          <xsl:text> (</xsl:text>
202              </xsl:if>          <a title="browse the repository"
203            </xsl:for-each>             href="{repository/vcs[@kind='browser']/@url}">browse</a>
         </xsl:if>  
         <xsl:if test="repository/vcs[@kind='browser']">  
           <xsl:text> (</xsl:text>  
           <a title="web-based repository browsing"  
             href="{repository/vcs[@kind='browser']/@url}">browse</a>  
204            <xsl:text>)</xsl:text>            <xsl:text>)</xsl:text>
205          </xsl:if>        </xsl:if>
206        </td>      </dd>
     </tr>  
207    </xsl:if>    </xsl:if>
208  </xsl:template>  </xsl:template>
209    
# Line 172  other-to-%xx, especially % to %25... For Line 221  other-to-%xx, especially % to %25... For
221    </xsl:variable>    </xsl:variable>
222    
223    <xsl:if test="string($dm)!='' or string($lownmu)!=''">    <xsl:if test="string($dm)!='' or string($lownmu)!=''">
224      <tr>      <div class="maint-markers">
225        <td class="labelcell">      <xsl:if test="string($dm)!=''">
226          <xsl:text>Maintenance</xsl:text>        <span class="dm-tag">
227        </td>          <a href="http://www.debian.org/vote/2007/vote_003">
228        <td class="contentcell">            <acronym title="Debian Maintainer Upload Allowed: this package can be uploaded by Debian Maintainers">DMUA</acronym>
229            </a>
230          <xsl:if test="string($dm)!=''">        </span>
231            <span class="dm-tag">      </xsl:if>
232              <a href="http://www.debian.org/vote/2007/vote_003"><acronym title="Debian Maintainer Upload Allowed: can be uploaded by Debian Maintainers">DMUA</acronym></a>      <xsl:if test="string($lownmu)!=''">
233            </span>        <xsl:if test="string($dm)!=''">
234            <xsl:text> </xsl:text>          <xsl:text>, </xsl:text>
235          </xsl:if>        </xsl:if>
236          <span class="lownmu-tag">
237          <xsl:if test="string($lownmu)!=''">          <a href="http://wiki.debian.org/LowThresholdNmu">
238            <span class="lownmu-tag">            <acronym title="maintainer agrees with Low Threshold NMU">LowNMU</acronym>
239              <a href="http://wiki.debian.org/LowThresholdNmu"><acronym          </a>
240                  title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>        </span>
241            </span>      </xsl:if>
242            <xsl:text> </xsl:text>      </div>
         </xsl:if>  
       </td>  
     </tr>  
243    </xsl:if>    </xsl:if>
244  </xsl:template>  </xsl:template>
245    
# Line 201  other-to-%xx, especially % to %25... For Line 247  other-to-%xx, especially % to %25... For
247    <xsl:param name="news" />    <xsl:param name="news" />
248    
249    <xsl:if test="count($news)>0 and string($news)!=''">    <xsl:if test="count($news)>0 and string($news)!=''">
250      <tr class="titlerow">      <div class="block news">
251      <td class="titlecell">        <a name="news" />
252        Latest news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>        <h2>news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a></h2>
253      </td></tr>        <ul id="news-list">
254      <tr class="normalrow">          <xsl:copy-of select="$news" />
255      <td class="contentcell2">        </ul>
256      <ul id="news-list"><xsl:copy-of select="$news"/></ul>      </div>
     </td>  
     </tr>  
257    </xsl:if>    </xsl:if>
258  </xsl:template>  </xsl:template>
259    
# Line 217  other-to-%xx, especially % to %25... For Line 261  other-to-%xx, especially % to %25... For
261    <xsl:param name="static" />    <xsl:param name="static" />
262    
263    <xsl:if test="count($static)>0 and string($static)!=''">    <xsl:if test="count($static)>0 and string($static)!=''">
264      <tr class="titlerow">      <div class="block static">
265      <td class="titlecell">        <a name="static" />
266      Static Information        <h2>static info</h2>
267      </td></tr>        <ul>
268      <tr class="normalrow">          <xsl:copy-of select="$static" />
269      <td class="contentcell2">        </ul>
270      <ul><xsl:copy-of select="$static"/></ul>      </div>
     </td>  
     </tr>  
271    </xsl:if>    </xsl:if>
272  </xsl:template>  </xsl:template>
273    
 <xsl:template name="categorize-srcfile">  
   <!-- used to recognize (and tag afterwards) well-known type of source package  
     components: dsc, diff, orig -->  
   <xsl:choose>  
     <xsl:when test="substring(filename,string-length(filename)-2, 3)='dsc'">  
       <xsl:text>dsc</xsl:text>  
     </xsl:when>  
     <xsl:when test="substring(filename,string-length(filename)-6, 7)='diff.gz'">  
       <xsl:text>diff</xsl:text>  
     </xsl:when>  
     <xsl:when test="substring(filename,string-length(filename)-5, 3)='tar'">  
       <xsl:text>orig</xsl:text>  
     </xsl:when>  
     <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>  
   </xsl:choose>  
 </xsl:template>  
   
274  <xsl:template name="maintainer-email">  <xsl:template name="maintainer-email">
275    <xsl:param name="email" />    <xsl:param name="email" />
276    <a class="email" href="mailto:{$email}">    <a class="email" href="mailto:{$email}">
# Line 254  other-to-%xx, especially % to %25... For Line 279  other-to-%xx, especially % to %25... For
279  </xsl:template>  </xsl:template>
280    
281  <xsl:template name="general-information">  <xsl:template name="general-information">
282    <tr class="titlerow">    <div class="block info">
283      <td class="titlecell" colspan="2">General information</td>      <a name="general" />
284    </tr>      <h2>general</h2>
285    <tr class="normalrow">      <dl>
286      <td class="labelcell">Latest version</td>        <dt>source</dt>
287      <td class="contentcell">        <dd>
288        <span id="latest_version"><xsl:value-of select="version"/></span>          <a href="http://packages.debian.org/src:{$package}">
289      </td>            <xsl:value-of select="$package" />
290    </tr>          </a>
291    <xsl:if test="@release!='unstable'">          (<span id="priority" title="priority">
292      <tr class="normalrow">            <small><xsl:value-of select="priority"/></small>
293        <td class="labelcell">Distribution</td>          </span>,
294        <td class="contentcell"><xsl:value-of select="@release"/></td>          <span id="section" title="section">
295      </tr>            <small><xsl:value-of select="section"/></small>
296    </xsl:if>          </span>)
297    <tr class="normalrow">        </dd>
298      <td class="labelcell">Maintainer</td>  
299      <td class="maintainer contentcell">        <dt>version</dt>
300        <xsl:element name="a">        <dd>
301          <xsl:attribute name="href">          <span id="latest_version"><xsl:value-of select="version"/></span>
302            <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>        </dd>
303            <xsl:call-template name="escape-name">  
304              <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>        <xsl:if test="@release!='unstable'">
305            </xsl:call-template>          <dt>distro</dt>
306          </xsl:attribute>          <dd><xsl:value-of select="@release"/></dd>
307          <span class="name"><xsl:value-of select="maintainer/name"/></span>        </xsl:if>
308        </xsl:element>  
309        <xsl:text> </xsl:text>        <dt title="Maintainer and Uploaders">maint</dt>
310        <xsl:call-template name="maintainer-email">        <dd class="maintainer">
311          <xsl:with-param name="email" select="maintainer/email" />          <xsl:element name="a">
312        </xsl:call-template>            <xsl:attribute name="href">
313      </td>              <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
314    </tr>              <xsl:call-template name="escape-name">
315    <xsl:if test="uploaders">                <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
316      <tr class="normalrow">              </xsl:call-template>
317        <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/pkgs.html#collaborative-maint">Uploaders</a></td>            </xsl:attribute>
318        <td class="uploaders contentcell">            <span class="name" title="maintainer">
319          <xsl:for-each select="uploaders/item">              <xsl:value-of select="maintainer/name"/>
           <span class="uploader">  
             <xsl:element name="a">  
               <xsl:attribute name="href">  
                 <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>  
                 <xsl:call-template name="escape-name">  
                   <xsl:with-param name="text"><xsl:value-of select="email"/></xsl:with-param>  
                 </xsl:call-template>  
               </xsl:attribute>  
               <span class="name"><xsl:value-of select="name"/></span>  
             </xsl:element>  
             <xsl:text> </xsl:text>  
             <xsl:call-template name="maintainer-email">  
               <xsl:with-param name="email" select="email" />  
             </xsl:call-template>  
320            </span>            </span>
321            <br />          </xsl:element>
322          </xsl:for-each>          <xsl:if test="uploaders">
323      </td></tr>            <xsl:for-each select="uploaders/item">
324    </xsl:if>              <xsl:text>, </xsl:text>
325    <xsl:call-template name='add-maintenance-info'>              <span class="uploader">
326      <xsl:with-param name="email" select="maintainer/email" />                <small>
327    </xsl:call-template>                <xsl:element name="a">
328    <tr class="normalrow">                  <xsl:attribute name="href">
329      <xsl:variable name='stdver' select="standards-version" />                    <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
330      <td class="labelcell">Conforms to</td>                    <xsl:call-template name="escape-name">
331      <td class="contentcell">                      <xsl:with-param name="text">
332        <a title="Debian Policy Manual (version: {$stdver})"                        <xsl:value-of select="email"/>
333          href="http://www.debian.org/doc/debian-policy/">                      </xsl:with-param>
334          <span id="standards_version"><xsl:value-of select="$stdver"/></span>                    </xsl:call-template>
335        </a>                  </xsl:attribute>
336      </td>                  <span class="name" title="uploader">
337    </tr>                    <xsl:value-of select="name"/>
338    <tr class="normalrow">                  </span>
339      <td class="labelcell">Priority</td>                </xsl:element>
340      <td class="contentcell">                <xsl:text> (u)</xsl:text>
341        <span id="priority"><xsl:value-of select="priority"/></span>                </small>
342      </td>              </span>
343    </tr>            </xsl:for-each>
344    <tr class="normalrow">          </xsl:if>
345      <td class="labelcell">Section</td>          <xsl:call-template name='add-maintenance-info'>
346      <td class="contentcell">            <xsl:with-param name="email" select="maintainer/email" />
347        <span id="section"><xsl:value-of select="section"/></span>          </xsl:call-template>
348      </td>        </dd>
349    </tr>  
350    <xsl:call-template name='add-vcs-info' />        <xsl:if test="architecture!='any' and architecture!='all'">
351    <xsl:if test="architecture!='any' and architecture!='all'">          <dt>arch</dt>
352      <tr class="normalrow">          <dd><xsl:value-of select="architecture"/></dd>
353        <td class="labelcell">Architecture</td>        </xsl:if>
354        <td class="contentcell"><xsl:value-of select="architecture"/></td>  
355      </tr>        <dt title="Standards-Version">std-ver</dt>
356    </xsl:if>        <dd>
357            <span id="standards_version">
358              <xsl:value-of select="standards-version"/>
359            </span>
360          </dd>
361    
362          <xsl:call-template name='add-vcs-info' />
363        </dl>
364      </div>
365  </xsl:template>  </xsl:template>
366    
367  <xsl:template name="bugs-count">  <xsl:template name="bugs-count">
368    <tr class="titlerow">    <div class="block bugs">
369      <td class="titlecell" colspan="2">Bugs count</td>      <a name="bugs" />
370    </tr>      <h2>bugs</h2>
371    <tr class="normalrow" id="bugs_all">      <dl>
372      <td class="labelcell">All bugs        <dt id="bugs_all">
373         <xsl:element name="a">          all
374          <xsl:attribute name="href">          <xsl:element name="a">
           <xsl:text>http://people.debian.org/~glandium/bts/</xsl:text>  
           <xsl:value-of select="substring($package, 1, 1)"/>  
           <xsl:text>/</xsl:text>  
           <xsl:value-of select="$escaped-package" />  
           <xsl:text>.png</xsl:text>  
         </xsl:attribute>  
         <xsl:attribute name="style">font-weight: normal</xsl:attribute>  
         <xsl:text>(graph)</xsl:text>  
       </xsl:element>  
     </td>  
     <td class="contentcell">  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>  
           <xsl:value-of select="$escaped-package" />  
         </xsl:attribute>  
         <xsl:if test="$hasother">  
           <span class="bugcount" title="all">  
             <xsl:value-of select="$other/bugs/@all"/>  
           </span>  
         </xsl:if>  
       </xsl:element>  
       <xsl:if test="$hasother and $other/bugs/@all_m">  
         (<xsl:element name="a">  
375            <xsl:attribute name="href">            <xsl:attribute name="href">
376              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>              <xsl:text>http://qa.debian.org/data/bts/graphs/</xsl:text>
377              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$dir"/>
378                <xsl:text>.png</xsl:text>
379            </xsl:attribute>            </xsl:attribute>
380            <xsl:value-of select="$other/bugs/@all_m"/>            <xsl:attribute name="title">bug history graph</xsl:attribute>
381          </xsl:element>)            <img alt="bug history graph" src="../common/bug-graph.png" />
382        </xsl:if>          </xsl:element>
383      </td>        </dt>
384    </tr>        <dd>
385    <tr class="normalrow" id="bugs_rc">          <xsl:element name="a">
     <td class="labelcell"><span class="indented"><acronym title="Release Critical">RC</acronym> bugs</span></td>  
     <td class="contentcell">  
       <xsl:element name="a">  
         <xsl:attribute name="href">  
           <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>  
           <xsl:value-of select="$escaped-package" />  
           <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=no</xsl:text>  
         </xsl:attribute>  
         <xsl:if test="$hasother">  
           <span class="bugcount" title="rc">  
             <xsl:value-of select="$other/bugs/@rc"/>  
           </span>  
         </xsl:if>  
       </xsl:element>  
       <xsl:if test="$hasother and $other/bugs/@rc_m">  
         (<xsl:element name="a">  
386            <xsl:attribute name="href">            <xsl:attribute name="href">
387              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&amp;src=</xsl:text>
388              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$escaped-package" />
             <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=yes</xsl:text>  
389            </xsl:attribute>            </xsl:attribute>
390            <xsl:value-of select="$other/bugs/@rc_m"/>            <xsl:if test="$hasother">
391          </xsl:element>)              <span class="bugcount" title="all">
392        </xsl:if>                <xsl:value-of select="$other/bugs/@all"/>
393      </td>              </span>
394    </tr>            </xsl:if>
395    <tr class="normalrow" id="bugs_in">          </xsl:element>
396      <td class="labelcell"><span class="indented"><acronym title="Important and Normal">I&amp;N</acronym> bugs</span></td>          <xsl:if test="$hasother and $other/bugs/@all_m">
397      <td class="contentcell">            (<xsl:element name="a">
398        <xsl:element name="a">              <xsl:attribute name="href">
399          <xsl:attribute name="href">                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&amp;src=</xsl:text>
400            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>                <xsl:value-of select="$escaped-package" />
401            <xsl:value-of select="$escaped-package" />              </xsl:attribute>
402            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=no</xsl:text>              <xsl:value-of select="$other/bugs/@all_m"/>
403          </xsl:attribute>            </xsl:element>)
         <xsl:if test="$hasother">  
           <span class="bugcount" title="in">  
             <xsl:value-of select="$other/bugs/@normal"/>  
           </span>  
404          </xsl:if>          </xsl:if>
405        </xsl:element>        </dd>
406        <xsl:if test="$hasother and $other/bugs/@normal_m">        <dt id="bugs_rc" title="Release Critical">
407          (<xsl:element name="a">          <span class="indented">RC</span>
408          </dt>
409          <dd>
410            <xsl:element name="a">
411            <xsl:attribute name="href">            <xsl:attribute name="href">
412              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
413              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$escaped-package" />
414              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=no</xsl:text>
415            </xsl:attribute>            </xsl:attribute>
416            <xsl:value-of select="$other/bugs/@normal_m"/>            <xsl:if test="$hasother">
417          </xsl:element>)              <span class="bugcount" title="rc">
418        </xsl:if>                <xsl:value-of select="$other/bugs/@rc"/>
419      </td>              </span>
420    </tr>            </xsl:if>
421    <tr class="normalrow" id="bugs_mw">          </xsl:element>
422      <td class="labelcell"><span class="indented"><acronym title="Minor and Wishlist">M&amp;W</acronym> bugs</span></td>          <xsl:if test="$hasother and $other/bugs/@rc_m">
423      <td class="contentcell">            (<xsl:element name="a">
424        <xsl:element name="a">              <xsl:attribute name="href">
425          <xsl:attribute name="href">                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
426            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>                <xsl:value-of select="$escaped-package" />
427            <xsl:value-of select="$escaped-package" />                <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious&amp;repeatmerged=yes</xsl:text>
428            <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=no</xsl:text>              </xsl:attribute>
429          </xsl:attribute>              <xsl:value-of select="$other/bugs/@rc_m"/>
430          <xsl:if test="$hasother">            </xsl:element>)
           <span class="bugcount" title="mw">  
             <xsl:value-of select="$other/bugs/@wishlist"/>  
           </span>  
431          </xsl:if>          </xsl:if>
432        </xsl:element>        </dd>
433        <xsl:if test="$hasother and $other/bugs/@wishlist_m">        <dt id="bugs_in" title="Important and Normal">
434          (<xsl:element name="a">          <span class="indented">I&amp;N</span>
435          </dt>
436          <dd>
437            <xsl:element name="a">
438            <xsl:attribute name="href">            <xsl:attribute name="href">
439              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
440              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$escaped-package" />
441              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=no</xsl:text>
442            </xsl:attribute>            </xsl:attribute>
443            <xsl:value-of select="$other/bugs/@wishlist_m"/>            <xsl:if test="$hasother">
444          </xsl:element>)              <span class="bugcount" title="in">
445        </xsl:if>                <xsl:value-of select="$other/bugs/@normal"/>
446      </td>              </span>
447    </tr>            </xsl:if>
448    <tr class="normalrow" id="bugs_fp">          </xsl:element>
449      <td class="labelcell"><span class="indented"><acronym title="Fixed and Pending">F&amp;P</acronym> bugs</span></td>          <xsl:if test="$hasother and $other/bugs/@normal_m">
450      <td class="contentcell">            (<xsl:element name="a">
451        <xsl:element name="a">              <xsl:attribute name="href">
452          <xsl:attribute name="href">                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
453            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>                <xsl:value-of select="$escaped-package" />
454            <xsl:value-of select="$escaped-package" />                <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal&amp;repeatmerged=yes</xsl:text>
455            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>              </xsl:attribute>
456          </xsl:attribute>              <xsl:value-of select="$other/bugs/@normal_m"/>
457          <xsl:if test="$hasother">            </xsl:element>)
           <span class="bugcount" title="fp">  
             <xsl:value-of select="$other/bugs/@fixed"/>  
           </span>  
458          </xsl:if>          </xsl:if>
459        </xsl:element>        </dd>
460        <xsl:if test="$hasother and $other/bugs/@fixed_m">        <dt id="bugs_mw" title="Minor and Wishlist">
461          (<xsl:element name="a">          <span class="indented">M&amp;W</span>
462          </dt>
463          <dd>
464            <xsl:element name="a">
465            <xsl:attribute name="href">            <xsl:attribute name="href">
466              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
467              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$escaped-package" />
468              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=no</xsl:text>
469            </xsl:attribute>            </xsl:attribute>
470            <xsl:value-of select="$other/bugs/@fixed_m"/>            <xsl:if test="$hasother">
471          </xsl:element>)              <span class="bugcount" title="mw">
472        </xsl:if>                <xsl:value-of select="$other/bugs/@wishlist"/>
473      </td>              </span>
474    </tr>            </xsl:if>
475    <xsl:if test="$other/bugs/@gift > 0">          </xsl:element>
476      <tr class="normalrow" id="bugs_gift">          <xsl:if test="$hasother and $other/bugs/@wishlist_m">
477        <td class="labelcell"><span class="indented"><a            (<xsl:element name="a">
478              href="http://wiki.debian.org/qa.debian.org/GiftTag">Gift</a>              <xsl:attribute name="href">
479            bugs</span></td>                <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
480        <td class="contentcell">                <xsl:value-of select="$escaped-package" />
481                  <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist&amp;repeatmerged=yes</xsl:text>
482                </xsl:attribute>
483                <xsl:value-of select="$other/bugs/@wishlist_m"/>
484              </xsl:element>)
485            </xsl:if>
486          </dd>
487          <dt id="bugs_fp" title="Fixed and Pending">
488            <span class="indented">F&amp;P</span>
489          </dt>
490          <dd>
491          <xsl:element name="a">          <xsl:element name="a">
492            <xsl:attribute name="href">            <xsl:attribute name="href">
493              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
494              <xsl:value-of select="$escaped-package" />              <xsl:value-of select="$escaped-package" />
495              <xsl:text>&amp;users=debian-qa@lists.debian.org;tag=gift</xsl:text>              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=no</xsl:text>
496            </xsl:attribute>            </xsl:attribute>
497            <span class="bugcount" title="gift">            <xsl:if test="$hasother">
498              <xsl:value-of select="$other/bugs/@gift" />              <span class="bugcount" title="fp">
499            </span>                <xsl:value-of select="$other/bugs/@fixed"/>
500                </span>
501              </xsl:if>
502          </xsl:element>          </xsl:element>
503        </td>          <xsl:if test="$hasother and $other/bugs/@fixed_m">
504      </tr>            (<xsl:element name="a">
505    </xsl:if>              <xsl:attribute name="href">
506                  <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
507                  <xsl:value-of select="$escaped-package" />
508                  <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed&amp;repeatmerged=yes</xsl:text>
509                </xsl:attribute>
510                <xsl:value-of select="$other/bugs/@fixed_m"/>
511              </xsl:element>)
512            </xsl:if>
513          </dd>
514          <xsl:if test="$other/bugs/@gift &gt; 0">
515            <dt id="bugs_gift">
516              <span class="indented">
517                <a href="http://wiki.debian.org/qa.debian.org/GiftTag">gift</a>
518              </span>
519            </dt>
520            <dd>
521              <xsl:element name="a">
522                <xsl:attribute name="href">
523                  <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
524                  <xsl:value-of select="$escaped-package" />
525                <xsl:text>&amp;users=debian-qa@lists.debian.org;tag=gift</xsl:text>
526                </xsl:attribute>
527                <span class="bugcount" title="gift">
528                  <xsl:value-of select="$other/bugs/@gift" />
529                </span>
530              </xsl:element>
531            </dd>
532          </xsl:if>
533        </dl>
534      </div>
535  </xsl:template>  </xsl:template>
536    
537  <xsl:template name="pts-subscription">  <xsl:template name="pts-subscription">
538    <tr class="titlerow">    <!-- <acronym title="Package Tracking System">PTS</acronym> subscription -->
539      <td class="titlecell" colspan="2">    <!-- <tr class="normalrow"> -->
540        <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/resources.html#pkg-tracking-system"><acronym title="Package Tracking System">PTS</acronym></a> subscription    <!--   <td class="labelcell">Subscribers count</td> -->
541    </td></tr>    <!--   <td class="contentcell"><xsl:if test="$hasother"> -->
542    <tr class="normalrow">    <!--  <xsl:value-of select="$other/pts/@count"/> -->
543      <td class="labelcell">Subscribers count</td>    <!--   </xsl:if></td> -->
544      <td class="contentcell"><xsl:if test="$hasother">    <!-- </tr> -->
545          <xsl:value-of select="$other/pts/@count"/>    <form method="post" action="/cgi-bin/pts.cgi">
546      </xsl:if></td>      <p>
547    </tr>        <input type="hidden" name="package" value="{$package}"/>
548    <tr class="normalrow">        subscribe to this package<br />
549      <td class="contentcell" colspan="2">        <input type="text" name="email" size="10" value="email"
550        <form method="post" action="/cgi-bin/pts.cgi">               onfocus="if(email.value=='your email'){{email.value=''}}"/>
551          <p>        <select name="what">
552            <input type="hidden" name="package" value="{$package}"/>          <option value="subscribe">sub</option>
553            <select name="what">          <option value="unsubscribe">unsub</option>
554              <option value="subscribe">Subscribe</option>          <option value="advanced">opts</option>
555              <option value="unsubscribe">Unsubscribe</option>        </select>
556              <option value="advanced">Advanced mode</option>        <input type="submit" name="submit" value="go"/>
557            </select>      </p>
558            <input type="text" name="email" size="15" value="your email"    </form>
             onfocus="if(email.value=='your email'){{email.value=''}}"/>  
           <input type="submit" name="submit" value="Send"/>  
         </p>  
       </form>  
     </td>  
   </tr>  
559  </xsl:template>  </xsl:template>
560    
561  <xsl:template name="binary-packages">  <xsl:template name="binary-packages">
562    <tr class="titlerow">    <div class="block binaries">
563      <td class="titlecell" colspan="2">Binary packages</td>      <a name="binaries" />
564    </tr>      <h2>binaries</h2>
565    <tr class="normalrow">      <ul>
566      <td class="normalcell" colspan="2" style="text-align: left">        <xsl:for-each select="binary/item">
567        <ul>          <xsl:sort select="text()"/>
568          <xsl:for-each select="binary/item">          <xsl:variable name="pkg" select="text()"/>
569            <xsl:sort select="text()"/>          <xsl:variable name="tooltip"
570            <xsl:variable name="pkg" select="text()"/>                        select="concat($pkg, ': ',
571            <xsl:variable name="tooltip"                                $other/descriptions/shortdesc[@package=$pkg])" />
572              select="concat($pkg, ': ',          <li class="binpkg">
573                  $other/descriptions/shortdesc[@package=$pkg])" />            <a class="binpkg" title="{$tooltip}"
574            <li class="binpkg">               href="http://packages.debian.org/{text()}">
575              <a class="binpkg" title="{$tooltip}"              <span class="binpkg"><xsl:value-of select="text()"/></span>
576                 href="http://packages.debian.org/{text()}">            </a>
577                <span class="binpkg"><xsl:value-of select="text()"/></span>            <span style="font-size: 70%">
578              </a>              (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
579              <span style="font-size: 70%">              <xsl:element name="a">
580                (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:                <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
581                  <xsl:attribute name="href">
582                <xsl:element name="a">                  <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
583                  <xsl:attribute name="title">critical, grave and serious</xsl:attribute>                  <xsl:call-template name="escape-name">
584                  <xsl:attribute name="href">                    <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
585                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>                  </xsl:call-template>
586                    <xsl:call-template name="escape-name">                  <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious</xsl:text>
587                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>                </xsl:attribute>
588                    </xsl:call-template>                <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
589                    <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious</xsl:text>              </xsl:element>,
590                  </xsl:attribute>              <xsl:element name="a">
591                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>                <xsl:attribute name="title">important and normal</xsl:attribute>
592                </xsl:element>,                <xsl:attribute name="href">
593                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
594                <xsl:element name="a">                  <xsl:call-template name="escape-name">
595                  <xsl:attribute name="title">important and normal</xsl:attribute>                    <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
596                  <xsl:attribute name="href">                  </xsl:call-template>
597                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>                  <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal</xsl:text>
598                    <xsl:call-template name="escape-name">                </xsl:attribute>
599                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>                <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
600                    </xsl:call-template>              </xsl:element>,
601                    <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal</xsl:text>              <xsl:element name="a">
602                  </xsl:attribute>                <xsl:attribute name="title">wishlist and minor</xsl:attribute>
603                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>                <xsl:attribute name="href">
604                </xsl:element>,                  <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
605                    <xsl:call-template name="escape-name">
606                <xsl:element name="a">                    <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
607                  <xsl:attribute name="title">wishlist and minor</xsl:attribute>                  </xsl:call-template>
608                  <xsl:attribute name="href">                  <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist</xsl:text>
609                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>                </xsl:attribute>
610                    <xsl:call-template name="escape-name">                <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
611                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>              </xsl:element>,
612                    </xsl:call-template>              <xsl:element name="a">
613                    <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist</xsl:text>                <xsl:attribute name="title">pending and fixed</xsl:attribute>
614                  </xsl:attribute>                <xsl:attribute name="href">
615                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>                  <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
616                </xsl:element>,                  <xsl:call-template name="escape-name">
617                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
618                <xsl:element name="a">                  </xsl:call-template>
619                  <xsl:attribute name="title">pending and fixed</xsl:attribute>                  <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
620                  <xsl:attribute name="href">                </xsl:attribute>
621                    <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>                <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
622                    <xsl:call-template name="escape-name">              </xsl:element>)
623                      <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>            </span>
624                    </xsl:call-template>          </li>
625                    <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>        </xsl:for-each>
626                  </xsl:attribute>      </ul>
627                  <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>    </div>
               </xsl:element>)  
             </span>  
           </li>  
         </xsl:for-each>  
   </ul></td></tr>  
628  </xsl:template>  </xsl:template>
629    
630  <xsl:template name="output-version">  <xsl:template name="output-version">
# Line 630  other-to-%xx, especially % to %25... For Line 638  other-to-%xx, especially % to %25... For
638    </xsl:variable>    </xsl:variable>
639    <xsl:choose>    <xsl:choose>
640      <xsl:when test="$link='yes'">      <xsl:when test="$link='yes'">
641        <a href="http://packages.debian.org/source/{$suite}/{$package}">        <xsl:element name="a">
642          <xsl:copy-of select="$version" />          <xsl:attribute name="class">dsc</xsl:attribute>
643        </a>          <xsl:attribute name="href">
644              <xsl:choose>
645                <xsl:when test="starts-with($suite, 'security-')">
646                  <xsl:value-of select="$security-mirror"/>
647                  <xsl:text>/</xsl:text>
648                  <xsl:value-of
649                     select="document(concat('../base/', $dir, '/',
650                             $suite, '.xml'))/source/directory" />
651                </xsl:when>
652                <xsl:when test="str:replace($suite, '-backports', '') != $suite">
653                  <xsl:value-of select="$backports-mirror"/>
654                  <xsl:text>/</xsl:text>
655                  <xsl:value-of
656                     select="document(concat('../base/', $dir, '/',
657                             $suite, '.xml'))/source/directory" />
658                </xsl:when>
659                <xsl:otherwise>
660                  <xsl:value-of select="$mirror"/>
661                  <xsl:text>/</xsl:text>
662                  <xsl:value-of select="$pooldir"/>
663                </xsl:otherwise>
664              </xsl:choose>
665              <xsl:text>/</xsl:text>
666              <xsl:value-of select="document(concat('../base/', $dir, '/',
667                                    $suite, '.xml'))/source/files/item[1]/filename"/>
668            </xsl:attribute>
669            <xsl:attribute name="title">.dsc, use dget on this link to retrieve source package</xsl:attribute>
670            <img src="../common/save.png" alt="save" />
671          </xsl:element>
672          <xsl:choose>
673            <xsl:when test="starts-with($suite, 'security-')">
674              <xsl:element name="a">
675                <xsl:attribute name="href">
676                  <xsl:text>http://packages.debian.org/source/</xsl:text>
677                  <xsl:value-of select="str:replace($suite, 'security-', '')" />
678                  <xsl:text>/</xsl:text>
679                  <xsl:copy-of select="$package" />
680                </xsl:attribute>
681                <xsl:copy-of select="$version" />
682              </xsl:element>
683            </xsl:when>
684            <xsl:when test="str:replace($suite, '-backports', '') != $suite">
685              <xsl:copy-of select="$version" />
686            </xsl:when>
687            <xsl:when test="str:replace($suite, '-updates', '') != $suite">
688              <xsl:copy-of select="$version" />
689            </xsl:when>
690            <xsl:otherwise>
691              <a href="http://packages.debian.org/source/{$suite}/{$package}">
692                <xsl:copy-of select="$version" />
693              </a>
694            </xsl:otherwise>
695          </xsl:choose>
696      </xsl:when>      </xsl:when>
697      <xsl:otherwise>      <xsl:otherwise>
698        <xsl:copy-of select="$version" />        <xsl:copy-of select="$version" />
# Line 640  other-to-%xx, especially % to %25... For Line 700  other-to-%xx, especially % to %25... For
700    </xsl:choose>    </xsl:choose>
701  </xsl:template>  </xsl:template>
702    
703  <xsl:template name="available-versions">  <xsl:template name="more-info-marker">
704    <tr class="titlerow">    <xsl:param name="href" />
705      <td class="titlecell" colspan="2">    <xsl:param name="title">more information are available on an external web page</xsl:param>
706        Available versions    <a href="{$href}">
707        <small>      <img src="../common/external.png" title="{$title}" alt="..." />
708          <a href="http://qa.debian.org/madison.php?package={$package}"    </a>
709            style="font-weight: normal"  </xsl:template>
           title="madison">(more...)</a>  
       </small>  
   </td></tr>  
   
   <!-- oldstable -->  
   <xsl:if test="$hasoldstable">  
     <tr class="normalrow">  
       <td class="labelcell"><a href="http://www.debian.org/releases/etch/">Oldstable</a></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">oldstable</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   <xsl:if test="$hassecurity-oldstable">  
     <tr class="normalrow">  
       <td class="labelcell"><small>Oldstable Security Updates</small></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">security-oldstable</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   
   <!-- stable -->  
   <xsl:if test="$hasstable">  
     <tr class="normalrow">  
       <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">stable</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   <xsl:if test="$hassecurity-stable">  
     <tr class="normalrow">  
       <td class="labelcell"><small>Stable Security Updates</small></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">security-stable</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   <xsl:if test="$hasstable-proposed-updates">  
     <tr class="normalrow">  
       <td class="labelcell"><small>Stable Proposed Updates</small></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">stable-proposed-updates</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   
   <!-- testing -->  
   <xsl:if test="$hastesting">  
     <tr class="normalrow">  
       <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">testing</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   <xsl:if test="$hassecurity-testing">  
     <tr class="normalrow">  
       <td class="labelcell"><small>Testing Security Updates</small></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">security-testing</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   <xsl:if test="$hastesting-proposed-updates">  
     <tr class="normalrow">  
       <td class="labelcell"><small>Testing Proposed Updates</small></td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">testing-proposed-updates</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   
   <!-- unstable -->  
   <xsl:if test="$hasunstable">  
     <tr class="normalrow">  
       <td class="labelcell">Unstable</td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">unstable</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   
   <!-- experimental -->  
   <xsl:if test="$hasexperimental">  
     <tr class="normalrow">  
       <td class="labelcell">Experimental</td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">experimental</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
   
   <!-- secure-testing -->  
   <xsl:if test="$hassecure-testing">  
     <tr class="normalrow">  
       <td class="labelcell">Secure testing</td>  
       <td class="contentcell">  
         <xsl:call-template name="output-version">  
           <xsl:with-param name="suite">secure-testing</xsl:with-param>  
           <xsl:with-param name="link">no</xsl:with-param>  
         </xsl:call-template>  
       </td>  
     </tr>  
   </xsl:if>  
710    
711    <!-- volatile -->  <xsl:template name="available-versions">
712    <xsl:if test="$hasvolatile">    <div class="block versions">
713      <tr class="normalrow">      <a name="versions" />
714        <td class="labelcell">Volatile</td>      <h2>versions
715        <td class="contentcell">        <xsl:call-template name="more-info-marker">
716          <xsl:call-template name="output-version">          <xsl:with-param name="href">
717            <xsl:with-param name="suite">volatile</xsl:with-param>            <xsl:text>http://qa.debian.org/madison.php?package=</xsl:text>
718            <xsl:with-param name="link">no</xsl:with-param>            <xsl:value-of select="$package" />
719          </xsl:call-template>          </xsl:with-param>
720        </td>          <xsl:with-param name="title">more versions can be listed by madison</xsl:with-param>
721      </tr>        </xsl:call-template>
722    </xsl:if>        <xsl:text> </xsl:text>
723          <xsl:call-template name="more-info-marker">
724            <xsl:with-param name="href">http://snapshot.debian.org/package/<xsl:value-of select="package" />/</xsl:with-param>
725            <xsl:with-param name="title">old versions available from snapshot.debian.org</xsl:with-param>
726          </xsl:call-template>
727          <a class="dsc" href="{$mirror}/{$pooldir}">
728            <img src="../common/folder.png" alt="pool" title="pool directory" />
729          </a>
730        </h2>
731    
732    <!-- waiting in NEW -->      <dl>
733    <xsl:if test="$hasother and $other/@new_version">        <xsl:if test="$hasoldstable">
734      <tr class="normalrow">          <dt title="old stable release">oldstable</dt>
735        <td class="labelcell">          <dd>
736          <a title="Some versions of this package are waiting for FTP master's review"            <xsl:call-template name="output-version">
737             href="http://ftp-master.debian.org/new.html">NEW queue</a></td>              <xsl:with-param name="suite">oldstable</xsl:with-param>
738        <td class="contentcell">            </xsl:call-template>
739          <xsl:value-of select="$other/@new_version" />          </dd>
740        </td>        </xsl:if>
741      </tr>        <xsl:if test="$hassecurity-oldstable">
742    </xsl:if>          <dt title="security updates for the old stable release">old-sec</dt>
743            <dd>
744              <xsl:call-template name="output-version">
745                <xsl:with-param name="suite">security-oldstable</xsl:with-param>
746              </xsl:call-template>
747            </dd>
748          </xsl:if>
749          <xsl:if test="$hasoldstable-updates">
750            <dt title="updates for the old stable release">old-upd</dt>
751            <dd>
752              <xsl:call-template name="output-version">
753                <xsl:with-param name="suite">oldstable-updates</xsl:with-param>
754              </xsl:call-template>
755            </dd>
756          </xsl:if>
757          <xsl:if test="$hasoldstable-backports">
758            <dt title="backports for the old stable release">old-bpo</dt>
759            <dd>
760              <xsl:call-template name="output-version">
761                <xsl:with-param name="suite">oldstable-backports</xsl:with-param>
762              </xsl:call-template>
763            </dd>
764          </xsl:if>
765          <xsl:if test="$hasstable">
766            <dt>stable</dt>
767            <dd>
768              <xsl:call-template name="output-version">
769                <xsl:with-param name="suite">stable</xsl:with-param>
770              </xsl:call-template>
771            </dd>
772          </xsl:if>
773          <xsl:if test="$hassecurity-stable">
774            <dt title="security updates for the stable release">stable-sec</dt>
775            <dd>
776              <xsl:call-template name="output-version">
777                <xsl:with-param name="suite">security-stable</xsl:with-param>
778              </xsl:call-template>
779            </dd>
780          </xsl:if>
781          <xsl:if test="$hasstable-updates">
782            <dt title="updates for the stable release">stable-upd</dt>
783            <dd>
784              <xsl:call-template name="output-version">
785                <xsl:with-param name="suite">stable-updates</xsl:with-param>
786              </xsl:call-template>
787            </dd>
788          </xsl:if>
789          <xsl:if test="$hasstable-proposed-updates">
790            <dt title="stable proposed updates">s-p-u</dt>
791            <dd>
792              <xsl:call-template name="output-version">
793                <xsl:with-param name="suite">stable-proposed-updates</xsl:with-param>
794              </xsl:call-template>
795            </dd>
796          </xsl:if>
797          <xsl:if test="$hasstable-backports">
798            <dt title="backports for the stable release">stable-bpo</dt>
799            <dd>
800              <xsl:call-template name="output-version">
801                <xsl:with-param name="suite">stable-backports</xsl:with-param>
802              </xsl:call-template>
803            </dd>
804          </xsl:if>
805          <xsl:if test="$hastesting">
806            <dt>testing</dt>
807            <dd>
808              <xsl:call-template name="output-version">
809                <xsl:with-param name="suite">testing</xsl:with-param>
810              </xsl:call-template>
811            </dd>
812          </xsl:if>
813          <xsl:if test="$hassecurity-testing">
814            <dt title="security updates for the testing release">testing-sec</dt>
815            <dd>
816              <xsl:call-template name="output-version">
817                <xsl:with-param name="suite">security-testing</xsl:with-param>
818              </xsl:call-template>
819            </dd>
820          </xsl:if>
821          <xsl:if test="$hastesting-proposed-updates">
822            <dt title="testing proposed updates">t-p-u</dt>
823            <dd>
824              <xsl:call-template name="output-version">
825                <xsl:with-param name="suite">testing-proposed-updates</xsl:with-param>
826              </xsl:call-template>
827            </dd>
828          </xsl:if>
829          <xsl:if test="$hasunstable">
830            <dt>unstable</dt>
831            <dd>
832              <xsl:call-template name="output-version">
833                <xsl:with-param name="suite">unstable</xsl:with-param>
834              </xsl:call-template>
835            </dd>
836          </xsl:if>
837          <xsl:if test="$hasexperimental">
838            <dt title="experimental release">exp</dt>
839            <dd>
840              <xsl:call-template name="output-version">
841                <xsl:with-param name="suite">experimental</xsl:with-param>
842              </xsl:call-template>
843            </dd>
844          </xsl:if>
845          <xsl:if test="$hasother and $other/@new_version">
846            <dt title="waiting in the NEW queue for FTP master review">
847              <a href="http://ftp-master.debian.org/new.html">NEW</a>
848            </dt>
849            <dd>
850              <xsl:value-of select="$other/@new_version" />
851            </dd>
852          </xsl:if>
853        </dl>
854      </div>
855  </xsl:template>  </xsl:template>
856    
857  <xsl:template name="ubuntu">  <xsl:template name="ubuntu">
   <!-- Patches list [FG] -->  
858    <xsl:if test="$other/@ubuntu='yes'">    <xsl:if test="$other/@ubuntu='yes'">
859      <tr class="titlerow">      <div class="block ubuntu">
860        <td class="titlecell" colspan="2"><a        <a name="ubuntu" />
861            title="Information about Ubuntu for Debian Developers"        <h2>ubuntu
862            href="https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers">Ubuntu ...</a>          <img src="../common/ubuntu.png" alt="ubuntu" />
863        </td>          <xsl:text> </xsl:text>
864      </tr>          <xsl:call-template name="more-info-marker">
865      <tr>            <xsl:with-param name="href">https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers</xsl:with-param>
866        <td class="contentcell" colspan="2" style="text-align: left">            <xsl:with-param name="title">Information about Ubuntu for Debian Developers</xsl:with-param>
867          <ul>          </xsl:call-template>
868              <li>        </h2>
                     Version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>  
             </li>  
           <xsl:if test="$other/ubuntu/patch">  
             <li>  
                     <a href="{$other/ubuntu/patch/@url}">Patch for version <xsl:value-of select="$other/ubuntu/patch/@version"/></a>  
             </li>  
           </xsl:if>  
           <xsl:if test="$other/ubuntu/bugs">  
             <li>  
                     <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/> open bugs</a>  
             </li>  
           </xsl:if>  
         </ul>  
       </td>  
     </tr>  
   </xsl:if>  
 </xsl:template>  
   
 <xsl:template name="other-links">  
   <tr class="titlerow">  
     <td class="titlecell" colspan="2">  
       Other links  
   </td></tr>  
   <tr>  
     <td class="contentcell" colspan="2" style="text-align: left">  
869        <ul>        <ul>
         <xsl:if test="homepage">  
           <li> <a href="{homepage}">Upstream homepage</a> </li>  
         </xsl:if>  
870          <li>          <li>
871            <xsl:element name="a">            version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>
             <xsl:attribute name="href">  
               <xsl:text>http://packages.debian.org/changelogs/</xsl:text>  
               <xsl:value-of select="directory"/>  
               <xsl:text>/current/changelog</xsl:text>  
             </xsl:attribute>  
             <xsl:text>Changelog</xsl:text>  
           </xsl:element>  
           /  
           <xsl:element name="a">  
             <xsl:attribute name="href">  
               <xsl:text>http://packages.debian.org/changelogs/</xsl:text>  
               <xsl:value-of select="directory"/>  
               <xsl:text>/current/copyright</xsl:text>  
             </xsl:attribute>  
             <xsl:text>Copyright</xsl:text>  
           </xsl:element>  
872          </li>          </li>
873          <xsl:if test="architecture!='all'">          <xsl:if test="$other/ubuntu/patch">
874            <li>            <li>
875              <xsl:text>Buildd: </xsl:text>              <a href="{$other/ubuntu/patch/@url}">patches for
876              <a href="http://buildd.debian.org/pkg.cgi?pkg={$escaped-package}"              <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
               title="buildd.debian.org build logs">logs</a>  
             <xsl:text>, </xsl:text>  
             <!-- <a href="http://people.debian.org/~igloo/status.php?packages={$escaped-package}"  
               title="igloo's build logs on people.debian.org">more</a> -->  
             <a href="http://buildd.debian.org/~luk/status/package.php?p={$escaped-package}"  
               title="build logs on buildd.debian.org">more</a>  
             <xsl:text>, </xsl:text>  
             <!-- <a href="http://experimental.debian.net/build.php?pkg={$escaped-package}" -->  
             <!--   title="experimental.debian.net build logs">exp</a> -->  
             <xsl:if test="$hasexperimental">  
               <a href="http://experimental.debian.net/new/package.php?p={$escaped-package}&amp;suite=experimental"  
                  title="experimental.debian.net build logs">exp</a>  
               <xsl:text>, </xsl:text>  
             </xsl:if>  
             <a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}"  
               title="debian ports build logs">ports</a>  
877            </li>            </li>
878          </xsl:if>          </xsl:if>
879          <!-- DISABLED until ddtp.debian.org is back up          <xsl:if test="$other/ubuntu/bugs">
         <li>  
           <xsl:element name="a">  
             <xsl:attribute name="href">  
               <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>  
               <xsl:call-template name="escape-name">  
                 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>  
               </xsl:call-template>  
               <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>  
             </xsl:attribute>  
             Description's translations (DDTP)  
           </xsl:element>  
         </li>  
         <xsl:if test="$other/@debconf='yes'">  
880            <li>            <li>
881              <xsl:element name="a">              <a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/>
882                <xsl:attribute name="href">              bugs</a>
883                  <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>              <xsl:if test="$other/ubuntu/bugpatches">
884                  <xsl:call-template name="escape-name">                (<a href="{$other/ubuntu/bugpatches/@url}"><xsl:value-of select="$other/ubuntu/bugpatches/@count"/>
885                    <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>                patches</a>)
                 </xsl:call-template>  
               </xsl:attribute>  
               Debconf templates's translations (DDTP)  
             </xsl:element>  
           </li>  
         </xsl:if>  
         -->  
         <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')  
           or ($hastesting and $other/debcheck/@testing='yes')  
           or ($hasstable and $other/debcheck/@stable='yes')">  
           <li>  
             Debcheck on:  
             <xsl:if test="$hasunstable">  
               <xsl:text> </xsl:text>  
               <a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$escaped-package}">unstable</a>  
             </xsl:if>  
             <xsl:if test="$hastesting">  
               <xsl:text> </xsl:text>  
               <a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$escaped-package}">testing</a>  
             </xsl:if>  
             <xsl:if test="$hasstable">  
               <xsl:text> </xsl:text>  
               <a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$escaped-package}">stable</a>  
             </xsl:if>  
           </li>  
         </xsl:if>  
         <xsl:if test="$other/@lintian='yes'">  
           <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>  
           <li>  
             <a href="{$lintian_url}">Lintian report</a>  
             <xsl:if test="$lin_errs + $lin_warns > 0">  
               <xsl:text> </xsl:text>  
               <small><span title="(errors, warnings)">(<span id="lintian_errors"><xsl:value-of select="$lin_errs" /></span>,  
                   <span id="lintian_warnings"><xsl:value-of select="$lin_warns" /></span>)</span></small>  
886              </xsl:if>              </xsl:if>
887            </li>            </li>
888          </xsl:if>          </xsl:if>
         <li>  
           <a href="http://qa.debian.org/developer.php?popcon={$escaped-package}">Popcon stats</a>  
         </li>  
         <xsl:if test="$other/@svnbuildstat='yes'">  
           <li>  
             <a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>  
           </li>  
         </xsl:if>  
889        </ul>        </ul>
890      </td>      </div>
891    </tr>    </xsl:if>
892  </xsl:template>  </xsl:template>
893    
894  <xsl:template name="package-files">  <xsl:template name="output-patch-tracker-version">
895    <tr class="titlerow">    <xsl:param name="suite" select="''" />
896      <td class="titlecell" colspan="2">Source package</td>    <xsl:param name="link" select="'yes'" />
897    </tr>    <xsl:variable name="version">
898    <tr class="titlerow">      <span class="srcversion" title="{$suite}">
899      <td class="labelcell">        <xsl:value-of select="document(concat('../base/', $dir, '/', $suite,
900        <xsl:element name="a">                              '.xml'))/source/version"/>
901          <xsl:attribute name="href">      </span>
902            <xsl:call-template name="mirror"/>    </xsl:variable>
903            <xsl:text>/</xsl:text>    <xsl:choose>
904            <xsl:value-of select="directory"/>      <xsl:when test="$link='yes'">
905            <xsl:text>/</xsl:text>        <a href="http://patch-tracker.debian.org/package/{$package}/{$version}">
906          </xsl:attribute>          <xsl:copy-of select="$version" />
907          <xsl:text>Files</xsl:text>        </a>
908        </xsl:element>      </xsl:when>
909      </td>      <xsl:otherwise>
910      <td class="contentcell" id="src_files">        <xsl:copy-of select="$version" />
911        <ul>      </xsl:otherwise>
912          <xsl:for-each select="files/item">    </xsl:choose>
913            <xsl:variable name="filetype">  </xsl:template>
914              <xsl:call-template name="categorize-srcfile" />  
915            </xsl:variable>  <xsl:template name="patch-tracker">
916            <xsl:element name="li">    <div class="block patch-tracker">
917              <xsl:attribute name="class">srcfile</xsl:attribute>      <a name="patch-tracker" />
918              <xsl:if test="string($filetype)!=''">      <h2>patch-tracker
919                <xsl:attribute name="id">          <xsl:call-template name="more-info-marker">
920                  <xsl:text>srcfile_</xsl:text>            <xsl:with-param name="href">http://patch-tracker.debian.org/package/<xsl:value-of select="package" /></xsl:with-param>
921                  <xsl:value-of select="$filetype" />            <xsl:with-param name="title">Link to patch tracker</xsl:with-param>
922                </xsl:attribute>          </xsl:call-template></h2>
923              </xsl:if>  
924              <xsl:element name="a">      <dl>
925                <xsl:attribute name="class">srcfile</xsl:attribute>        <xsl:if test="$hasoldstable">
926                <xsl:attribute name="href">          <dt title="old stable release">oldstable</dt>
927                  <xsl:call-template name="mirror"/>          <dd>
928                  <xsl:text>/</xsl:text>            <xsl:call-template name="output-patch-tracker-version">
929                  <xsl:value-of select="../../directory"/>              <xsl:with-param name="suite">oldstable</xsl:with-param>
930                  <xsl:text>/</xsl:text>            </xsl:call-template>
931                  <xsl:value-of select="filename"/>          </dd>
932                </xsl:attribute>        </xsl:if>
933                <xsl:attribute name="title">        <xsl:if test="$hasstable">
934                  <xsl:value-of select="filename" />          <dt>stable</dt>
935                  <xsl:text>: </xsl:text>          <dd>
936                  <xsl:value-of select="size"/>            <xsl:call-template name="output-patch-tracker-version">
937                  <xsl:text> bytes</xsl:text>              <xsl:with-param name="suite">stable</xsl:with-param>
938                </xsl:attribute>            </xsl:call-template>
939                <xsl:text>.</xsl:text>          </dd>
940                <xsl:value-of select="$filetype"/>        </xsl:if>
941              </xsl:element>        <xsl:if test="$hastesting">
942            </xsl:element>          <dt>testing</dt>
943          </xsl:for-each>          <dd>
944        </ul>            <xsl:call-template name="output-patch-tracker-version">
945      </td>              <xsl:with-param name="suite">testing</xsl:with-param>
946    </tr>            </xsl:call-template>
947            </dd>
948          </xsl:if>
949          <xsl:if test="$hasunstable">
950            <dt>unstable</dt>
951            <dd>
952              <xsl:call-template name="output-patch-tracker-version">
953                <xsl:with-param name="suite">unstable</xsl:with-param>
954              </xsl:call-template>
955            </dd>
956          </xsl:if>
957          <xsl:if test="$hasexperimental">
958            <dt title="experimental release">exp</dt>
959            <dd>
960              <xsl:call-template name="output-patch-tracker-version">
961                <xsl:with-param name="suite">experimental</xsl:with-param>
962              </xsl:call-template>
963            </dd>
964          </xsl:if>
965        </dl>
966      </div>
967    </xsl:template>
968    
969    <xsl:template name="other-links">
970      <div class="block links">
971        <a name="links" />
972        <h2>links</h2>
973        <ul>
974          <xsl:if test="homepage">
975            <li><a title="upstream web homepage" href="{homepage}">homepage</a></li>
976          </xsl:if>
977          <li>
978            <xsl:element name="a">
979              <xsl:attribute name="href">
980                <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
981                <xsl:value-of select="directory"/>
982                <xsl:text>/current/changelog</xsl:text>
983              </xsl:attribute>
984              <xsl:text>changelog</xsl:text>
985            </xsl:element>
986            /
987            <xsl:element name="a">
988              <xsl:attribute name="href">
989                <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
990                <xsl:value-of select="directory"/>
991                <xsl:text>/current/copyright</xsl:text>
992              </xsl:attribute>
993              <xsl:text>copyright</xsl:text>
994            </xsl:element>
995          </li>
996          <xsl:if test="architecture!='all'">
997            <li>
998              <xsl:text>buildd: </xsl:text>
999              <a href="https://buildd.debian.org/status/package.php?p={$escaped-package}"
1000                 title="buildd.debian.org build logs">logs</a>
1001              <xsl:text>, </xsl:text>
1002                   <xsl:if test="$hasexperimental">
1003                     <a href="https://buildd.debian.org/status/package.php?p={$escaped-package}&amp;suite=experimental"
1004                        title="experimental build logs">exp</a>
1005                     <xsl:text>, </xsl:text>
1006                   </xsl:if>
1007                   <a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}"
1008                      title="build logs for unofficial ports">ports</a>
1009            </li>
1010          </xsl:if>
1011          <xsl:if test="$other/@logcheck='yes'">
1012            <xsl:variable name="logcheck_url"><xsl:call-template name="mk_logcheck_url" /></xsl:variable>
1013            <li>
1014              <a title="report about issues spotted in buildd logs"
1015                 href="{$logcheck_url}">build log checks</a>
1016            </li>
1017          </xsl:if>
1018          <xsl:if test="$hasother and $other/@piuparts='yes'">
1019            <li>
1020              <a title="report about errors found while stressing package installation"
1021                 href="http://piuparts.debian.org/sid/source/{$hash}/{$package}.html">piuparts</a>
1022            </li>
1023          </xsl:if>
1024          <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
1025                        or ($hastesting and $other/debcheck/@testing='yes')
1026                        or ($hasstable and $other/debcheck/@stable='yes')">
1027            <li>
1028              debcheck:
1029              <xsl:if test="$hasunstable">
1030                <xsl:text> </xsl:text>
1031                <a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$escaped-package}">unstable</a>
1032              </xsl:if>
1033              <xsl:if test="$hastesting">
1034                <xsl:text> </xsl:text>
1035                <a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$escaped-package}">testing</a>
1036              </xsl:if>
1037              <xsl:if test="$hasstable">
1038                <xsl:text> </xsl:text>
1039                <a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$escaped-package}">stable</a>
1040              </xsl:if>
1041            </li>
1042          </xsl:if>
1043          <xsl:if test="$other/@lintian='yes'">
1044            <xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
1045            <li>
1046              <a title="report about packaging issues spotted by lintian"
1047                 href="{$lintian_url}">lintian</a>
1048              <xsl:if test="$lin_errs + $lin_warns > 0">
1049                <xsl:text> </xsl:text>
1050                <small>
1051                  (<span id="lintian_errors" title="errors"><xsl:value-of select="$lin_errs" /></span>,
1052                  <span id="lintian_warnings" title="warnings"><xsl:value-of select="$lin_warns" /></span>)
1053                </small>
1054              </xsl:if>
1055            </li>
1056          </xsl:if>
1057          <li>
1058            <a title="package popularity"
1059               href="http://qa.debian.org/popcon.php?package={$escaped-package}">popcon</a>
1060          </li>
1061          <xsl:if test="$other/@svnbuildstat='yes'">
1062            <li>
1063              <a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>
1064            </li>
1065          </xsl:if>
1066          <xsl:if test="$other/i18n/@href">
1067            <li>
1068              <a title="translation status"
1069                 href="{$other/i18n/@href}">l10n</a>
1070              <small>
1071                (<span title="completeness of Debian string translation">
1072                  <xsl:value-of select="$other/i18n/@deb" />
1073                </span>,
1074                <span title="completeness of non-Debian string translation">
1075                  <xsl:value-of select="$other/i18n/@nondeb" />
1076                </span>)
1077              </small>
1078            </li>
1079          </xsl:if>
1080          <xsl:if test="$other/@fonts='yes'">
1081            <li>
1082              <a title="fonts review" href="{$other/fonts/@href}">fonts</a>
1083            </li>
1084          </xsl:if>
1085          <li>
1086            <xsl:variable name="escaped-email">
1087              <xsl:call-template name="escape-name">
1088                <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
1089              </xsl:call-template>
1090            </xsl:variable>
1091            <a title="edit all debtags" href="http://debtags.debian.net/rep/todo/maint/{$escaped-email}#{$escaped-package}">debtags</a>
1092          </li>
1093        </ul>
1094      </div>
1095  </xsl:template>  </xsl:template>
1096    
1097  <xsl:template name="todo-list">  <xsl:template name="todo-list">
1098    <xsl:variable name="todo">    <xsl:variable name="todo">
1099        <xsl:call-template name="issue-security" />
1100      <xsl:call-template name="issue-nmu" />      <xsl:call-template name="issue-nmu" />
1101      <xsl:call-template name="issue-lintian" />      <xsl:call-template name="issue-lintian" />
1102        <xsl:call-template name="issue-logcheck" />
1103      <xsl:call-template name="issue-mentors-pending" />      <xsl:call-template name="issue-mentors-pending" />
1104      <xsl:call-template name="issue-comaintenance" />      <xsl:call-template name="issue-comaintenance" />
1105      <xsl:call-template name="issue-outdate-stdver" />      <xsl:call-template name="issue-outdate-stdver" />
1106      <xsl:call-template name="issue-new-upstream" />      <xsl:call-template name="issue-new-upstream" />
1107      <xsl:call-template name="issue-patches" />      <xsl:call-template name="issue-patches" />
1108        <xsl:call-template name="issue-l10n" />
1109        <xsl:call-template name="issue-release-goals" />
1110      <xsl:if test="$hasother">      <xsl:if test="$hasother">
1111        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
1112          <xsl:call-template name="outputitem" />          <xsl:call-template name="outputitem" />
1113        </xsl:for-each>        </xsl:for-each>
1114      </xsl:if>      </xsl:if>
1115    </xsl:variable>    </xsl:variable>
1116    
1117    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
1118      <tr class="titlerow">      <div class="block todo">
1119        <td class="titlecell" id="todo">Todo</td>        <a name="todo" />
1120      </tr>        <h2>todo</h2>
1121      <tr class="normalrow">        <ul>
1122        <td class="contentcell2"><ul><xsl:copy-of select="$todo"/></ul></td>          <xsl:copy-of select="$todo" />
1123      </tr>        </ul>
1124        </div>
1125    </xsl:if>    </xsl:if>
1126  </xsl:template>  </xsl:template>
1127    
# Line 1055  other-to-%xx, especially % to %25... For Line 1142  other-to-%xx, especially % to %25... For
1142        </xsl:for-each>        </xsl:for-each>
1143      </xsl:if>      </xsl:if>
1144    </xsl:variable>    </xsl:variable>
1145    
1146    <xsl:if test="count($problems)>0 and string($problems)!=''">    <xsl:if test="count($problems)>0 and string($problems)!=''">
1147      <tr class="titlerow">      <div class="block problems">
1148        <td class="titlecell" id="problems">Problems</td>        <a name="problems" />
1149      </tr>        <h2>problems</h2>
1150      <tr class="normalrow">        <ul>
1151        <td class="contentcell2"><ul><xsl:copy-of select="$problems"/></ul></td>          <xsl:copy-of select="$problems" />
1152      </tr>        </ul>
1153        </div>
1154    </xsl:if>    </xsl:if>
1155  </xsl:template>  </xsl:template>
1156    
1157  <xsl:template name="testing-status">  <xsl:template name="testing-status">
1158    <xsl:if test="$hasexcuse or $other/@transitions='yes'">    <xsl:if test="$hasexcuse or $other/@transitions='yes'">
1159      <tr class="titlerow">      <div class="block testing">
1160        <td class="titlecell">        <a name="testing" />
1161          Testing status        <h2>testing migration</h2>
1162      </td></tr>        <xsl:if test="$other/@transitions='yes'">
1163    </xsl:if>          <div class="warning">
1164    <xsl:if test="$other/@transitions='yes'">            <ul>
1165      <xsl:variable name="translist">              <xsl:for-each select="$other/transitions/transition">
1166        <xsl:for-each select="$other/transitions/transition">                <li>
1167          <xsl:value-of select="@name" />                <xsl:choose>
1168          <xsl:if test="position() != last()">                  <xsl:when test="@status='planned'">
1169            <xsl:text> </xsl:text>                    This package will soon be part of the <a href="http://release.debian.org/transitions/html/{@name}.html"><xsl:value-of select="@name" /></a> transition. You might want to ensure that your package is ready for it.
1170          </xsl:if>                  </xsl:when>
1171        </xsl:for-each>                  <xsl:when test="@status='ongoing'">
1172      </xsl:variable>                    This package is part of the ongoing testing transition known as <a href="http://release.debian.org/transitions/html/{@name}.html"><xsl:value-of select="@name" /></a>.
1173      <xsl:variable name="transno" select="count($other/transitions/transition)" />                    <xsl:if test="@reject!='yes'">
1174      <tr class="normalrow">                    Please avoid uploads unrelated to this transition, they would
1175        <td class="contentcell2" style="text-align: left">                    likely delay it and require supplementary work from the release
1176          <ul>                    managers. On the other hand, if your package has problems
1177            <!-- XXX unappropriate <ul>, just to make the text looks like other                    preventing it to migrate to testing, please fix them
1178              boxes, should be fixed on the CSS side (getting rid of <ul>) -->                    as soon as possible.
1179                <li>This package is part of <em><xsl:value-of select="$transno" />                    </xsl:if>
1180                    ongoing testing transition<xsl:if test="$transno != '1'">s</xsl:if>                  </xsl:when>
1181                  </em> (namely: <tt><xsl:value-of select="$translist" /></tt>). For                  <xsl:otherwise>
1182                  more information see the                  </xsl:otherwise>
1183                  <a href="http://ftp-master.debian.org/transitions.yaml">transition                </xsl:choose>
1184                    status file</a>.<br />                You can probably find supplementary information in the
1185                  <em>Uploads to unstable will be rejected</em> while transitions are                <a href="http://lists.debian.org/debian-release/">debian-release
1186                  ongoing; you might want to upload to experimental in the                archives</a> or in the corresponding
1187                  meantime, or contact <tt><a href="mailto:debian-release@lists.debian.org">debian-release</a></tt>                <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=release.debian.org@packages.debian.org;tag=transition">release.debian.org
1188                  bug</a>.
1189                  <xsl:if test="@reject='yes'">
1190                    <strong>Uploads to unstable will be rejected</strong> while
1191                    the transition is ongoing; you might want to upload to
1192                    experimental in the meantime, or
1193                    contact <tt><a href="mailto:debian-release@lists.debian.org">debian-release</a></tt>
1194                  if an upload is really necessary.                  if an upload is really necessary.
1195    
1196                  </xsl:if>
1197                </li>                </li>
1198              </ul>              </xsl:for-each>
1199            </td>            </ul>
1200          </tr>          </div>
1201        </xsl:if>        </xsl:if>
1202        <xsl:if test="$hasexcuse">        <xsl:if test="$hasexcuse">
1203          <tr class="normalrow">          <a title="reasons why the package is not moving to testing"
1204            <td class="contentcell2" style="text-align: left">             href="http://qa.debian.org/excuses.php?package={$escaped-package}">excuses</a>:
1205              <a title="reasons why the package is not moving to testing"          <ul class="testing-excuses">
1206                href="http://qa.debian.org/excuses.php?package={$package}">Excuses</a>:            <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1207              <ul class="testing-excuses">              <xsl:call-template name="outputitem"/>
1208                <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">            </xsl:for-each>
1209                  <xsl:call-template name="outputitem"/>          </ul>
1210                </xsl:for-each>        </xsl:if>
1211              </ul>      </div>
1212            </td>    </xsl:if>
1213          </tr>  </xsl:template>
       </xsl:if>  
     </xsl:template>  
   
     <xsl:template name="static-info">  
       <xsl:call-template name="output-static">  
         <xsl:with-param name="static" select="$static" />  
       </xsl:call-template>  
     </xsl:template>  
1214    
1215      <xsl:template name="latest-news">  <xsl:template name="static-info">
1216        <xsl:call-template name="output-news">    <xsl:call-template name="output-static">
1217          <xsl:with-param name="news" select="$news" />      <xsl:with-param name="static" select="$static" />
1218        </xsl:call-template>    </xsl:call-template>
1219      </xsl:template>  </xsl:template>
1220    
1221      <xsl:variable name="static">  <xsl:template name="latest-news">
1222        <xsl:if test="$hasnews">    <xsl:call-template name="output-news">
1223          <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">      <xsl:with-param name="news" select="$news" />
1224            <xsl:call-template name="outputitem"/>    </xsl:call-template>
1225          </xsl:for-each>  </xsl:template>
       </xsl:if>  
     </xsl:variable>  
   
     <xsl:variable name="news">  
       <xsl:if test="$hasnews">  
         <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">  
           <xsl:call-template name="outputitem"/>  
         </xsl:for-each>  
       </xsl:if>  
     </xsl:variable>  
   
     <!-- All the work is done in a single template -->  
     <xsl:template match="source">  
   
       <!-- Start of html -->  
       <html>  
         <head>  
           <meta name="ROBOTS" content="NOFOLLOW"/>  
           <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>  
           <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>  
           <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>  
           <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>  
           <script type="text/javascript" src="../common/pts.js"></script>  
           <xsl:if test="count($news)>0 and string($news)!=''">  
             <link rel="alternate" type="application/rss+xml" title="RSS"  
               href="{$package}/news.rss20.xml" />  
           </xsl:if>  
           <title>Overview of <xsl:value-of select="$package"/> source package</title>  
         </head>  
         <body onload="javascript:onLoad();">  
   
           <div id="quickforms" style="float: right;">  
             <form method="get" action="/common/index.html">  
               <p><span title="Jump to package">Go:</span>  
                 <input type="text" name="src" value=""/></p>  
             </form>  
             <form id="csspref-form" method="get" action="/common/set-csspref.php">  
               <p>Switch style: <select name="csspref" onchange="javascript:onChangeStyle();">  
                   <option value="revamp.css">Default</option>  
                   <option value="compact.css">Compact</option>  
                   <option value="pts.css">Legacy</option>  
               </select></p>  
             </form>  
1226    
1227            </div>  <xsl:variable name="static">
1228            <h1>Overview of    <xsl:if test="$hasnews">
1229              <xsl:element name="a">      <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1230                <xsl:attribute name="href">        <xsl:call-template name="outputitem"/>
1231                  <xsl:text>http://packages.debian.org/src:</xsl:text>      </xsl:for-each>
1232                  <xsl:value-of select="$package"/>    </xsl:if>
1233                </xsl:attribute>  </xsl:variable>
1234                <xsl:value-of select="$package"/>  
1235              </xsl:element>  <xsl:variable name="news">
1236              source package</h1>    <xsl:if test="$hasnews">
1237        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1238            <div id="body">        <xsl:call-template name="outputitem"/>
1239              <xsl:choose>      </xsl:for-each>
1240                <xsl:when test="$removed='yes'">    </xsl:if>
1241                  <!-- REMOVED PACKAGE -->  </xsl:variable>
1242                  <p>This package is not part of any Debian distribution. Thus you won't  
1243                    find much information here. The package is either very new and hasn't  <!-- All the work is done in a single template -->
1244                    appeared on mirrors yet, or it's an old package that eventually got removed.  <xsl:template match="source">
1245                    The old news are kept for historic purpose only.</p>  
1246      <!-- Start of html -->
1247                  <table class="righttable">    <html>
1248                    <xsl:call-template name="static-info" />      <head>
1249                    <xsl:call-template name="latest-news" />        <meta name="ROBOTS" content="NOFOLLOW"/>
1250                  </table>        <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
1251          <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
1252                  <!-- END REMOVED PACKAGE -->        <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1253                </xsl:when>        <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1254                <xsl:otherwise>        <script type="text/javascript" src="../common/pts.js"></script>
1255                  <!-- NON REMOVED PACKAGE -->        <xsl:if test="count($news)>0 and string($news)!=''">
1256            <link rel="alternate" type="application/rss+xml" title="RSS"
1257                  <table class="containertable">                href="{$package}/news.rss20.xml" />
1258                    <tr class="containerrow" valign="top">        </xsl:if>
1259                      <td class="containercell">        <title>Debian Package Tracking System -
1260                        <!-- LEFT SIDE -->          <xsl:value-of select="$package"/></title>
1261                        <table class="lefttable">      </head>
1262                          <xsl:call-template name="general-information" />      <body onload="javascript:onLoad();">
1263                          <xsl:call-template name="available-versions" />        <div class="quickform" style="float: right;">
1264                        </table>          <form title="jump to the PTS page of another source package"
1265                        <table class="lefttable">                method="get" action="/common/index.html">
1266                          <xsl:call-template name="package-files" />            <p>
1267                          <xsl:call-template name="binary-packages" />              <input type="text" size="14" name="src" value=""/>
1268                        </table>              <input type="submit" value="jump to" />
1269                        <!-- END LEFT SIDE -->            </p>
1270                        </td><td class="containercell">          </form>
1271                        <!-- RIGHT SIDE -->        </div>
1272                        <table class="righttable">  
1273                          <xsl:call-template name="todo-list" />        <h1>
1274                          <xsl:call-template name="problems" />          <xsl:value-of select="$package"/><br />
1275                        </table>          <small>source package</small>
1276                        <table class="righttable">        </h1>
1277                          <xsl:call-template name="testing-status" />  
1278                          <xsl:call-template name="static-info" />        <div id="body">
1279                          <xsl:call-template name="latest-news" />          <xsl:choose>
1280                        </table>            <xsl:when test="$removed='yes'">
1281                        <!-- END RIGHT SIDE -->              <div class="block removed">
1282                        </td><td class="containercell">                <p>This package is not part of any Debian
1283                        <table class="lefttable">                  distribution. Thus you won't find much information
1284                          <xsl:call-template name="bugs-count" />                  here. The package is either very new and hasn't
1285                          <xsl:call-template name="pts-subscription" />                  appeared on mirrors yet, or it's an old package that
1286                        </table>                  eventually got removed.  The old news are kept for
1287                        <table class="lefttable">                  historic purpose only.</p>
1288                          <xsl:call-template name="other-links" />                <xsl:call-template name="static-info" />
1289                        </table>                <xsl:call-template name="latest-news" />
1290                        <table class="lefttable" id="ubuntubox">              </div>
1291                          <xsl:call-template name="ubuntu" />            </xsl:when>
1292                        </table>            <xsl:otherwise>       <!-- non removed package -->
1293                    </td></tr>              <div class="left maincol">
1294                  </table>                <xsl:call-template name="general-information" />
1295                  <xsl:call-template name="available-versions" />
1296                  <!-- END NON REMOVED PACKAGE -->                <xsl:call-template name="binary-packages" />
1297                </xsl:otherwise>              </div>
1298              </xsl:choose>              <div class="center maincol">
1299                  <xsl:call-template name="todo-list" />
1300              <hr/>                <xsl:call-template name="problems" />
1301              <div class="footer">                <xsl:call-template name="testing-status" />
1302                <table width="100%">                <xsl:call-template name="static-info" />
1303                  <tr>                <xsl:call-template name="latest-news" />
                   <td>  
                     <p>  
                       <em><a href="http://www.debian.org">Debian</a> Package  
                         Tracking System</em> - Copyright 2002-2009 Raphaël  
                       Hertzog and others.<br/> Report problems to the  
                       <a href="http://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>  
                         pseudopackage</a> in the <a href="http://bugs.debian.org">Debian  
                         <acronym title="Bug Tracking System">BTS</acronym></a>.<br/>  
                       Last modified: <xsl:value-of select="$date"/>.  
                     </p>  
                   </td>  
                   <td>  
                     <a href="http://validator.w3.org/check?uri=referer"><img  
                         src="http://www.w3.org/Icons/valid-xhtml10-blue"  
                         alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>  
                   </td>  
                 </tr>  
               </table>  
1304              </div>              </div>
1305            </div>              <div class="right maincol">
1306          </body>                <xsl:call-template name="bugs-count" />
1307        </html>                <xsl:call-template name="other-links" />
1308      </xsl:template>                <xsl:call-template name="ubuntu" />
1309                  <xsl:call-template name="patch-tracker" />
1310                </div>
1311              </xsl:otherwise>
1312            </xsl:choose>
1313    
1314            <hr/>
1315            <div class="footer">
1316              <table width="100%">
1317                <tr>
1318                  <td>
1319                  <!--
1320                    <div class="quickform">
1321                      <form id="csspref-form" method="get"
1322                            action="/common/set-csspref.php">
1323                        <p>
1324                          change skin:
1325                          <select name="csspref" onchange="javascript:onChangeStyle();">
1326                            <option value="revamp.css">default</option>
1327                            <option value="compact.css">compact</option>
1328                            <option value="pts.css">legacy</option>
1329                          </select>
1330                        </p>
1331                      </form>
1332                    </div>
1333                  -->
1334                    <div class="quickform">
1335                      <xsl:call-template name="pts-subscription" />
1336                    </div>
1337                  </td>
1338                  <td>
1339                    <p>
1340                      <em><a href="http://www.debian.org">Debian</a>
1341                        Package Tracking System</em> - Copyright ©
1342                        2002-2009 Raphaël Hertzog, Stefano Zacchiroli and
1343                        others.<br/> Report problems to the
1344                      <a href="http://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>
1345                        pseudopackage</a> in the <a href="http://bugs.debian.org">Debian
1346                        <acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
1347                        <a href="svn://svn.debian.org/svn/qa/trunk/pts">Checkout SVN repository</a> |
1348                        <a href="http://anonscm.debian.org/viewvc/qa/trunk/pts/">Browse SVN repository</a><br/>
1349                      Last modified: <xsl:value-of select="$date"/>.
1350                    </p>
1351                  </td>
1352                  <td>
1353                    <a href="http://validator.w3.org/check?uri=referer">
1354                      <img
1355                         src="http://www.w3.org/Icons/valid-xhtml10-blue"
1356                         alt="Valid XHTML 1.0 Strict" height="31" width="88" />
1357                    </a>
1358                  </td>
1359                </tr>
1360              </table>
1361            </div>
1362          </div>
1363        </body>
1364      </html>
1365    </xsl:template>
1366    
1367  </xsl:stylesheet>  </xsl:stylesheet>

Legend:
Removed from v.2227  
changed lines
  Added in v.2718

  ViewVC Help
Powered by ViewVC 1.1.5