From d8b0be92e684935c9d0de3a7aae3a685e296ca2a Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Sat, 15 Jul 2017 23:21:56 +0200 Subject: Fix table show when there is several version --- en/doc/doc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 en/doc/doc.php (limited to 'en/doc') diff --git a/en/doc/doc.php b/en/doc/doc.php old mode 100644 new mode 100755 index 488e31d96..44205c2b1 --- a/en/doc/doc.php +++ b/en/doc/doc.php @@ -125,12 +125,12 @@ function doc_list($documentation_name, $type, $version) if ($your_language_present) { $text_your_language = '' . _r('Documentation in your language:') . '
'; if ($other_languages_present) { - $text_others = ''; + $text_others = ''; } $table .= sprintf("\t%s" . PHP_EOL . "\t%s" . PHP_EOL . - '' . PHP_EOL , - $your_language, $text_others, $name); + '' . PHP_EOL , + $your_language, $text_others, $name, $version); } else { foreach($documentation[$type] as $single_version => $all_languages) { if($single_version < $version && in_array($link_locale, $all_languages)) { @@ -144,9 +144,9 @@ function doc_list($documentation_name, $type, $version) } $text_your_language = _r('Please help us translate it in your language.') . '
'; $table .= sprintf("\t%s
" . PHP_EOL . - "\t%s" . PHP_EOL . '%s' . - "\t" . PHP_EOL , - '' . $documentation_name . '', $text_your_language, $language_present_before, $name); + "\t%s" . PHP_EOL . '%s' . + "\t" . PHP_EOL , + '' . $documentation_name . '', $text_your_language, $language_present_before, $name, $version); } foreach ($others as $other_languages) { $table .= sprintf("\t\t%s" . PHP_EOL, $other_languages); -- cgit v1.2.1