diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2017-03-07 00:23:51 +0100 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2017-03-07 00:23:51 +0100 |
commit | dab57f03155e4600ac75ce1386c27df14d62dd0b (patch) | |
tree | 1e4aa59862aa8561ca18f6c602ed4a6f4d2882a6 /en | |
parent | fde8b0ca78929cee2ad59389f7e59dd962ba113d (diff) | |
download | www-dab57f03155e4600ac75ce1386c27df14d62dd0b.tar www-dab57f03155e4600ac75ce1386c27df14d62dd0b.tar.gz www-dab57f03155e4600ac75ce1386c27df14d62dd0b.tar.bz2 www-dab57f03155e4600ac75ce1386c27df14d62dd0b.tar.xz www-dab57f03155e4600ac75ce1386c27df14d62dd0b.zip |
show magnet link on torrent (if available)
to be set on definitions.ini
Diffstat (limited to 'en')
-rw-r--r-- | en/downloads/get/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index 3a394dbbb..69248943b 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -227,7 +227,8 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') { echo sprintf(_r('Your download of %s should start within a few seconds'), '<em class="tag">' . $product['name'] . '</em>' . ($torrent ? ' (torrent)' : '')), ' ', sprintf(_r('(download size is about %s).'), $product['size']), - ' ', sprintf(_r('If the download does not start, <a href="%s" rel="nofollow" title="%s">click here</a>.'), $download, $download); + ' ', sprintf(_r('If the download does not start, <a href="%s" rel="nofollow" title="%s">click here</a>.'), $download, $download), + sprintf( '%s', ($product['magnet'] ? ' | <a href="' . $product['magnet'] .'">Magnet</a>' : '' )); ?></p> <div class="dlinfo"> |