/[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 639 by hertzog, Fri Sep 26 11:16:38 2003 UTC revision 1822 by zack, Sat Jan 26 16:04:02 2008 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="ISO-8859-1" ?>  <?xml version="1.0" encoding="utf-8" ?>
2    
3  <!--  <!--
4  # Copyright 2002-2003 Raphaël Hertzog  # Copyright 2002-2008 Raphaël Hertzog and others
5    # Copyright 2007-2008 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  -->  -->
9    
10  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
11    
12  <xsl:output encoding="ISO-8859-1" method="html"/>  <xsl:output encoding="UTF-8" method="html"/>
13    
14  <xsl:param name="package"/>  <xsl:param name="package"/>
15  <xsl:param name="dir"/>  <xsl:param name="dir"/>
16  <xsl:param name="date"/>  <xsl:param name="date"/>
17    <xsl:param name="hasoldstable" select="''"/>
18  <xsl:param name="hasstable" select="''"/>  <xsl:param name="hasstable" select="''"/>
19  <xsl:param name="hastesting" select="''"/>  <xsl:param name="hastesting" select="''"/>
20  <xsl:param name="hasunstable" select="''"/>  <xsl:param name="hasunstable" select="''"/>
# Line 20  Line 22 
22  <xsl:param name="hasother" select="''"/>  <xsl:param name="hasother" select="''"/>
23  <xsl:param name="hass-p-u" select="''"/>  <xsl:param name="hass-p-u" select="''"/>
24  <xsl:param name="hast-p-u" select="''"/>  <xsl:param name="hast-p-u" select="''"/>
25    <xsl:param name="hasoldstable-security" select="''"/>
26  <xsl:param name="hasstable-security" select="''"/>  <xsl:param name="hasstable-security" select="''"/>
27  <xsl:param name="hastesting-security" select="''"/>  <xsl:param name="hastesting-security" select="''"/>
28    <xsl:param name="hassecure-testing" select="''"/>
29    <xsl:param name="hasvolatile" select="''"/>
30  <xsl:param name="hasnews" select="''"/>  <xsl:param name="hasnews" select="''"/>
31  <xsl:param name="hasexcuse" select="''"/>  <xsl:param name="hasexcuse" select="''"/>
32    
33  <xsl:variable name="other" select="document(concat('../base/', $dir, '/other.xml'))/other"/>  <xsl:variable name="other"
34      select="document(concat('../base/', $dir, '/other.xml'))/other"/>
35    <xsl:variable name="low-nmu-emails"
36      select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
37    
38  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
39       standards-version not being up to date -->       standards-version not being up to date -->
40  <xsl:variable name="lastsv" select="'3.6.1'"/>  <xsl:variable name="lastsv" select="'3.7.3'"/>
41  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
42    
43  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
44  <xsl:template name="mirror">  <xsl:template name="mirror">
45    <xsl:choose>    <xsl:text>http://ftp.debian.org/debian</xsl:text>
     <xsl:when test="contains(/source/section, 'non-US')">  
       <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>  
     </xsl:when>  
     <xsl:otherwise>  
       <xsl:text>http://http.us.debian.org/debian</xsl:text>  
     </xsl:otherwise>  
   </xsl:choose>  
46  </xsl:template>  </xsl:template>
47    
48  <xsl:template name="outputitem">  <xsl:template name="outputitem">
# Line 51  Line 52 
52          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
53          <xsl:value-of select="@date"/>          <xsl:value-of select="@date"/>
54          <xsl:text>] </xsl:text>          <xsl:text>] </xsl:text>
55        </xsl:if><a href="{@url}"><xsl:value-of select="text()"/></a></li>        </xsl:if><a href="{@url}">
56          <xsl:value-of select="text()"/></a><xsl:if test="@from">
57            <xsl:text> (</xsl:text>
58            <xsl:value-of select="@from"/>
59            <xsl:text>)</xsl:text></xsl:if></li>
60      </xsl:when>      </xsl:when>
61      <xsl:otherwise>      <xsl:otherwise>
62        <li><xsl:if test="@date">        <li><xsl:if test="@date">
# Line 63  Line 68 
68    </xsl:choose>    </xsl:choose>
69  </xsl:template>  </xsl:template>
70    
71  <!-- Convert + in %2b for URL escaping ... -->  <!-- Convert + in %2b for URL escaping. Should actually first also do
72    other-to-%xx, especially % to %25... Fortunately, that's rare -->
73  <xsl:template name="escape-name">  <xsl:template name="escape-name">
74    <xsl:param name="text"/>    <xsl:param name="text"/>
75    <xsl:if test="contains($text,'+')">    <xsl:if test="contains($text,'+')">
# Line 78  Line 84 
84    </xsl:if>    </xsl:if>
85  </xsl:template>  </xsl:template>
86    
87    <xsl:variable name="escaped-package">
88      <xsl:call-template name="escape-name">
89        <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
90      </xsl:call-template>
91    </xsl:variable>
92    
93    <!-- Strip epoch -->
94    <xsl:template name="strip-epoch">
95      <xsl:param name="version"/>
96      <xsl:if test="contains($version,':')">
97        <xsl:value-of select="substring-after($version,':')"/>
98      </xsl:if>
99      <xsl:if test="not(contains($version,':'))">
100        <xsl:value-of select="$version"/>
101      </xsl:if>
102    </xsl:template>
103    
104  <!-- All the work is done in a single template -->  <xsl:template name="add-vcs-info">
105  <xsl:template match="source">    <xsl:if test="repository">
106        <tr>
107          <td class="labelcell">
108            <xsl:text>Version Control</xsl:text>
109          </td>
110          <td class="contentcell">
111            <xsl:if test="repository/vcs[@kind='browser']">
112              <a href="{repository/vcs[@kind='browser']/@url}">
113                <xsl:text>browser</xsl:text>
114              </a>
115              <br />
116            </xsl:if>
117            <xsl:if test="repository/vcs[@kind!='browser']">
118              <xsl:text>raw: </xsl:text>
119              <xsl:for-each select="repository/vcs[@kind!='browser']">
120                <xsl:sort select="@kind" />
121                <a href="{@url}">
122                  <xsl:value-of select="@kind" />
123                </a>
124                <xsl:if test="position()!=last()">
125                  <xsl:text>, </xsl:text>
126                </xsl:if>
127              </xsl:for-each>
128            </xsl:if>
129          </td>
130        </tr>
131      </xsl:if>
132    </xsl:template>
133    
134    <!-- Start of html -->  <xsl:template name="add-maintenance-info">
135    <html>    <xsl:param name="email" />
136    <head>    <xsl:variable name="dm">
137    <meta name="ROBOTS" content="NOFOLLOW"/>      <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
138    <link title="Default" rel="stylesheet" href="../common/pts.css"/>        <xsl:text>true</xsl:text>
139    <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>      </xsl:if>
140    <title>Overview of <xsl:value-of select="$package"/> source package</title>    </xsl:variable>
141    </head>    <xsl:variable name="lownmu">
142    <body>      <xsl:if test="$low-nmu-emails/email[text()=$email]">
143          <xsl:text>true</xsl:text>
144    <form method="get" action="/common/index.html" style="float: right;">      </xsl:if>
145    Jump to package : <br/>    </xsl:variable>
   <input type="text" name="src" value=""/>  
   </form>  
   <h1>Overview of <xsl:value-of select="$package"/> source package</h1>  
