From 9341e039a63c9e8fb6afd314fef73e48460b72e2 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Fri, 25 Nov 2011 13:31:37 +0000 Subject: fix checksums display --- en/downloads/get/definitions.ini | 4 ---- en/downloads/get/index.php | 8 +++++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'en/downloads') diff --git a/en/downloads/get/definitions.ini b/en/downloads/get/definitions.ini index d767d717b..a1f34a4a5 100644 --- a/en/downloads/get/definitions.ini +++ b/en/downloads/get/definitions.ini @@ -30,8 +30,6 @@ file = mgaonline-2.77.29-1.mga1.noarch.rpm ; [Mageia-2-alpha1-Boot-i586-CD.iso] file = boot.iso -md5 = -sha1 = path = "distrib/cauldron/i586/install/images" name = "Mageia 2 alpha1 Boot 32bit CD ISO" size = "38 MB" @@ -39,8 +37,6 @@ size = "38 MB" ; [Mageia-2-alpha1-Boot-x86_64-CD.iso] file = boot.iso -md5 = -sha1 = path = "distrib/cauldron/x86_64/install/images" name = "Mageia 2 alpha1 Boot 64bit CD ISO" size = "39 MB" diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index 886c066ee..0d19ad9e5 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -146,13 +146,15 @@ $_t['page_title'] = sprintf($_t['page_title'], '' . $title . '

- + 0) + || (isset($product['sha1'])) && strlen($product['sha1']) > 0) + && !$torrent): ?>

-$ md5sum ", $product['md5'], "\n"; endif; ?>
+$ md5sum ", $product['md5'], "\n"; endif; ?>
 
-$ sha1sum ", $product['sha1'], "\n"; endif; ?>
+$ sha1sum ", $product['sha1'], "\n"; endif; ?>
 

-- cgit v1.2.1