diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-05-30 16:19:19 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-05-30 16:19:19 +0000 |
commit | d12ab85835d77add3f072cf5adab03d2337d0379 (patch) | |
tree | dfd76cd434bf367b8c674693b30eac91944a0873 /downloads.php | |
parent | 66ee1692e64985cf6614159da368fd9eb869df3c (diff) | |
download | www-d12ab85835d77add3f072cf5adab03d2337d0379.tar www-d12ab85835d77add3f072cf5adab03d2337d0379.tar.gz www-d12ab85835d77add3f072cf5adab03d2337d0379.tar.bz2 www-d12ab85835d77add3f072cf5adab03d2337d0379.tar.xz www-d12ab85835d77add3f072cf5adab03d2337d0379.zip |
downloads section is not only about ISOs but other products as well
Diffstat (limited to 'downloads.php')
-rw-r--r-- | downloads.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/downloads.php b/downloads.php index 464d19688..f9d8c184d 100644 --- a/downloads.php +++ b/downloads.php @@ -44,6 +44,9 @@ $glob = array_shift($prods); $popularity = array_shift($prods); $i = 0; foreach ($prods as $k => $p) { + if (isset($p['hidden'])) { + continue; + } $iso = sprintf('%s-%s', $glob['prefix'], $k); $dl_link = sprintf('/%s/downloads/dl.php?product=%s', $locale, $iso); |