/[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 600 by hertzog, Sat Jul 12 12:40:46 2003 UTC revision 1823 by zack, Mon Jan 28 19:29:40 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.0'"/>  <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    <xsl:if test="architecture!='any' and architecture!='all'">    <xsl:if test="count($static)>0 and string($static)!=''">
193    <tr class="normalrow">      <tr class="titlerow">
194    <td class="labelcell">Architecture</td>      <td class="titlecell">
195    <td class="contentcell"><xsl:value-of select="architecture"/></td>      Static Information
196    </tr>      </td></tr>
197        <tr class="normalrow">
198        <td class="contentcell2">
199        <ul><xsl:copy-of select="$static"/></ul>
200        </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">
     <xsl:variable name="pkg" select="text()"/>  
     <li>  
     <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>  
     <span style="font-size: 70%">  
     (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:  
   
321        <xsl:element name="a">        <xsl:element name="a">
         <xsl:attribute name="title">critical, grave and serious</xsl:attribute>  
322          <xsl:attribute name="href">          <xsl:attribute name="href">
323            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>            <xsl:text>http://bugs.debian.org/src:</xsl:text>
324            <xsl:call-template name="escape-name">            <xsl:call-template name="escape-name">
325              <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>
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">
338            <xsl:attribute name="href">
339              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
340              <xsl:call-template name="escape-name">
341                <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>  
   </td></tr>  
   <tr class="normalrow">  
   <td class="normalcell" colspan="2" style="text-align: left">  
   <xsl:for-each select="files/item">  
     <li>  
     <xsl:element name="a">  
       <xsl:attribute name="class">srcfile</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:value-of select="filename"/>  
       </xsl:attribute>  
       <xsl:attribute name="title">  
         <xsl:value-of select="size"/>  
         <xsl:text> bytes</xsl:text>  
       </xsl:attribute>  
       <xsl:value-of select="filename"/>  
     </xsl:element>  
     </li>  
   </xsl:for-each>  
766    </td></tr>    </td></tr>
767      <tr class="titlerow">
768    </table>      <td class="labelcell">
769    <!-- END LEFT SIDE -->        <xsl:element name="a">
770    </td><td class="containercell">          <xsl:attribute name="href">
771    <!-- RIGHT SIDE -->            <xsl:call-template name="mirror"/>
772    <table class="righttable">            <xsl:text>/</xsl:text>
773              <xsl:value-of select="directory"/>
774              <xsl:text>/</xsl:text>
775            </xsl:attribute>
776            <xsl:text>Files</xsl:text>
777          </xsl:element>
778        </td>
779        <td class="contentcell" id="src_files">
780          <ul>
781            <xsl:for-each select="files/item">
782              <xsl:variable name="filetype">
783                <xsl:call-template name="categorize-srcfile" />
784              </xsl:variable>
785              <xsl:element name="li">
786                <xsl:attribute name="class">srcfile</xsl:attribute>
787                <xsl:if test="string($filetype)!=''">
788                  <xsl:attribute name="id">
789                    <xsl:text>srcfile_</xsl:text>
790                    <xsl:value-of select="$filetype" />
791                  </xsl:attribute>
792                </xsl:if>
793                <xsl:element name="a">
794                  <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 458  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          <xsl:if test="$other[dehs/@newer]">
837            <li>A new upstream version is available:
838              <a href="http://dehs.alioth.debian.org/maintainer.php?name={$escaped-package}"><xsl:value-of select="$other/dehs/@newer"/></a>,
839              you should consider packaging it.</li>
840          </xsl:if>
841          <xsl:if test="$other/bugs/@patch!='0'">
842            <li>The Bug Tracking System contains
843              <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
844                <xsl:value-of select="$other/bugs/@patch"/> bug<xsl:if test="$other/bugs/@patch!='1'">s</xsl:if>
845              </a>, you should include
846              <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>.
847            </li>
848          </xsl:if>
849      </xsl:if>      </xsl:if>
850    </xsl:variable>    </xsl:variable>
851    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
852    <tr class="titlerow">      <tr class="titlerow">
853    <td class="titlecell" style="background-color: blue">        <td class="titlecell" id="todo">
854    Todo          Todo
855    </td></tr>      </td></tr>
856    <tr class="normalrow">      <tr class="normalrow">
857    <td class="contentcell2"><xsl:copy-of select="$todo"/>        <td class="contentcell2">
858    </td>          <ul>
859    </tr>            <xsl:copy-of select="$todo"/>
860            </ul>
861          </td>
862        </tr>
863    </xsl:if>    </xsl:if>
864    </xsl:template>
865    <!-- List of problems -->  
866    <xsl:template name="problems">
867    <xsl:variable name="problems">    <xsl:variable name="problems">
868      <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">
869        <li>The package has not yet entered <a        <li>The package has not yet entered <a
870        href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>            href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
871        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
872        delay is over.</li>          delay is over.
873            <a href="http://release.debian.org/migration/testing.pl?package={$escaped-package}">Check why</a>.</li>
874      </xsl:if>      </xsl:if>
875      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
876        <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
877        Policy. Latest version is <xsl:value-of select="$lastsv"/>          Policy. Latest version is <xsl:value-of select="$lastsv"/>
878        and your package only follows          and your package only follows
879        <xsl:value-of select="standards-version"/>...</li>          <xsl:value-of select="standards-version"/>...</li>
880        </xsl:if>
881        <xsl:if test="@release!='unstable' and @release!='experimental'">
882          <li>This package is neither part of unstable nor experimental. This
883            probably means that the package <a
884              href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or
885            has been renamed). Thus the information here is of little interest ...
886            the package is going to disappear unless someone takes it over and
887            reintroduces it into unstable.</li>
888      </xsl:if>      </xsl:if>
889      <xsl:if test="$hasother">      <xsl:if test="$hasother">
890    
891          <!-- Override disparity handling. [JvW] -->
892          <xsl:if test="$other/@override='yes'">
893            <xsl:for-each select="$other/override/group">
894              <li>There were override disparities found in suite <xsl:value-of
895                  select="@suite"/>:
896                <ul>
897                  <xsl:for-each select="disparity">
898                    <li><xsl:value-of select="text()"/></li>
899                  </xsl:for-each>
900                </ul>
901              </li>
902            </xsl:for-each>
903          </xsl:if>
904    
905        <!-- Wnpp handling. [PvR] -->        <!-- Wnpp handling. [PvR] -->
906        <xsl:if test="$other/@wnpp='yes'">        <xsl:if test="$other/@wnpp='yes'">
907        <li>          <li>
908          <xsl:choose>            <xsl:choose>
909            <xsl:when test="$other/wnpp/@type='O'">              <xsl:when test="$other/wnpp/@type='O'">
910            <span style="font-weight: bold">This package has been orphaned</span>.                <xsl:choose>
911            This means that it does not have a real maintainer at the                  <xsl:when test="@release!='unstable' and @release!='experimental'">
912            moment. Please consider adopting this package if you have some                    The WNPP database contains an O (Orphaned) entry for
913            interests in it.                    this package. This is probably an error, as it is neither part of
914            </xsl:when>                    unstable nor experimental.
915            <xsl:when test="$other/wnpp/@type='ITA'">                  </xsl:when>
916            This package has been orphaned, but someone is intending to                  <xsl:otherwise>
917            resume its maintenance.                    <span style="font-weight: bold">This package has been orphaned</span>.
918            </xsl:when>                    This means that it does not have a real maintainer at the
919            <xsl:when test="$other/wnpp/@type='RFA'">                    moment. Please consider adopting this package if you are interested in it.
920            The current maintainer is looking for someone who can take over                  </xsl:otherwise>
921            maintenance of this package. If you have some interests in this package,                </xsl:choose>
922            please consider taking it over. Alternatively you may              </xsl:when>
923            want to be co-maintainer in order to help the actual maintainer.              <xsl:when test="$other/wnpp/@type='ITA'">
924            </xsl:when>                <xsl:choose>
925            <xsl:when test="$other/wnpp/@type='ITP'">                  <xsl:when test="@release!='unstable' and @release!='experimental'">
926            The WNPP database contains an ITP (Intent To Package) entry for                    The WNPP database contains an ITA (Intent To Adopt) entry for
927            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
928            packaged.                    unstable nor experimental.
929            </xsl:when>                  </xsl:when>
930            <xsl:when test="$other/wnpp/@type='RFP'">                  <xsl:otherwise>
931            The WNPP database contains an RFP (Request For Package) entry                    This package has been orphaned, but someone intends to maintain it.
932            for this package.  This is probably an error, as it has already                  </xsl:otherwise>
933            been packaged.                </xsl:choose>
934            </xsl:when>              </xsl:when>
935            <xsl:otherwise>              <xsl:when test="$other/wnpp/@type='RFA'">
936            The WNPP database contains an entry for this package,                <xsl:choose>
937            but it is unclear what kind of entry it is. This is probably an error.                  <xsl:when test="@release!='unstable' and @release!='experimental'">
938            </xsl:otherwise>                    The WNPP database contains an RFA (Request For Adoption) entry for
939          </xsl:choose>                    this package. This is probably an error, as it is neither part of
940          <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>                    unstable nor experimental.
941          Please see bug number <a href="http://bugs.debian.org/{$bn}">                  </xsl:when>
942          #<xsl:value-of select="$bn"/></a> for more information.                  <xsl:otherwise>
943        </li>                    The current maintainer is looking for someone who can take over
944                      maintenance of this package. If you are interested in this package,
945                      please consider taking it over. Alternatively you may
946                      want to be co-maintainer in order to help the actual maintainer.
947                    </xsl:otherwise>
948                  </xsl:choose>
949                </xsl:when>
950                <xsl:when test="$other/wnpp/@type='RFH'">
951                  <xsl:choose>
952                    <xsl:when test="@release!='unstable' and @release!='experimental'">
953                      The WNPP database contains an RFH (Request For Help) entry for
954                      this package. This is probably an error, as it is neither part of
955                      unstable nor experimental.
956                    </xsl:when>
957                    <xsl:otherwise>
958                      The current maintainer is looking for someone who can help with the
959                      maintenance of this package. If you are interested in this package,
960                      please consider helping out. One way you can help is offer to be a
961                      co-maintainer or triage bugs in the bts.
962                    </xsl:otherwise>
963                  </xsl:choose>
964                </xsl:when>
965                <xsl:when test="$other/wnpp/@type='ITP'">
966                  <xsl:choose>
967                    <xsl:when test="@release!='unstable' and @release!='experimental'">
968                      The WNPP database contains an ITP (Intent To Package). This probably
969                      means that somebody is going to reintroduce this package into unstable.
970                    </xsl:when>
971                    <xsl:otherwise>
972                      The WNPP database contains an ITP (Intent To Package) entry for
973                      this package. This is probably an error, as it has already been
974                      packaged.
975                    </xsl:otherwise>
976                  </xsl:choose>
977                </xsl:when>
978                <xsl:when test="$other/wnpp/@type='RFP'">
979                  <xsl:choose>
980                    <xsl:when test="@release!='unstable' and @release!='experimental'">
981                      The WNPP database contains an RFP (Request For Package). This probably
982                      means that somebody would like to see this package reintroduced into
983                      unstable by a volunteer.
984                    </xsl:when>
985                    <xsl:otherwise>
986                      The WNPP database contains an RFP (Request For Package) entry
987                      for this package.  This is probably an error, as it has already
988                      been packaged.
989                    </xsl:otherwise>
990                  </xsl:choose>
991                </xsl:when>
992                <xsl:when test="$other/wnpp/@type='RM'">
993                  <span style="font-weight: bold">This package has been requested to be
994                    removed</span>.
995                  This means that, when this request gets processed by an ftp-master, this
996                  package will no longer be in unstable, and will automatically be removed
997                  from testing too afterwards. If for some reason you want keep this
998                  package in unstable, please discuss so in the bug.
999                </xsl:when>
1000                <xsl:otherwise>
1001                  The WNPP database contains an entry for this package,
1002                  but it is unclear what kind of entry it is. This is probably an error.
1003                </xsl:otherwise>
1004              </xsl:choose>
1005              <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
1006              Please see bug number <a href="http://bugs.debian.org/{$bn}">
1007                #<xsl:value-of select="$bn"/></a> for more information.
1008            </li>
1009          </xsl:if>
1010    
1011          <!-- disable watch rendering, see above -->
1012          <!--
1013          <xsl:if test="$other/@watch='yes'">
1014            <li>
1015              <xsl:if test="$other/watch/@warning!=''">
1016                uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
1017              </xsl:if>
1018            </li>
1019          </xsl:if>
1020          -->
1021          <xsl:if test="$other[dehs/@error]">
1022            <li>The package has a <kbd>debian/watch</kbd> file, but the last
1023              attempt to use it for checking for newer upstream versions failed
1024              with
1025              <a href="http://dehs.alioth.debian.org/maintainer.php?name={$escaped-package}">an
1026                error</a>.</li>
1027        </xsl:if>        </xsl:if>
1028    
1029        <!-- Misc problems reported -->        <!-- Misc problems reported -->
1030        <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">  
1031          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
1032        </xsl:for-each>        </xsl:for-each>
1033      </xsl:if>      </xsl:if>
1034    </xsl:variable>    </xsl:variable>
1035    <xsl:if test="count($static)>0 and string($static)!=''">    <xsl:if test="count($problems)>0 and string($problems)!=''">
1036      <tr class="titlerow">      <tr class="titlerow">
1037      <td class="titlecell">        <td class="titlecell" id="problems">
1038      Static Information          Problems
1039      </td></tr>      </td></tr>
1040      <tr class="normalrow">      <tr class="normalrow">
1041      <td class="contentcell2"><xsl:copy-of select="$static"/></td>        <td class="contentcell2">
1042            <ul><xsl:copy-of select="$problems"/></ul>
1043          </td>
1044      </tr>      </tr>
1045    </xsl:if>    </xsl:if>
1046    </xsl:template>
1047    <xsl:variable name="news">  
1048      <xsl:if test="$hasnews">  <xsl:template name="testing-status">
1049        <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)!=''">  
1050      <tr class="titlerow">      <tr class="titlerow">
1051      <td class="titlecell">        <td class="titlecell">
1052      Latest News          Testing status
1053      </td></tr>      </td></tr>
1054      <tr class="normalrow">      <tr class="normalrow">
1055      <td class="contentcell2"><xsl:copy-of select="$news"/></td>        <td class="contentcell2" style="text-align: left">
1056            <ul>
1057              <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1058                <xsl:call-template name="outputitem"/>
1059              </xsl:for-each>
1060            </ul>
1061          </td>
1062      </tr>      </tr>
1063    </xsl:if>    </xsl:if>
1064    </xsl:template>
1065    
1066    <xsl:template name="static-info">
1067      <xsl:call-template name="output-static">
1068        <xsl:with-param name="static" select="$static" />
1069      </xsl:call-template>
1070    </xsl:template>
1071    
1072    <xsl:template name="latest-news">
1073      <xsl:call-template name="output-news">
1074        <xsl:with-param name="news" select="$news" />
1075      </xsl:call-template>
1076    </xsl:template>
1077    
1078    <xsl:variable name="static">
1079      <xsl:if test="$hasnews">
1080        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1081          <xsl:call-template name="outputitem"/>
1082        </xsl:for-each>
1083      </xsl:if>
1084    </xsl:variable>
1085    
1086    <xsl:variable name="news">
1087      <xsl:if test="$hasnews">
1088        <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1089          <xsl:call-template name="outputitem"/>
1090        </xsl:for-each>
1091      </xsl:if>
1092    </xsl:variable>
1093    
1094    <!-- All the work is done in a single template -->
1095    <xsl:template match="source">
1096    
1097      <!-- Start of html -->
1098      <xsl:text disable-output-escaping="yes">
1099      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
1100      </xsl:text>
1101      <html>
1102      <head>
1103      <meta name="ROBOTS" content="NOFOLLOW"/>
1104      <link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
1105      <link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
1106      <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1107      <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1108      <script type="text/javascript" src="../common/pts.js"></script>
1109      <xsl:if test="count($news)>0 and string($news)!=''">
1110        <link rel="alternate" type="application/rss+xml" title="RSS"
1111          href="{$package}/news.rss20.xml" />
1112      </xsl:if>
1113      <title>Overview of <xsl:value-of select="$package"/> source package</title>
1114      </head>
1115      <body onload="javascript:onLoad();">
1116    
1117      <div id="quickforms" style="float: right;">
1118      <form method="get" action="/common/index.html">
1119      <p><span title="Jump to package">Go:</span>
1120      <input type="text" name="src" value=""/></p>
1121      </form>
1122      <form id="csspref-form" method="get" action="/common/set-csspref.php">
1123      <p>Switch style: <select name="csspref" onchange="javascript:onChangeStyle();">
1124      <option value="revamp.css">Default</option>
1125      <option value="compact.css">Compact</option>
1126      <option value="pts.css">Legacy</option>
1127      </select></p>
1128      </form>
1129    
1130      </div>
1131      <h1>Overview of
1132      <xsl:element name="a">
1133        <xsl:attribute name="href">
1134          <xsl:text>http://packages.debian.org/src:</xsl:text>
1135           <xsl:value-of select="$package"/>
1136        </xsl:attribute>
1137       <xsl:value-of select="$package"/>
1138      </xsl:element>
1139      source package</h1>
1140    
1141      <div id="body">
1142      <xsl:choose>
1143      <xsl:when test="$removed='yes'">
1144      <!-- REMOVED PACKAGE -->
1145      <p>This package is not part of any Debian distribution. Thus you won't
1146      find much information here. The package is either very new and hasn't
1147      appeared on mirrors yet, or it's an old package that eventually got removed.
1148      The old news are kept for historic purpose only.</p>
1149    
1150      <table class="righttable">
1151        <xsl:call-template name="static-info" />
1152        <xsl:call-template name="latest-news" />
1153      </table>
1154    
1155      <!-- END REMOVED PACKAGE -->
1156      </xsl:when>
1157      <xsl:otherwise>
1158      <!-- NON REMOVED PACKAGE -->
1159    
1160      <table class="containertable">
1161      <tr class="containerrow" valign="top">
1162      <td class="containercell">
1163      <!-- LEFT SIDE -->
1164      <table class="lefttable">
1165        <xsl:call-template name="general-information" />
1166        <xsl:call-template name="available-versions" />
1167      </table>
1168      <table class="lefttable">
1169        <xsl:call-template name="package-files" />
1170        <xsl:call-template name="binary-packages" />
1171      </table>
1172      <!-- END LEFT SIDE -->
1173      </td><td class="containercell">
1174      <!-- RIGHT SIDE -->
1175      <table class="righttable">
1176        <xsl:call-template name="todo-list" />
1177        <xsl:call-template name="problems" />
1178      </table>
1179      <table class="righttable">
1180        <xsl:call-template name="testing-status" />
1181        <xsl:call-template name="static-info" />
1182        <xsl:call-template name="latest-news" />
1183    </table>    </table>
1184    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
1185      </td><td class="containercell">
1186      <table class="lefttable">
1187        <xsl:call-template name="bugs-count" />
1188        <xsl:call-template name="pts-subscription" />
1189      </table>
1190      <table class="lefttable">
1191        <xsl:call-template name="patches" />
1192      </table>
1193      <table class="lefttable">
1194        <xsl:call-template name="other-links" />
1195      </table>
1196    </td></tr>    </td></tr>
1197    </table>    </table>
1198    
1199      <!-- END NON REMOVED PACKAGE -->
1200      </xsl:otherwise>
1201      </xsl:choose>
1202    
1203    <hr/>    <hr/>
1204    Debian Package Tracking System - Copyright 2002-2003 Raphaël Hertzog<br/>    <div class="footer">
1205    Last modified : <xsl:value-of select="$date"/>      <p>
1206          <a href="http://www.debian.org">Debian</a> Package Tracking System -
1207          Copyright 2002-2008 Raphaël Hertzog and others.<br/>
1208          Report problems to the <a href="http://bugs.debian.org/qa.debian.org"
1209            ><tt>qa.debian.org</tt> pseudopackage</a> in the <a
1210            href="http://bugs.debian.org">Debian <acronym title="Bug Tracking
1211              System">BTS</acronym></a>.<br/>
1212          Last modified : <xsl:value-of select="$date"/>.
1213        </p>
1214      </div>
1215      </div>
1216    </body>    </body>
1217    </html>    </html>
1218  </xsl:template>  </xsl:template>

Legend:
Removed from v.600  
changed lines
  Added in v.1823

  ViewVC Help
Powered by ViewVC 1.1.5