146    
147    <table class="containertable">    <xsl:if test="string($dm)!='' or string($lownmu)!=''">
148    <tr class="containerrow" valign="top">      <tr>
149    <td class="containercell">        <td class="labelcell">
150    <!-- LEFT SIDE -->          <xsl:text>Maintenance info</xsl:text>
151    <table class="lefttable">        </td>
152    <tr class="titlerow">        <td class="contentcell">
153    <td class="titlecell" colspan="2">  
154    General Information          <xsl:if test="string($dm)!=''">
155    </td></tr>            <span class="dm-tag">
156    <tr class="normalrow">              <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>
157    <td class="labelcell">Last version</td>            </span>
158    <td class="contentcell"><xsl:value-of select="version"/></td>            <xsl:text> </xsl:text>
159    </tr>          </xsl:if>
160    <xsl:if test="@release!='unstable'">  
161    <tr class="normalrow">          <xsl:if test="string($lownmu)!=''">
162    <td class="labelcell">Distribution</td>            <span class="lownmu-tag">
163    <td class="contentcell"><xsl:value-of select="@release"/></td>              <a href="http://wiki.debian.org/LowThresholdNmu"><acronym
164    </tr>                  title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>
165    </xsl:if>            </span>
166    <tr class="normalrow">            <xsl:text> </xsl:text>
167    <td class="labelcell">Maintainer</td>          </xsl:if>
168    <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">        </td>
169    <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>      </tr>
   </tr>  
   <tr class="normalrow">  
   <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>  
   <td class="contentcell">  
   <xsl:if test="uploaders">  
     <xsl:for-each select="uploaders/item">  
       <a class="email" href="http://qa.debian.org/developer.php?login={email}"><xsl:value-of select="name"/></a> [<a class="email" href="mailto:{email}">mail</a>]<br/>  
     </xsl:for-each>  
170    </xsl:if>    </xsl:if>
171    <xsl:if test="not(uploaders)">  </xsl:template>
172      <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>  
173    <xsl:template name="output-news">
174      <xsl:param name="news" />
175    
176      <xsl:if test="count($news)>0 and string($news)!=''">
177        <tr class="titlerow">
178        <td class="titlecell">
179          Latest news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>
180        </td></tr>
181        <tr class="normalrow">
182        <td class="contentcell2">
183        <ul id="news-list"><xsl:copy-of select="$news"/></ul>
184        </td>
185        </tr>
186    </xsl:if>    </xsl:if>
187    </td></tr>  </xsl:template>
188    <tr class="normalrow">  
189    <td class="labelcell">Standards-Version</td>  <xsl:template name="output-static">
190    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <xsl:param name="static" />
191    </tr>  
192    <tr class="normalrow">    <xsl:if test="count($static)>0 and string($static)!=''">
193    <td class="labelcell">Priority &amp; Section</td>      <tr class="titlerow">
194    <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>      <td class="titlecell">
195    </tr>      Static Information
196    <xsl:if test="architecture!='any' and architecture!='all'">      </td></tr>
197    <tr class="normalrow">      <tr class="normalrow">
198    <td class="labelcell">Architecture</td>      <td class="contentcell2">
199    <td class="contentcell"><xsl:value-of select="architecture"/></td>      <ul><xsl:copy-of select="$static"/></ul>
200    </tr>      </td>
201        </tr>
202    </xsl:if>    </xsl:if>
203    </xsl:template>
204    
205    <xsl:template name="categorize-srcfile">
206      <!-- used to recognize (and tag afterwards) well-known type of source package
207        components: dsc, diff, orig -->
208      <xsl:choose>
209        <xsl:when test="substring(filename,string-length(filename)-2, 3)='dsc'">
210          <xsl:text>dsc</xsl:text>
211        </xsl:when>
212        <xsl:when test="substring(filename,string-length(filename)-6, 7)='diff.gz'">
213          <xsl:text>diff</xsl:text>
214        </xsl:when>
215        <xsl:when test="substring(filename,string-length(filename)-5, 3)='tar'">
216          <xsl:text>orig</xsl:text>
217        </xsl:when>
218        <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>
219      </xsl:choose>
220    </xsl:template>
221    
222    <xsl:template name="maintainer-email">
223      <xsl:param name="email" />
224      <a class="email" href="mailto:{$email}">
225        <img alt="[email]" src="../common/email.png" title="email" />
226      </a>
227    </xsl:template>
228    
229    <xsl:template name="general-information">
230    <tr class="titlerow">    <tr class="titlerow">
231    <td class="titlecell" colspan="2">      <td class="titlecell" colspan="2">
232    Bugs Count        General information
233    </td></tr>      </td>
   <tr class="normalrow">  
   <td class="labelcell">All bugs</td>  
   <td class="contentcell">  
   <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">  
     <xsl:value-of select="$other/bugs/@all"/>  
   </xsl:if></a>  
   </td>  
234    </tr>    </tr>
235    <tr class="normalrow">    <tr class="normalrow">
236    <td class="labelcell">Release Critical</td>      <td class="labelcell">Latest version</td>
237    <td class="contentcell">      <td class="contentcell"><xsl:value-of select="version"/></td>
   <xsl:element name="a">  
     <xsl:attribute name="href">  
       <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</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;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:attribute>  
     <xsl:if test="$hasother">  
       <xsl:value-of select="$other/bugs/@rc"/>  
     </xsl:if>  
   </xsl:element>  
   </td>  
238    </tr>    </tr>
239      <xsl:if test="@release!='unstable'">
240        <tr class="normalrow">
241          <td class="labelcell">Distribution</td>
242          <td class="contentcell"><xsl:value-of select="@release"/></td>
243        </tr>
244      </xsl:if>
245    <tr class="normalrow">    <tr class="normalrow">
246    <td class="labelcell">Important and Normal</td>      <td class="labelcell">Maintainer</td>
247    <td class="contentcell">      <td class="contentcell">
248    <xsl:element name="a">        <xsl:element name="a">
249      <xsl:attribute name="href">          <xsl:attribute name="href">
250        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>            <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
251        <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
252          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
253              </xsl:call-template>
254            </xsl:attribute>
255            <xsl:value-of select="maintainer/name"/>
256          </xsl:element>
257          <xsl:text> </xsl:text>
258          <xsl:call-template name="maintainer-email">
259            <xsl:with-param name="email" select="maintainer/email" />
260        </xsl:call-template>        </xsl:call-template>
261        <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>      </td>
     </xsl:attribute>  
     <xsl:if test="$hasother">  
       <xsl:value-of select="$other/bugs/@normal"/>  
     </xsl:if>  
   </xsl:element>  
   </td>  
262    </tr>    </tr>
263    <tr class="normalrow">    <tr class="normalrow">
264    <td class="labelcell">Minor and Wishlist</td>      <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Uploaders</a></td>
265    <td class="contentcell">      <td class="contentcell">
266    <xsl:element name="a">        <xsl:if test="uploaders">
267      <xsl:attribute name="href">          <xsl:for-each select="uploaders/item">
268        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>            <xsl:element name="a">
269        <xsl:call-template name="escape-name">              <xsl:attribute name="href">
270          <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>                <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
271                  <xsl:call-template name="escape-name">
272                    <xsl:with-param name="text"><xsl:value-of select="email"/></xsl:with-param>
273                  </xsl:call-template>
274                </xsl:attribute>
275                <xsl:value-of select="name"/>
276              </xsl:element>
277              <xsl:text> </xsl:text>
278              <xsl:call-template name="maintainer-email">
279                <xsl:with-param name="email" select="email" />
280              </xsl:call-template>
281              <br />
282            </xsl:for-each>
283          </xsl:if>
284          <xsl:if test="not(uploaders)">
285            <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>
286          </xsl:if>
287          <xsl:call-template name='add-maintenance-info'>
288            <xsl:with-param name="email" select="maintainer/email" />
289        </xsl:call-template>        </xsl:call-template>
290        <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>    </td></tr>
     </xsl:attribute>  
     <xsl:if test="$hasother">  
       <xsl:value-of select="$other/bugs/@wishlist"/>  
     </xsl:if>  
   </xsl:element>  
   </td>  
   </tr>  
