aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-06-01 18:30:22 +0000
committerRomain d'Alverny <rda@mageia.org>2011-06-01 18:30:22 +0000
commit9b1603e307e3061a9416b52070ca608b031ceb90 (patch)
treee4a7607d3fd771634bc3c109e94bdee5bd8c55a0 /en
parenta9b5cf37727f56b0a6ed710e64875cde76060a5b (diff)
downloadwww-9b1603e307e3061a9416b52070ca608b031ceb90.tar
www-9b1603e307e3061a9416b52070ca608b031ceb90.tar.gz
www-9b1603e307e3061a9416b52070ca608b031ceb90.tar.bz2
www-9b1603e307e3061a9416b52070ca608b031ceb90.tar.xz
www-9b1603e307e3061a9416b52070ca608b031ceb90.zip
do no show md5/sha1 for torrents
Diffstat (limited to 'en')
-rw-r--r--en/downloads/dl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/downloads/dl.php b/en/downloads/dl.php
index 009ae6320..23c24596b 100644
--- a/en/downloads/dl.php
+++ b/en/downloads/dl.php
@@ -110,14 +110,14 @@ $dl2_mirror_alt = sprintf($_t['dl_mirror_loc'],
<h2><?php echo $_t['page_title']; ?></h2>
<p><?php
echo
- sprintf($_t['dl_shld_start'], '<em class="tag">' . $p['name'] . '</em>'),
+ sprintf($_t['dl_shld_start'], '<em class="tag">' . $p['name'] . '</em>' . ($torrent ? ' (torrent)' : '')),
' ', sprintf($_t['dl_size'], $p['size']),
' ', sprintf($_t['alt_download'], $dl_link, $dl_link);
?></p>
<div class="dlinfo">
<p><?php echo $dl2_mirror_alt; ?></p>
- <?php if (isset($p['md5'])): ?>
+ <?php if (isset($p['md5']) && !$torrent): ?>
<p><?php echo $_t['signs_check_1']; ?></p>
<div id="check-signs">
<pre class="term">