diff options
-rw-r--r-- | en/doc/index.php | 8 | ||||
-rw-r--r-- | en/downloads/get/index.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/en/doc/index.php b/en/doc/index.php index 157f834c1..727e3ba49 100644 --- a/en/doc/index.php +++ b/en/doc/index.php @@ -34,15 +34,15 @@ require 'doc.php'; <div style="float: left; margin: 1em; width: 24em;"> <p style="margin-left: 2em;"><?php doc_list(_r('Installer'), 'installer', 4, '<a href="//doc.mageia.org/installer/4/%s/content/index.html">HTML</a>', - '<a rel="nofollow" href="../downloads/get/?q=Mageia4_DrakX_%s_epub&doc=yes" title="Mageia installer EPUB">EPUB</a>', - '<a rel="nofollow" href="../downloads/get/?q=Mageia4_DrakX_%s_pdf&doc=yes" title="Mageia installer PDF">PDF</a>'); + '<a rel="nofollow" href="../downloads/get/?q=Mageia4-DrakX-%s-epub&doc=yes" title="Mageia installer EPUB">EPUB</a>', + '<a rel="nofollow" href="../downloads/get/?q=Mageia4-DrakX-%s-pdf&doc=yes" title="Mageia installer PDF">PDF</a>'); ?></p> </div> <div style="float: right; margin: 1em; width: 24em;"> <p style="margin-left: 2em;"><?php doc_list(_r('Control Center'), 'control_center', 4, '<a href="//doc.mageia.org/mcc/4/%s/content/index.html">HTML</a>', - '<a rel="nofollow" href="../downloads/get/?q=Mageia4_MCC_%s_epub&doc=yes" title="Mageia MCC EPUB">EPUB</a>', - '<a rel="nofollow" href="../downloads/get/?q=Mageia4_MCC_%s_pdf&doc=yes" title="Mageia MCC PDF">PDF</a>'); + '<a rel="nofollow" href="../downloads/get/?q=Mageia4-MCC-%s-epub&doc=yes" title="Mageia MCC EPUB">EPUB</a>', + '<a rel="nofollow" href="../downloads/get/?q=Mageia4-MCC-%s-pdf&doc=yes" title="Mageia MCC PDF">PDF</a>'); ?></p> </div> </div> diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index fc4497f98..247b7321c 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -61,7 +61,7 @@ $js_redirect = null; $reason = null; if ($doc == 'yes') { $def_file = 'definitions_doc.ini'; - list($release, $type, $lang, $extension) = explode('_', $product); // 'Mageia4_DrakX_en_epub' + list($release, $type, $lang, $extension) = explode('-', $product); // 'Mageia4-DrakX-pt_br-epub' $product = implode('_', array($release, $type, 'en', $extension)); $documentation = true; } else { |