aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-02-16 09:27:40 +0000
committerFilip Komar <filip@mageia.org>2013-02-16 09:27:40 +0000
commitce7c957c2082769f06d82231dd4352eaca969a39 (patch)
tree71b62e53dee19e39d9e856e577c2c86bb97f4a9a /langs/report.php
parentdcc3c20e3fb8ff0cf1c2274b92fee754d1f4be49 (diff)
downloadwww-ce7c957c2082769f06d82231dd4352eaca969a39.tar
www-ce7c957c2082769f06d82231dd4352eaca969a39.tar.gz
www-ce7c957c2082769f06d82231dd4352eaca969a39.tar.bz2
www-ce7c957c2082769f06d82231dd4352eaca969a39.tar.xz
www-ce7c957c2082769f06d82231dd4352eaca969a39.zip
finalizing 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 f33c10c1c..a113aa109 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -200,7 +200,6 @@
}
$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;
@@ -210,6 +209,7 @@
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($table_body, $en_language); // unshift English back
$s = implode($table_body);
echo <<<S