aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-02-14 20:19:27 +0000
committerFilip Komar <filip@mageia.org>2013-02-14 20:19:27 +0000
commitdcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49 (patch)
tree3c9dfda9346a8d0a6109eaa3e955383af96b8c27 /langs/report.php
parent70901bd81fac710fb2d0d949791357b685c25df4 (diff)
downloadwww-dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49.tar
www-dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49.tar.gz
www-dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49.tar.bz2
www-dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49.tar.xz
www-dcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49.zip
small correction of lang report page r2073
Diffstat (limited to 'langs/report.php')
-rw-r--r--langs/report.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/report.php b/langs/report.php
index 69c050849..f33c10c1c 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -200,6 +200,7 @@
}
$en_language = array_shift($languages); // shift English for proper sorting
krsort($languages, SORT_NUMERIC);
+ array_unshift($languages, $en_language); // unshift English back
$enFiles = array_map(function ($e) { return str_replace('en/', '', $e); }, $enFiles);
$thfiles = '<th>' . implode('</th><th>', $enFiles) . '</th>' . PHP_EOL;
@@ -209,7 +210,6 @@
foreach ($chunks as $chunk) {
$table_body = array_merge($table_body, $chunk, array(count($chunk) > 4 ? '<tr><th>&nbsp;</th><th>File</th>' . $thfiles : ''));
}
- array_unshift($languages, $en_language); // unshift English back
$s = implode($table_body);
echo <<<S