291    <tr class="normalrow">    <tr class="normalrow">
292    <td class="labelcell">Fixed and Pending</td>      <td class="labelcell">Standards version</td>
293    <td class="contentcell">      <td class="contentcell"><xsl:value-of select="standards-version"/></td>
   <xsl:element name="a">  
     <xsl:attribute name="href">  
       <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</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;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>  
     </xsl:attribute>  
     <xsl:if test="$hasother">  
       <xsl:value-of select="$other/bugs/@fixed"/>  
     </xsl:if>  
   </xsl:element>  
   </td>  
294    </tr>    </tr>
   
   <tr class="titlerow">  
   <td class="titlecell" colspan="2">  
   Subscription - <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system">Package Tracking System</a>  
   </td></tr>  
295    <tr class="normalrow">    <tr class="normalrow">
296    <td class="labelcell">Subscribers count</td>      <td class="labelcell">Priority</td>
297    <td class="contentcell"><xsl:if test="$hasother">      <td class="contentcell"> <xsl:value-of select="priority"/> </td>
     <xsl:value-of select="$other/pts/@count"/>  
   </xsl:if></td>  
298    </tr>    </tr>
299    <tr class="normalrow">    <tr class="normalrow">
300    <td class="contentcell" colspan="2">      <td class="labelcell">Section</td>
301    <form method="post" action="/cgi-bin/pts.cgi">      <td class="contentcell"> <xsl:value-of select="section"/> </td>
     <input type="hidden" name="package" value="{$package}"/>  
     <select name="what">  
       <option value="subscribe">Subscribe</option>  
       <option value="unsubscribe">Unsubscribe</option>  
       <option value="advanced">Advanced mode</option>  
     </select>  
     <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>  
     <input type="submit" name="submit" value="Send"/>  
   </form>  
   </td>  
302    </tr>    </tr>
303      <xsl:call-template name='add-vcs-info' />
304      <xsl:if test="architecture!='any' and architecture!='all'">
305        <tr class="normalrow">
306          <td class="labelcell">Architecture</td>
307          <td class="contentcell"><xsl:value-of select="architecture"/></td>
308        </tr>
309      </xsl:if>
310    </xsl:template>
311    
312    <xsl:template name="bugs-count">
313    <tr class="titlerow">    <tr class="titlerow">
314    <td class="titlecell" colspan="2">      <td class="titlecell" colspan="2">
315    Binary Package(s)        Bugs count
316    </td></tr>      </td>
317    <tr class="normalrow">    </tr>
318    <td class="normalcell" colspan="2" style="text-align: left">    <tr class="normalrow" id="bugs_all">
319    <xsl:for-each select="binary/item">      <td class="labelcell">All bugs</td>
320      <xsl:sort select="text()"/>      <td class="contentcell">
321      <xsl:variable name="pkg" select="text()"/>        <xsl:element name="a">
322      <li>          <xsl:attribute name="href">
323      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>            <xsl:text>http://bugs.debian.org/src:</xsl:text>
324      <span style="font-size: 70%">            <xsl:call-template name="escape-name">
325      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
326              </xsl:call-template>
327            </xsl:attribute>
328            <xsl:if test="$hasother">
329              <xsl:value-of select="$other/bugs/@all"/>
330            </xsl:if>
331          </xsl:element>
332        </td>
333      </tr>
334      <tr class="normalrow" id="bugs_rc">
335        <td class="labelcell"><span class="indented"><acronym title="Release Critical">RC</acronym> bugs</span></td>
336        <td class="contentcell">
337        <xsl:element name="a">        <xsl:element name="a">
         <xsl:attribute name="title">critical, grave and serious</xsl:attribute>  
338          <xsl:attribute name="href">          <xsl:attribute name="href">
339            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
340            <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
341              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
342            </xsl:call-template>            </xsl:call-template>
343            <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: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>
344          </xsl:attribute>          </xsl:attribute>
345          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>          <xsl:if test="$hasother">
346        </xsl:element>,            <xsl:value-of select="$other/bugs/@rc"/>
347            </xsl:if>
348          </xsl:element>
349        </td>
350      </tr>
351      <tr class="normalrow" id="bugs_in">
352        <td class="labelcell"><span class="indented"><acronym title="Important and Normal">I&amp;N</acronym> bugs</span></td>
353        <td class="contentcell">
354        <xsl:element name="a">        <xsl:element name="a">
         <xsl:attribute name="title">important and normal</xsl:attribute>  
355          <xsl:attribute name="href">          <xsl:attribute name="href">
356          <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
357          <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
358            <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
359          </xsl:call-template>            </xsl:call-template>
360          <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: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>
361          </xsl:attribute>          </xsl:attribute>
362          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>          <xsl:if test="$hasother">
363        </xsl:element>,            <xsl:value-of select="$other/bugs/@normal"/>
364            </xsl:if>
365          </xsl:element>
366        </td>
367      </tr>
368      <tr class="normalrow" id="bugs_mw">
369        <td class="labelcell"><span class="indented"><acronym title="Minor and Wishlist">M&amp;W</acronym> bugs</span></td>
370        <td class="contentcell">
371        <xsl:element name="a">        <xsl:element name="a">
         <xsl:attribute name="title">wishlist and minor</xsl:attribute>  
372          <xsl:attribute name="href">          <xsl:attribute name="href">
373            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
374            <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
375              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
376            </xsl:call-template>            </xsl:call-template>
377            <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: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>
378          </xsl:attribute>          </xsl:attribute>
379          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>          <xsl:if test="$hasother">
380        </xsl:element>,            <xsl:value-of select="$other/bugs/@wishlist"/>
381            </xsl:if>
382          </xsl:element>
383        </td>
384      </tr>
385      <tr class="normalrow" id="bugs_fp">
386        <td class="labelcell"><span class="indented"><acronym title="Fixed and Pending">F&amp;P</acronym> bugs</span></td>
387        <td class="contentcell">
388        <xsl:element name="a">        <xsl:element name="a">
         <xsl:attribute name="title">pending and fixed</xsl:attribute>  
389          <xsl:attribute name="href">          <xsl:attribute name="href">
390            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
391            <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
392              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
393            </xsl:call-template>            </xsl:call-template>
394            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>            <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
395          </xsl:attribute>          </xsl:attribute>
396          <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>          <xsl:if test="$hasother">
397        </xsl:element>)            <xsl:value-of select="$other/bugs/@fixed"/>
398      </span>          </xsl:if>
399      </li>        </xsl:element>
400    </xsl:for-each>      </td>
401    </td></tr>    </tr>
402    </xsl:template>
403    
404    <xsl:template name="pts-subscription">
405    <tr class="titlerow">    <tr class="titlerow">
406    <td class="titlecell" colspan="2">      <td class="titlecell" colspan="2">
407    Other available versions        <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system"><acronym title="Package Tracking System">PTS</acronym></a> subscription
408    </td></tr>    </td></tr>
   <xsl:if test="$hasexperimental">  
