aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/doc/doc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php
index cec324811..ba8f67b87 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -25,6 +25,8 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null
$your_language_present = FALSE;
$other_languages_present = FALSE;
$note_printed = FALSE;
+ // temporary hidding of the EPUB and PDF links
+ $hide_epub_pdf = TRUE;
$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;
@@ -40,7 +42,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null
if ($link_locale == $lng) {
$your_language_present = TRUE;
- if (is_null($epub_link) or is_null($pdf_link)) {
+ if (is_null($epub_link) or is_null($pdf_link) or $hide_epub_pdf) {
$your_language = sprintf(_t('%s available in %s') . '<br/>%s',
'<span style="font-weight:bold">' . $documentation_name . '</span>', $lng_name, sprintf($link, $lng));
} else {
@@ -51,7 +53,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null
}
} else {
$other_languages_present = TRUE;
- if (is_null($epub_link) or is_null($pdf_link)) {
+ if (is_null($epub_link) or is_null($pdf_link) or $hide_epub_pdf) {
$others[] = sprintf('%s<br/>%s', $lng_name, sprintf($link, $lng));
} else {
if(!$note_printed) {