summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-10-18 04:02:28 +0100
committerAndrew Dolgov <[email protected]>2007-10-18 04:02:28 +0100
commit12f5d8fe4b4b6c414604a53a43a7f33478b666f0 (patch)
tree536fbf56c58aff86294a430a4c03ed85f8e25ad8 /functions.php
parenta70ab7400bd9b51099f5caeb063782f4d7a196ce (diff)
hide expand article link when CDM is auto-expanded
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
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\">";