409    <tr class="normalrow">    <tr class="normalrow">
410    <td class="labelcell">Experimental</td>      <td class="labelcell">Subscribers count</td>
411    <td class="contentcell">      <td class="contentcell"><xsl:if test="$hasother">
412    <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>          <xsl:value-of select="$other/pts/@count"/>
413    </td>      </xsl:if></td>
414      </tr>
415      <tr class="normalrow">
416        <td class="contentcell" colspan="2">
417          <form method="post" action="/cgi-bin/pts.cgi">
418            <p>
419              <input type="hidden" name="package" value="{$package}"/>
420              <select name="what">
421                <option value="subscribe">Subscribe</option>
422                <option value="unsubscribe">Unsubscribe</option>
423                <option value="advanced">Advanced mode</option>
424              </select>
425              <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>
426              <input type="submit" name="submit" value="Send"/>
427            </p>
428          </form>
429        </td>
430    </tr>    </tr>
431    </xsl:template>
432    
433    <xsl:template name="binary-packages">
434      <tr class="titlerow">
435        <td class="titlecell" colspan="2">
436          Binary package(s)
437      </td></tr>
438      <tr class="normalrow">
439        <td class="normalcell" colspan="2" style="text-align: left">
440          <ul>
441            <xsl:for-each select="binary/item">
442              <xsl:sort select="text()"/>
443              <xsl:variable name="pkg" select="text()"/>
444              <li class="binpkg">
445                <a class="binpkg" href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
446                <span style="font-size: 70%">
447                  (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
448    
449                  <xsl:element name="a">
450                    <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
451                    <xsl:attribute name="href">
452                      <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
453                      <xsl:call-template name="escape-name">
454                        <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
455                      </xsl:call-template>
456                      <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>
457                    </xsl:attribute>
458                    <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
459                  </xsl:element>,
460    
461                  <xsl:element name="a">
462                    <xsl:attribute name="title">important and normal</xsl:attribute>
463                    <xsl:attribute name="href">
464                      <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
465                      <xsl:call-template name="escape-name">
466                        <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
467                      </xsl:call-template>
468                      <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>
469                    </xsl:attribute>
470                    <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
471                  </xsl:element>,
472    
473                  <xsl:element name="a">
474                    <xsl:attribute name="title">wishlist and minor</xsl:attribute>
475                    <xsl:attribute name="href">
476                      <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
477                      <xsl:call-template name="escape-name">
478                        <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
479                      </xsl:call-template>
480                      <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>
481                    </xsl:attribute>
482                    <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
483                  </xsl:element>,
484    
485                  <xsl:element name="a">
486                    <xsl:attribute name="title">pending and fixed</xsl:attribute>
487                    <xsl:attribute name="href">
488                      <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
489                      <xsl:call-template name="escape-name">
490                        <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
491                      </xsl:call-template>
492                      <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
493                    </xsl:attribute>
494                    <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
495                  </xsl:element>)
496                </span>
497              </li>
498            </xsl:for-each>
499      </ul></td></tr>
500    </xsl:template>
501    
502    <xsl:template name="available-versions">
503      <tr class="titlerow">
504        <td class="titlecell" colspan="2">
505          Available versions
506      </td></tr>
507    
508      <!-- oldstable -->
509      <xsl:if test="$hasoldstable">
510        <tr class="normalrow">
511          <td class="labelcell"><a href="http://www.debian.org/releases/sarge/">Oldstable</a></td>
512          <td class="contentcell">
513            <a href="http://packages.debian.org/source/oldstable/{$package}"><xsl:value-of
514                select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/></a>
515          </td>
516        </tr>
517      </xsl:if>
518      <xsl:if test="$hasoldstable-security">
519        <tr class="normalrow">
520          <td class="labelcell"><small>Oldstable Security Updates</small></td>
521          <td class="contentcell">
522            <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
523          </td>
524        </tr>
525      </xsl:if>
526    
527      <!-- stable -->
528      <xsl:if test="$hasstable">
529        <tr class="normalrow">
530          <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
531          <td class="contentcell">
532            <a href="http://packages.debian.org/source/stable/{$package}"><xsl:value-of
533                select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/></a>
534          </td>
535        </tr>
536    </xsl:if>    </xsl:if>
537    <xsl:if test="$hasstable-security">    <xsl:if test="$hasstable-security">
538    <tr class="normalrow">      <tr class="normalrow">
539    <td class="labelcell">Security Updates (stable)</td>        <td class="labelcell"><small>Stable Security Updates</small></td>
540    <td class="contentcell">        <td class="contentcell">
541    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>          <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
542    </td>        </td>
543    </tr>      </tr>
544    </xsl:if>    </xsl:if>
545    <xsl:if test="$hastesting-security">    <xsl:if test="$hass-p-u">
546    <tr class="normalrow">      <tr class="normalrow">
547    <td class="labelcell">Security Updates (testing)</td>        <td class="labelcell"><small>Stable Proposed Updates</small></td>
548    <td class="contentcell">        <td class="contentcell">
549    <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>          <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
550    </td>        </td>
551    </tr>      </tr>
552    </xsl:if>    </xsl:if>
553    
554      <!-- testing -->
555    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
556    <tr class="normalrow">      <tr class="normalrow">
557    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>        <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
558    <td class="contentcell">        <td class="contentcell">
559    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>          <a href="http://packages.debian.org/source/testing/{$package}"><xsl:value-of
560    </td>              select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/></a>
561    </tr>        </td>
562        </tr>
563      </xsl:if>
564      <xsl:if test="$hastesting-security">
565        <tr class="normalrow">
566          <td class="labelcell"><small>Testing Security Updates</small></td>
567          <td class="contentcell">
568            <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
569          </td>
570        </tr>
571    </xsl:if>    </xsl:if>
572    <xsl:if test="$hast-p-u">    <xsl:if test="$hast-p-u">
573    <tr class="normalrow">      <tr class="normalrow">
574    <td class="labelcell">Testing Proposed Updates</td>        <td class="labelcell"><small>Testing Proposed Updates</small></td>
575    <td class="contentcell">        <td class="contentcell">
576    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>          <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
577    </td>        </td>
578    </tr>      </tr>
579    </xsl:if>    </xsl:if>
580    <xsl:if test="$hasstable">  
581    <tr class="normalrow">    <!-- unstable -->
582    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>    <xsl:if test="$hasunstable">
583    <td class="contentcell">      <tr class="normalrow">
584    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>        <td class="labelcell">Unstable</td>
585    </td>        <td class="contentcell">
586    </tr>          <a href="http://packages.debian.org/source/unstable/{$package}"><xsl:value-of
587                select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/></a>
588          </td>
589        </tr>
590    </xsl:if>    </xsl:if>
591    <xsl:if test="$hass-p-u">  
592    <tr class="normalrow">    <!-- experimental -->
593    <td class="labelcell">Stable Proposed Updates</td>    <xsl:if test="$hasexperimental">
594    <td class="contentcell">      <tr class="normalrow">
595    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>        <td class="labelcell">Experimental</td>
596    </td>        <td class="contentcell">
597    </tr>          <a href="http://packages.debian.org/source/experimental/{$package}"><xsl:value-of
598                select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/></a>
599          </td>
600        </tr>
601      </xsl:if>
602    
603      <!-- secure-testing -->
604      <xsl:if test="$hassecure-testing">
605        <tr class="normalrow">
606          <td class="labelcell">Secure testing</td>
607          <td class="contentcell">
608            <xsl:value-of select="document(concat('../base/', $dir, '/secure-testing.xml'))/source/version"/>
609          </td>
610        </tr>
611    </xsl:if>    </xsl:if>
612    
613      <!-- volatile -->
614      <xsl:if test="$hasvolatile">
615        <tr class="normalrow">
616          <td class="labelcell">Volatile</td>
617          <td class="contentcell">
618            <xsl:value-of select="document(concat('../base/', $dir, '/volatile.xml'))/source/version"/>
619          </td>
620        </tr>
621      </xsl:if>
622    </xsl:template>
623    
624    <xsl:template name="patches">
625      <!-- Patches list [FG] -->
626      <xsl:if test="$other/@patches='yes'">
627        <tr class="titlerow">
628          <td class="titlecell" colspan="2">
629            Patches
630        </td></tr>
631        <tr>
632          <td class="contentcell" colspan="2" style="text-align: left">
633            <ul>
634              <xsl:for-each select="$other/patches/item">
635                <li>
636                  <a href="{$other/patches/item/@url}">Patch from <xsl:value-of select="$other/patches/item/@distro"/> for version <xsl:value-of select="$other/patches/item/@version"/></a>
637                </li>
638              </xsl:for-each>
639              <xsl:if test="$other/bugs/@patch!='0'">
640                <li>
641                  <xsl:element name="a">
642                    <xsl:attribute name="href">
643                      <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
644                      <xsl:call-template name="escape-name">
645                        <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
646                      </xsl:call-template>
647                      <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>
648                    </xsl:attribute>
649                    Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)
650                  </xsl:element>
651                </li>
652              </xsl:if>
653            </ul>
654          </td>
655        </tr>
656      </xsl:if>
657    </xsl:template>
658    
659    <xsl:template name="other-links">
660    <tr class="titlerow">    <tr class="titlerow">
661    <td class="titlecell" colspan="2">      <td class="titlecell" colspan="2">
662    Other links        Other links
663    </td></tr>    </td></tr>
664    <tr>    <tr>
665    <td class="contentcell" colspan="2" style="text-align: left">      <td class="contentcell" colspan="2" style="text-align: left">
666    <xsl:if test="architecture!='all'">        <ul>
667      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>          <xsl:if test="homepage">
668    </xsl:if>            <li> <a href="{homepage}">Upstream homepage</a> </li>
669      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=pdesc&amp;package={$package}">Description's translations (DDTP)</a></li>          </xsl:if>
670    <xsl:if test="$other/@debconf='yes'">          <li>
671      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package={$package}">Debconf templates's translations (DDTP)</a></li>            <xsl:element name="a">
672    </xsl:if>              <xsl:attribute name="href">
673    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">                <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
674      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>                <xsl:value-of select="directory"/>
675    </xsl:if>                <xsl:text>/current/changelog</xsl:text>
676    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">              </xsl:attribute>
677      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>              <xsl:text>Changelog</xsl:text>
678    </xsl:if>            </xsl:element>
679    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">            /
680      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>            <xsl:element name="a">
681    </xsl:if>              <xsl:attribute name="href">
682    </td>                <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
683                  <xsl:value-of select="directory"/>
684                  <xsl:text>/current/copyright</xsl:text>
685                </xsl:attribute>
686                <xsl:text>Copyright</xsl:text>
687              </xsl:element>
688            </li>
689            <xsl:if test="architecture!='all'">
690              <li>
691                <a href="http://buildd.debian.org/pkg.cgi?pkg={$escaped-package}">Buildd logs</a>
692                <xsl:text> (</xsl:text>
693                <a href="http://experimental.debian.net/build.php?pkg={$escaped-package}">more</a>
694                <xsl:text>, </xsl:text>
695                <a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}">ports</a>
696                <xsl:text>)</xsl:text>
697              </li>
698            </xsl:if>
699            <!-- DISABLED until ddtp.debian.org is back up
700            <li>
701              <xsl:element name="a">
702                <xsl:attribute name="href">
703                  <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
704                  <xsl:call-template name="escape-name">
705                    <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
706                  </xsl:call-template>
707                  <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
708                </xsl:attribute>
709                Description's translations (DDTP)
710              </xsl:element>
711            </li>
712            <xsl:if test="$other/@debconf='yes'">
713              <li>
714                <xsl:element name="a">
715                  <xsl:attribute name="href">
716                    <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
717                    <xsl:call-template name="escape-name">
718                      <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
719                    </xsl:call-template>
720                  </xsl:attribute>
721                  Debconf templates's translations (DDTP)
722                </xsl:element>
723              </li>
724            </xsl:if>
725            -->
726            <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
727              or ($hastesting and $other/debcheck/@testing='yes')
728              or ($hasstable and $other/debcheck/@stable='yes')">
729              <li>
730                Debcheck on:
731                <xsl:if test="$hasunstable">
732                  <xsl:text> </xsl:text>
733                  <a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$escaped-package}">unstable</a>
734                </xsl:if>
735                <xsl:if test="$hastesting">
736                  <xsl:text> </xsl:text>
737                  <a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$escaped-package}">testing</a>
738                </xsl:if>
739                <xsl:if test="$hasstable">
740                  <xsl:text> </xsl:text>
741                  <a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$escaped-package}">stable</a>
742                </xsl:if>
743              </li>
744            </xsl:if>
745            <!-- convert maintainer/name to follow lintian.debian.org convention -->
746            <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ~/()&#34; ', &quot;'&quot;)"/>
747            <xsl:variable name="_email" select="translate(maintainer/email, $pattern, '_____________________')"/>
748            <li><a href="http://lintian.debian.org/reports/maintainer/{$_email}.html#{$package}">Lintian report</a></li>
749            <li>
750              <a href="http://qa.debian.org/developer.php?popcon={$escaped-package}">Popcon stats</a>
751            </li>
752            <xsl:if test="$other/@svnbuildstat='yes'">
753              <li>
754                <a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>
755              </li>
756            </xsl:if>
757          </ul>
758        </td>
759    </tr>    </tr>
760    </xsl:template>
761    
762    <xsl:template name="package-files">
763    <tr class="titlerow">    <tr class="titlerow">
764    <td class="titlecell" colspan="2">      <td class="titlecell" colspan="2">
765    <xsl:element name="a">        Source package
     <xsl:attribute name="class">  
       <xsl:text>titlelink</xsl:text>  
     </xsl:attribute>  
     <xsl:attribute name="href">  
       <xsl:call-template name="mirror"/>  
       <xsl:text>/</xsl:text>  
       <xsl:value-of select="directory"/>  
       <xsl:text>/</xsl:text>  
     </xsl:attribute>  
     <xsl:text>Source files</xsl:text>  
   </xsl:element>  
