diff options
-rw-r--r-- | functions.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/functions.php b/functions.php index 32240b1ac..7de4ed1b5 100644 --- a/functions.php +++ b/functions.php @@ -4636,9 +4636,11 @@ print $line["content_preview"]; print "</div>"; - print "<a id=\"CICH-$id\" - href=\"javascript:cdmExpandArticle($id)\"> - Show article</a>"; + if (!$expand_cdm) { + print "<a id=\"CICH-$id\" + href=\"javascript:cdmExpandArticle($id)\"> + Show article</a>"; + } print "</div><br clear=\"all\">"; |