diff options
author | filip <filip.komar@gmail.com> | 2015-05-02 16:13:53 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2015-05-02 16:13:53 +0200 |
commit | e31ec4507c495254239f11841d81c865e80e41a9 (patch) | |
tree | e0c62b5c7cc2e0564e7ae13d6ce8e82a6058da78 /en/doc/doc.php | |
parent | c2158bebcc570b4f1a573122a546310268434e9e (diff) | |
download | www-e31ec4507c495254239f11841d81c865e80e41a9.tar www-e31ec4507c495254239f11841d81c865e80e41a9.tar.gz www-e31ec4507c495254239f11841d81c865e80e41a9.tar.bz2 www-e31ec4507c495254239f11841d81c865e80e41a9.tar.xz www-e31ec4507c495254239f11841d81c865e80e41a9.zip |
adding download of pdf and epub file infrastructure
Diffstat (limited to 'en/doc/doc.php')
-rw-r--r-- | en/doc/doc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php index 0be4aa318..9015b3626 100644 --- a/en/doc/doc.php +++ b/en/doc/doc.php @@ -33,7 +33,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null $other_languages_present = FALSE; $note_printed = FALSE; // temporary hidding of the EPUB and PDF links - $hide_epub_pdf = TRUE; + $hide_epub_pdf = FALSE; $table = PHP_EOL . '<table class="dlt2 dlinfo" style="font-size: 10pt;">' . PHP_EOL; // $table .= '<thead><tr><th></th></tr></thead>'; $table .= "\t<tbody>" . PHP_EOL; @@ -52,7 +52,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null '<span style="font-weight:bold">' . $documentation_name . '</span>', $lng_name, sprintf($link, $lng)); } else { $your_language = sprintf(_r('%s available in %s') . '<br/>%s <span style="font-size: 07pt;">('. - _r('also as') . '%s , %s)</span>', + _r('also as') . ' %s, %s)</span>', '<span style="font-weight:bold">' . $documentation_name . '</span>', $lng_name, sprintf($link, $lng), sprintf($epub_link, $lng), sprintf($pdf_link, $lng)); } @@ -62,12 +62,12 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null $others[] = sprintf('%s<br/>%s', $lng_name, sprintf($link, $lng)); } else { if(!$note_printed) { - $note = _r('also as'); + $note = _r('also as') . ' '; $note_printed = TRUE; } else { $note = ''; } - $others[] = sprintf('%s<br/>%s <span style="font-size: 07pt;">(%s%s , %s)</span>', + $others[] = sprintf('%s<br/>%s <span style="font-size: 07pt;">(%s%s, %s)</span>', $lng_name, sprintf($link, $lng), $note, sprintf($epub_link, $lng), sprintf($pdf_link, $lng), sprintf($link, $lng)); } } |