766    </td></tr>    </td></tr>
767    <tr class="normalrow">    <tr class="titlerow">
768    <td class="normalcell" colspan="2" style="text-align: left">      <td class="labelcell">
769    <xsl:for-each select="files/item">        <xsl:element name="a">
770      <li>          <xsl:attribute name="href">
771      <xsl:element name="a">            <xsl:call-template name="mirror"/>
772        <xsl:attribute name="class">srcfile</xsl:attribute>            <xsl:text>/</xsl:text>
773        <xsl:attribute name="href">            <xsl:value-of select="directory"/>
774          <xsl:call-template name="mirror"/>            <xsl:text>/</xsl:text>
775          <xsl:text>/</xsl:text>          </xsl:attribute>
776          <xsl:value-of select="../../directory"/>          <xsl:text>Files</xsl:text>
777          <xsl:text>/</xsl:text>        </xsl:element>
778          <xsl:value-of select="filename"/>      </td>
779        </xsl:attribute>      <td class="contentcell" id="src_files">
780        <xsl:attribute name="title">        <ul>
781          <xsl:value-of select="size"/>          <xsl:for-each select="files/item">
782          <xsl:text> bytes</xsl:text>            <xsl:variable name="filetype">
783        </xsl:attribute>              <xsl:call-template name="categorize-srcfile" />
784        <xsl:value-of select="filename"/>            </xsl:variable>
785      </xsl:element>            <xsl:element name="li">
786      </li>              <xsl:attribute name="class">srcfile</xsl:attribute>
787    </xsl:for-each>              <xsl:if test="string($filetype)!=''">
788    </td></tr>                <xsl:attribute name="id">
789                    <xsl:text>srcfile_</xsl:text>
790    </table>                  <xsl:value-of select="$filetype" />
791    <!-- END LEFT SIDE -->                </xsl:attribute>
792    </td><td class="containercell">              </xsl:if>
793    <!-- RIGHT SIDE -->              <xsl:element name="a">
794    <table class="righttable">                <xsl:attribute name="class">srcfile</xsl:attribute>
795                  <xsl:attribute name="href">
796                    <xsl:call-template name="mirror"/>
797                    <xsl:text>/</xsl:text>
798                    <xsl:value-of select="../../directory"/>
799                    <xsl:text>/</xsl:text>
800                    <xsl:value-of select="filename"/>
801                  </xsl:attribute>
802                  <xsl:attribute name="title">
803                    <xsl:value-of select="filename" />
804                    <xsl:text>: </xsl:text>
805                    <xsl:value-of select="size"/>
806                    <xsl:text> bytes</xsl:text>
807                  </xsl:attribute>
808                  <xsl:text>.</xsl:text>
809                  <xsl:value-of select="$filetype"/>
810                </xsl:element>
811              </xsl:element>
812            </xsl:for-each>
813          </ul>
814        </td>
815      </tr>
816    </xsl:template>
817    
818    <!-- Todo list -->  <xsl:template name="todo-list">
819    <xsl:variable name="todo">    <xsl:variable name="todo">
820      <xsl:if test="@nmu">      <xsl:if test="@nmu">
821        <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>        <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>
# Line 462  Line 825 
825      </xsl:if>      </xsl:if>
826      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:if test="not(starts-with(standards-version, $lastsv))">
827        <li>The package should be updated to follow the last version of        <li>The package should be updated to follow the last version of
828        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version          <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
829        <xsl:value-of select="$lastsv"/> instead of          <xsl:value-of select="$lastsv"/> instead of
830        <xsl:value-of select="standards-version"/>).</li>          <xsl:value-of select="standards-version"/>).</li>
831      </xsl:if>      </xsl:if>
832      <xsl:if test="$hasother">      <xsl:if test="$hasother">
833        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
834          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
835        </xsl:for-each>        </xsl:for-each>
836          <!-- new upstream version goes in todo [FG] -->
837          <!-- disable watch rendering, the info are out of date since long, see #400480 for example -->
838          <!--
839          <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
840            <li>A new upstream version was found:
841              (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
842          </xsl:if>
843          -->
844          <xsl:if test="$other/bugs/@patch!='0'">
845            <li>The Bug Tracking System contains
846              <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$escaped-package}&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done">patches fixing
847                <xsl:value-of select="$other/bugs/@patch"/> bug<xsl:if test="$other/bugs/@patch!='1'">s</xsl:if>
848              </a>, you should include
849              <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>.
850            </li>
851          </xsl:if>
852      </xsl:if>      </xsl:if>
853    </xsl:variable>    </xsl:variable>
854    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
855    <tr class="titlerow">      <tr class="titlerow">
856    <td class="titlecell" style="background-color: blue">        <td class="titlecell" id="todo">
857    Todo          Todo
858    </td></tr>      </td></tr>
859    <tr class="normalrow">      <tr class="normalrow">
860    <td class="contentcell2"><xsl:copy-of select="$todo"/>        <td class="contentcell2">
861    </td>          <ul>
862    </tr>            <xsl:copy-of select="$todo"/>
863            </ul>
864          </td>
865        </tr>
866    </xsl:if>    </xsl:if>
867    </xsl:template>
868    <!-- List of problems -->  
869    <xsl:template name="problems">
870    <xsl:variable name="problems">    <xsl:variable name="problems">
871      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
872        <li>The package has not yet entered <a        <li>The package has not yet entered <a
873        href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>            href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
874        even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day          even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
875        delay is over.</li>          delay is over.
876            <a href="http://release.debian.org/migration/testing.pl?package={$escaped-package}">Check why</a>.</li>
877      </xsl:if>      </xsl:if>
878      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
879        <li>The package is severly out of date with respect to the Debian        <li>The package is severly out of date with respect to the Debian
880        Policy. Latest version is <xsl:value-of select="$lastsv"/>          Policy. Latest version is <xsl:value-of select="$lastsv"/>
881        and your package only follows          and your package only follows
882        <xsl:value-of select="standards-version"/>...</li>          <xsl:value-of select="standards-version"/>...</li>
883        </xsl:if>
884        <xsl:if test="@release!='unstable' and @release!='experimental'">
885          <li>This package is neither part of unstable nor experimental. This
886            probably means that the package <a
887              href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or
888            has been renamed). Thus the information here is of little interest ...
889            the package is going to disappear unless someone takes it over and
890            reintroduces it into unstable.</li>
891      </xsl:if>      </xsl:if>
892      <xsl:if test="$hasother">      <xsl:if test="$hasother">
893    
894          <!-- Override disparity handling. [JvW] -->
895          <xsl:if test="$other/@override='yes'">
896            <xsl:for-each select="$other/override/group">
897              <li>There were override disparities found in suite <xsl:value-of
898                  select="@suite"/>:
899                <ul>
900                  <xsl:for-each select="disparity">
901                    <li><xsl:value-of select="text()"/></li>
902                  </xsl:for-each>
903                </ul>
904              </li>
905            </xsl:for-each>
906          </xsl:if>
907    
908        <!-- Wnpp handling. [PvR] -->        <!-- Wnpp handling. [PvR] -->
909        <xsl:if test="$other/@wnpp='yes'">        <xsl:if test="$other/@wnpp='yes'">
910        <li>          <li>
911          <xsl:choose>            <xsl:choose>
912            <xsl:when test="$other/wnpp/@type='O'">              <xsl:when test="$other/wnpp/@type='O'">
913            <span style="font-weight: bold">This package has been orphaned</span>.                <xsl:choose>
914            This means that it does not have a real maintainer at the                  <xsl:when test="@release!='unstable' and @release!='experimental'">
915            moment. Please consider adopting this package if you have some                    The WNPP database contains an O (Orphaned) entry for
916            interests in it.                    this package. This is probably an error, as it is neither part of
917            </xsl:when>                    unstable nor experimental.
918            <xsl:when test="$other/wnpp/@type='ITA'">                  </xsl:when>
919            This package has been orphaned, but someone is intending to                  <xsl:otherwise>
920            resume its maintenance.                    <span style="font-weight: bold">This package has been orphaned</span>.
921            </xsl:when>                    This means that it does not have a real maintainer at the
922            <xsl:when test="$other/wnpp/@type='RFA'">                    moment. Please consider adopting this package if you are interested in it.
923            The current maintainer is looking for someone who can take over                  </xsl:otherwise>
924            maintenance of this package. If you have some interests in this package,                </xsl:choose>
925            please consider taking it over. Alternatively you may              </xsl:when>
926            want to be co-maintainer in order to help the actual maintainer.              <xsl:when test="$other/wnpp/@type='ITA'">
927            </xsl:when>                <xsl:choose>
928            <xsl:when test="$other/wnpp/@type='ITP'">                  <xsl:when test="@release!='unstable' and @release!='experimental'">
929            The WNPP database contains an ITP (Intent To Package) entry for                    The WNPP database contains an ITA (Intent To Adopt) entry for
930            this package. This is probably an error, as it has already been                    this package. This is probably an error, as it is neither part of
931            packaged.                    unstable nor experimental.
932            </xsl:when>                  </xsl:when>
933            <xsl:when test="$other/wnpp/@type='RFP'">                  <xsl:otherwise>
934            The WNPP database contains an RFP (Request For Package) entry                    This package has been orphaned, but someone intends to maintain it.
935            for this package.  This is probably an error, as it has already                  </xsl:otherwise>
936            been packaged.                </xsl:choose>
937            </xsl:when>              </xsl:when>
938            <xsl:otherwise>              <xsl:when test="$other/wnpp/@type='RFA'">
939            The WNPP database contains an entry for this package,                <xsl:choose>
940            but it is unclear what kind of entry it is. This is probably an error.                  <xsl:when test="@release!='unstable' and @release!='experimental'">
941            </xsl:otherwise>                    The WNPP database contains an RFA (Request For Adoption) entry for
942          </xsl:choose>                    this package. This is probably an error, as it is neither part of
943          <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>                    unstable nor experimental.
944          Please see bug number <a href="http://bugs.debian.org/{$bn}">                  </xsl:when>
945          #<xsl:value-of select="$bn"/></a> for more information.                  <xsl:otherwise>
946        </li>                    The current maintainer is looking for someone who can take over
947                      maintenance of this package. If you are interested in this package,
948                      please consider taking it over. Alternatively you may
949                      want to be co-maintainer in order to help the actual maintainer.
950                    </xsl:otherwise>
951                  </xsl:choose>
952                </xsl:when>
953                <xsl:when test="$other/wnpp/@type='RFH'">
954                  <xsl:choose>
955                    <xsl:when test="@release!='unstable' and @release!='experimental'">
956                      The WNPP database contains an RFH (Request For Help) entry for
957                      this package. This is probably an error, as it is neither part of
958                      unstable nor experimental.
959                    </xsl:when>
960                    <xsl:otherwise>
961                      The current maintainer is looking for someone who can help with the
962                      maintenance of this package. If you are interested in this package,
963                      please consider helping out. One way you can help is offer to be a
964                      co-maintainer or triage bugs in the bts.
965                    </xsl:otherwise>
966                  </xsl:choose>
967                </xsl:when>
968                <xsl:when test="$other/wnpp/@type='ITP'">
969                  <xsl:choose>
970                    <xsl:when test="@release!='unstable' and @release!='experimental'">
971                      The WNPP database contains an ITP (Intent To Package). This probably
972                      means that somebody is going to reintroduce this package into unstable.
973                    </xsl:when>
974                    <xsl:otherwise>
975                      The WNPP database contains an ITP (Intent To Package) entry for
976                      this package. This is probably an error, as it has already been
977                      packaged.
978                    </xsl:otherwise>
979                  </xsl:choose>
980                </xsl:when>
981                <xsl:when test="$other/wnpp/@type='RFP'">
982                  <xsl:choose>
983                    <xsl:when test="@release!='unstable' and @release!='experimental'">
984                      The WNPP database contains an RFP (Request For Package). This probably
985                      means that somebody would like to see this package reintroduced into
986                      unstable by a volunteer.
987                    </xsl:when>
988                    <xsl:otherwise>
989                      The WNPP database contains an RFP (Request For Package) entry
990                      for this package.  This is probably an error, as it has already
991                      been packaged.
992                    </xsl:otherwise>
993                  </xsl:choose>
994                </xsl:when>
995                <xsl:when test="$other/wnpp/@type='RM'">
996                  <span style="font-weight: bold">This package has been requested to be
997                    removed</span>.
998                  This means that, when this request gets processed by an ftp-master, this
999                  package will no longer be in unstable, and will automatically be removed
1000                  from testing too afterwards. If for some reason you want keep this
1001                  package in unstable, please discuss so in the bug.
1002                </xsl:when>
1003                <xsl:otherwise>
1004                  The WNPP database contains an entry for this package,
1005                  but it is unclear what kind of entry it is. This is probably an error.
1006                </xsl:otherwise>
1007              </xsl:choose>
1008              <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
1009              Please see bug number <a href="http://bugs.debian.org/{$bn}">
1010                #<xsl:value-of select="$bn"/></a> for more information.
1011            </li>
1012        </xsl:if>        </xsl:if>
1013    
1014          <!-- uscan output if present [FG] -->
1015          <!-- disable watch rendering, see above -->
1016          <!--
1017          <xsl:if test="$other/@watch='yes'">
1018            <li>
1019              <xsl:if test="$other/watch/@warning!=''">
1020                uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
1021              </xsl:if>
1022            </li>
1023          </xsl:if>
1024          -->
1025    
1026        <!-- Misc problems reported -->        <!-- Misc problems reported -->
1027        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
         <xsl:call-template name="outputitem"/>  
       </xsl:for-each>  
     </xsl:if>  
   </xsl:variable>  
   <xsl:if test="count($problems)>0 and string($problems)!=''">  
   <tr class="titlerow">  
   <td class="titlecell" style="background-color: red">  
   Problems  
   </td></tr>  
   <tr class="normalrow">  
   <td class="contentcell2"><xsl:copy-of select="$problems"/>  
   </td>  
   </tr>  
   </xsl:if>  
   
   <xsl:if test="$hasexcuse">  
   <tr class="titlerow">  
   <td class="titlecell">  
   Testing Status  
   </td></tr>  
   <tr class="normalrow">  
   <td class="contentcell2" style="text-align: left">  
   <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">  
     <xsl:call-template name="outputitem"/>  
   </xsl:for-each>  
   </td>  
   </tr>  
   </xsl:if>  
   
   
   <xsl:variable name="static">  
     <xsl:if test="$hasnews">  
       <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">  
