From dab57f03155e4600ac75ce1386c27df14d62dd0b Mon Sep 17 00:00:00 2001
From: Manuel Hiebel
Date: Tue, 7 Mar 2017 00:23:51 +0100
Subject: show magnet link on torrent (if available)
to be set on definitions.ini
---
en/downloads/get/index.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'en')
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'), '' . $product['name'] . '' . ($torrent ? ' (torrent)' : '')),
' ', sprintf(_r('(download size is about %s).'), $product['size']),
- ' ', sprintf(_r('If the download does not start, click here.'), $download, $download);
+ ' ', sprintf(_r('If the download does not start, click here.'), $download, $download),
+ sprintf( '%s', ($product['magnet'] ? ' | Magnet' : '' ));
?>
--
cgit v1.2.1