diff options
author | Andrew Dolgov <[email protected]> | 2007-10-29 09:21:31 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-10-29 09:21:31 +0100 |
commit | 0cacc891604d6c28f3dde88fdfd9287ca508bf4f (patch) | |
tree | 6936757e3fc4ad21ef1e69423768365fd265acdc /functions.php | |
parent | 2918ff5eaa5b36bd2c516ade08101f491baa4c75 (diff) |
update translations
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/functions.php b/functions.php index 2d5003a78..f9a78b51b 100644 --- a/functions.php +++ b/functions.php @@ -4587,7 +4587,15 @@ } else { $add_class = ""; } - + + $expand_cdm = get_pref($link, 'CDM_EXPANDED'); + + if ($expand_cdm) { + $cdm_cstyle = ""; + } else { + $cdm_cstyle = "style=\"display : none\""; + } + print "<div class=\"cdmArticle$add_class\" id=\"RROW-$id\" onmouseover='cdmMouseIn(this)' onmouseout='cdmMouseOut(this)'>"; @@ -4602,6 +4610,13 @@ print $entry_author; + if (!$expand_cdm) { + print " <a id=\"CICH-$id\" + href=\"javascript:cdmExpandArticle($id)\"> + (".__('Show article').")</a>"; + } + + if ($line["feed_title"]) { print " (<a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a>)"; } @@ -4613,27 +4628,20 @@ "target=\"_new\" href=", $line["content_preview"]); } - $expand_cdm = get_pref($link, 'CDM_EXPANDED'); + print "<div class=\"cdmContent\" id=\"CICD-$id\" $cdm_cstyle>"; - if ($expand_cdm) { - $cdm_cstyle = ""; - } else { - $cdm_cstyle = "style=\"display : none\""; - } - - print "<div class=\"cdmContent\">"; - - print "<div class=\"cdmInnerContent\" id=\"CICD-$id\" $cdm_cstyle>"; +// print "<div class=\"cdmInnerContent\" id=\"CICD-$id\" $cdm_cstyle>"; print $line["content_preview"]; - print "</div>"; + print "<br clear='both'>"; +// print "</div>"; - if (!$expand_cdm) { +/* if (!$expand_cdm) { print "<a id=\"CICH-$id\" href=\"javascript:cdmExpandArticle($id)\"> Show article</a>"; - } + } */ - print "</div><br clear=\"all\">"; + print "</div>"; print "<div class=\"cdmFooter\"><span class='s0'>"; |