aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get/definitions.php
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
committerThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
commit9ce6d646ff718cd62f6434c9a4c94e450436612a (patch)
tree3ee82e5db7c0aee44a5573d9d17035c6ecac697d /en/downloads/get/definitions.php
parenta0b2d09125d7911656fe4cb286f20643c4432281 (diff)
downloadwww-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.gz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.bz2
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.xz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.zip
Revert "Updated Estonian translation"
Diffstat (limited to 'en/downloads/get/definitions.php')
-rw-r--r--en/downloads/get/definitions.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/en/downloads/get/definitions.php b/en/downloads/get/definitions.php
new file mode 100644
index 000000000..28f2fa653
--- /dev/null
+++ b/en/downloads/get/definitions.php
@@ -0,0 +1,18 @@
+<?php
+
+$ini = parse_ini_file('definitions.ini', true);
+
+foreach ($ini as $section => $values) {
+
+ echo '<section><h2>', $section, '</h2>';
+ echo sprintf('<section><h2>%s</h2><ul><li><code>%s</code></li><li>%s</li></section>',
+ $values['name'],
+ '$MIRROR/' . $values['path'] . $values['file'],
+ $values['size']
+ );
+
+ echo '<ul>';
+ foreach ($values as $k => $v)
+ echo '<li>', $k, ' = ', $v, '</li>';
+ echo '</ul></section>';
+} \ No newline at end of file