aboutsummaryrefslogtreecommitdiffstats
path: root/en/doc
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-01-21 15:25:46 +0000
committerFilip Komar <filip@mageia.org>2014-01-21 15:25:46 +0000
commit478267bb232532b9df856bc12b492e5c138d2ab7 (patch)
tree8de46c1024570ff578ac97d60083d2cdcb6b20f6 /en/doc
parent24779c5b13e6c1830462169c36fec6d888cc2949 (diff)
downloadwww-478267bb232532b9df856bc12b492e5c138d2ab7.tar
www-478267bb232532b9df856bc12b492e5c138d2ab7.tar.gz
www-478267bb232532b9df856bc12b492e5c138d2ab7.tar.bz2
www-478267bb232532b9df856bc12b492e5c138d2ab7.tar.xz
www-478267bb232532b9df856bc12b492e5c138d2ab7.zip
doc entry page prepared for warning about old existing translation
Diffstat (limited to 'en/doc')
-rw-r--r--en/doc/archive.php2
-rw-r--r--en/doc/doc.php10
-rw-r--r--en/doc/index.php8
3 files changed, 10 insertions, 10 deletions
diff --git a/en/doc/archive.php b/en/doc/archive.php
index 61264ad2e..d0b5de611 100644
--- a/en/doc/archive.php
+++ b/en/doc/archive.php
@@ -28,7 +28,7 @@ require 'doc.php';
<h3>Mageia 2</h3>
<div style="float: left; margin: 2em;">
<p><?php
- doc_list(_t('Installer'), $mga2_installer, '<a href="//doc.mageia.org/installer/2/%s/content/index.html">HTML</a>');
+ doc_list(_t('Installer'), $documentation['installer'][2], '<a href="//doc.mageia.org/installer/2/%s/content/index.html">HTML</a>');
?></p>
</div>
</div>
diff --git a/en/doc/doc.php b/en/doc/doc.php
index 25dc0a742..f715b03aa 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -1,12 +1,12 @@
<?php
-$mga4_installer = array('ca','cs','de','el','en','eo','es','et','fr','id','nl','pl','pt_br','ro','ru','sv','tr','uk');
-$mga4_control_center = array('de','en','et','fr','id','nl','ru','tr','uk');
+$documentation['installer'][4] = array('ca','cs','de','el','en','eo','es','et','fr','id','nl','pl','pt_br','ro','ru','sv','tr','uk');
+$documentation['control_center'][4] = array('de','en','et','fr','id','nl','ru','tr','uk');
-$mga3_installer = array('de','el','en','es','et','fr','nl','pt_br','ru','uk');
-$mga3_control_center = array('en','et','fr');
+$documentation['installer'][3] = array('de','el','en','es','et','fr','nl','pt_br','ru','uk');
+$documentation['control_center'][3] = array('en','et','fr');
-$mga2_installer = array('de','el','en','eo','fr','nl','pt_br','uk');
+$documentation['installer'][2] = array('de','el','en','eo','fr','nl','pt_br','uk');
function doc_list($documentation_name, $languages, $link, $epub_link = null, $pdf_link = null)
{
diff --git a/en/doc/index.php b/en/doc/index.php
index 94512db55..610e6090f 100644
--- a/en/doc/index.php
+++ b/en/doc/index.php
@@ -32,14 +32,14 @@ require 'doc.php';
<h3>Mageia 4</h3>
<div style="float: left; margin: 2em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Installer'), $mga4_installer, '<a href="//doc.mageia.org/installer/4/%s/content/index.html">HTML</a>',
+ doc_list(_t('Installer'), $documentation['installer'][4], '<a href="//doc.mageia.org/installer/4/%s/content/index.html">HTML</a>',
'<a href="//doc.mageia.org/installer/4/%s/content/index.html">EPUB</a>',
'<a href="//doc.mageia.org/installer/4/%s/content/index.html">PDF</a>');
?></p>
</div>
<div style="float: right; margin: 2em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Control Center'), $mga4_control_center, '<a href="//doc.mageia.org/mcc/4/%s/content/index.html">HTML</a>',
+ doc_list(_t('Control Center'), $documentation['control_center'][4], '<a href="//doc.mageia.org/mcc/4/%s/content/index.html">HTML</a>',
'<a href="//doc.mageia.org/mcc/4/%s/content/index.html">EPUB</a>',
'<a href="//doc.mageia.org/mcc/4/%s/content/index.html">PDF</a>');
?></p>
@@ -48,12 +48,12 @@ require 'doc.php';
<h3>Mageia 3</h3>
<div style="float: left; margin: 2em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Installer'), $mga3_installer, '<a href="//doc.mageia.org/installer/3/%s/content/index.html">HTML</a>');
+ doc_list(_t('Installer'), $documentation['installer'][3], '<a href="//doc.mageia.org/installer/3/%s/content/index.html">HTML</a>');
?></p>
</div>
<div style="float: right; margin: 2em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Control Center'), $mga3_control_center, '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">HTML</a>');
+ doc_list(_t('Control Center'), $documentation['control_center'][3], '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">HTML</a>');
?></p>
</div>
</div>