1028          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
1029        </xsl:for-each>        </xsl:for-each>
1030      </xsl:if>      </xsl:if>
1031    </xsl:variable>    </xsl:variable>
1032    <xsl:if test="count($static)>0 and string($static)!=''">    <xsl:if test="count($problems)>0 and string($problems)!=''">
1033      <tr class="titlerow">      <tr class="titlerow">
1034      <td class="titlecell">        <td class="titlecell" id="problems">
1035      Static Information          Problems
1036      </td></tr>      </td></tr>
1037      <tr class="normalrow">      <tr class="normalrow">
1038      <td class="contentcell2"><xsl:copy-of select="$static"/></td>        <td class="contentcell2">
1039            <ul><xsl:copy-of select="$problems"/></ul>
1040          </td>
1041      </tr>      </tr>
1042    </xsl:if>    </xsl:if>
1043    </xsl:template>
1044    <xsl:variable name="news">  
1045      <xsl:if test="$hasnews">  <xsl:template name="testing-status">
1046        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">    <xsl:if test="$hasexcuse">
         <xsl:call-template name="outputitem"/>  
       </xsl:for-each>  
     </xsl:if>  
   </xsl:variable>  
   <xsl:if test="count($news)>0 and string($news)!=''">  
1047      <tr class="titlerow">      <tr class="titlerow">
1048      <td class="titlecell">        <td class="titlecell">
1049      Latest News          Testing status
1050      </td></tr>      </td></tr>
1051      <tr class="normalrow">      <tr class="normalrow">
1052      <td class="contentcell2"><xsl:copy-of select="$news"/></td>        <td class="contentcell2" style="text-align: left">
1053            <ul>
1054              <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1055                <xsl:call-template name="outputitem"/>
1056              </xsl:for-each>
1057            </ul>
1058          </td>
1059      </tr>      </tr>
1060    </xsl:if>    </xsl:if>
1061    </xsl:template>
1062    
1063    <xsl:template name="static-info">
1064      <xsl:call-template name="output-static">
1065        <xsl:with-param name="static" select="$static" />
1066      </xsl:call-template>
1067    </xsl:template>
1068    
1069    <xsl:template name="latest-news">
1070      <xsl:call-template name="output-news">
1071        <xsl:with-param name="news" select="$news" />
1072      </xsl:call-template>
1073    </xsl:template>
1074    
1075    <xsl:variable name="static">
1076      <xsl:if test="$hasnews">
1077        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1078          <xsl:call-template name="outputitem"/>
1079        </xsl:for-each>
1080      </xsl:if>
1081    </xsl:variable>
1082    
1083    <xsl:variable name="news">
1084      <xsl:if test="$hasnews">
1085        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1086          <xsl:call-template name="outputitem"/>
1087        </xsl:for-each>
1088      </xsl:if>
1089    </xsl:variable>
1090    
1091    <!-- All the work is done in a single template -->
1092    <xsl:template match="source">
1093    
1094      <!-- Start of html -->
1095      <xsl:text disable-output-escaping="yes">
1096      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
1097      </xsl:text>
1098      <html>
1099      <head>
1100      <meta name="ROBOTS" content="NOFOLLOW"/>
1101      <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
1102      <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
1103      <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1104      <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1105      <script type="text/javascript" src="../common/pts.js"></script>
1106      <xsl:if test="count($news)>0 and string($news)!=''">
1107        <link rel="alternate" type="application/rss+xml" title="RSS"
1108          href="{$package}/news.rss20.xml" />
1109      </xsl:if>
1110      <title>Overview of <xsl:value-of select="$package"/> source package</title>
1111      </head>
1112      <body onload="javascript:onLoad();">
1113    
1114      <div id="quickforms" style="float: right;">
1115      <form method="get" action="/common/index.html">
1116      <p><span title="Jump to package">Go:</span>
1117      <input type="text" name="src" value=""/></p>
1118      </form>
1119      <form id="csspref-form" method="get" action="/common/set-csspref.php">
1120      <p>Switch style: <select name="csspref" onchange="javascript:onChangeStyle();">
1121      <option value="revamp.css">Default</option>
1122      <option value="compact.css">Compact</option>
1123      <option value="pts.css">Legacy</option>
1124      </select></p>
1125      </form>
1126    
1127      </div>
1128      <h1>Overview of
1129      <xsl:element name="a">
1130        <xsl:attribute name="href">
1131          <xsl:text>http://packages.debian.org/src:</xsl:text>
1132           <xsl:value-of select="$package"/>
1133        </xsl:attribute>
1134       <xsl:value-of select="$package"/>
1135      </xsl:element>
1136      source package</h1>
1137    
1138      <div id="body">
1139      <xsl:choose>
1140      <xsl:when test="$removed='yes'">
1141      <!-- REMOVED PACKAGE -->
1142      <p>This package is not part of any Debian distribution. Thus you won't
1143      find much information here. The package is either very new and hasn't
1144      appeared on mirrors yet, or it's an old package that eventually got removed.
1145      The old news are kept for historic purpose only.</p>
1146    
1147      <table class="righttable">
1148        <xsl:call-template name="static-info" />
1149        <xsl:call-template name="latest-news" />
1150      </table>
1151    
1152      <!-- END REMOVED PACKAGE -->
1153      </xsl:when>
1154      <xsl:otherwise>
1155      <!-- NON REMOVED PACKAGE -->
1156    
1157      <table class="containertable">
1158      <tr class="containerrow" valign="top">
1159      <td class="containercell">
1160      <!-- LEFT SIDE -->
1161      <table class="lefttable">
1162        <xsl:call-template name="general-information" />
1163        <xsl:call-template name="available-versions" />
1164      </table>
1165      <table class="lefttable">
1166        <xsl:call-template name="package-files" />
1167        <xsl:call-template name="binary-packages" />
1168      </table>
1169      <!-- END LEFT SIDE -->
1170      </td><td class="containercell">
1171      <!-- RIGHT SIDE -->
1172      <table class="righttable">
1173        <xsl:call-template name="todo-list" />
1174        <xsl:call-template name="problems" />
1175      </table>
1176      <table class="righttable">
1177        <xsl:call-template name="testing-status" />
1178        <xsl:call-template name="static-info" />
1179        <xsl:call-template name="latest-news" />
1180    </table>    </table>
1181    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
1182      </td><td class="containercell">
1183      <table class="lefttable">
1184        <xsl:call-template name="bugs-count" />
1185        <xsl:call-template name="pts-subscription" />
1186      </table>
1187      <table class="lefttable">
1188        <xsl:call-template name="patches" />
1189      </table>
1190      <table class="lefttable">
1191        <xsl:call-template name="other-links" />
1192      </table>
1193    </td></tr>    </td></tr>
1194    </table>    </table>
1195    
1196      <!-- END NON REMOVED PACKAGE -->
1197      </xsl:otherwise>
1198      </xsl:choose>
1199    
1200    <hr/>    <hr/>
1201    Debian Package Tracking System - Copyright 2002-2003 Raphaël Hertzog<br/>    <div class="footer">
1202    Last modified : <xsl:value-of select="$date"/>      <p>
1203          <a href="http://www.debian.org">Debian</a> Package Tracking System -
1204          Copyright 2002-2008 Raphaël Hertzog and others.<br/>
1205          Report problems to the <a href="http://bugs.debian.org/qa.debian.org"
1206            ><tt>qa.debian.org</tt> pseudopackage</a> in the <a
1207            href="http://bugs.debian.org">Debian <acronym title="Bug Tracking
1208              System">BTS</acronym></a>.<br/>
1209          Last modified : <xsl:value-of select="$date"/>.
1210        </p>
1211      </div>
1212      </div>
1213    </body>    </body>
1214    </html>    </html>
1215  </xsl:template>  </xsl:template>

Legend:
Removed from v.639  
changed lines
  Added in v.1822

  ViewVC Help
Powered by ViewVC 1.1.5