From 16b6d6859544258bea750103e235bd7e216ecfc1 Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Wed, 5 Jul 2017 11:23:55 +0200 Subject: Adapt to bootstrap +replace custom .css with common header +use class of bootstrap instead of inline style +clean inline css --- en/doc/doc.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'en/doc/doc.php') diff --git a/en/doc/doc.php b/en/doc/doc.php index 46d54ad2c..488e31d96 100644 --- a/en/doc/doc.php +++ b/en/doc/doc.php @@ -77,7 +77,7 @@ function doc_list($documentation_name, $type, $version) $your_language_present = FALSE; $other_languages_present = FALSE; $note_printed = FALSE; - $table = PHP_EOL . '' . PHP_EOL; + $table = PHP_EOL . '
' . PHP_EOL; foreach ($documentation[$type][$version] as $lng) { // hopefully temporary exception for pt-br as convention for lang-abbrev in /langs.inc.php is different as link in doc.mageia.org @@ -101,8 +101,8 @@ function doc_list($documentation_name, $type, $version) $your_language = sprintf(_r('Online manual for %s available in %s') . '
', '' . $documentation_name . '', $lang_doc_link); } else { - $your_language = sprintf(_r('Online manual for %s available in %s') . '
('. - _r('also as file:') . ' %s)', + $your_language = sprintf(_r('Online manual for %s available in %s') . '
('. + _r('also as file:') . ' %s)', '' . $documentation_name . '', $lang_doc_link, $pdf_epub_links); } @@ -117,7 +117,7 @@ function doc_list($documentation_name, $type, $version) } else { $note = ''; } - $others[] = sprintf('%s (%s%s)', + $others[] = sprintf('%s (%s%s)', $lang_doc_link, $note, $pdf_epub_links, $lang_doc_link); } } @@ -125,10 +125,10 @@ 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 = '' . _r('Other languages:') . ''; + $text_others = ''; } - $table .= sprintf("\t" . PHP_EOL . - "\t" . PHP_EOL . + $table .= sprintf("\t" . PHP_EOL . + "\t" . PHP_EOL . '' . PHP_EOL , $your_language, $text_others, $name); } else { @@ -143,8 +143,8 @@ function doc_list($documentation_name, $type, $version) } } $text_your_language = _r('Please help us translate it in your language.') . '
'; - $table .= sprintf("\t" . PHP_EOL . '%s' . + $table .= sprintf("\t" . PHP_EOL . '%s' . "\t" . PHP_EOL , '' . $documentation_name . '', $text_your_language, $language_present_before, $name); } -- cgit v1.2.1
%s
%s
%s
%s
%s
" . PHP_EOL . - "\t%s
%s
" . PHP_EOL . + "\t%s