summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-10-22 08:54:38 +0100
committerAndrew Dolgov <[email protected]>2008-10-22 08:54:38 +0100
commit4710e3dc03ca8e03640d06fe0e2f0d28d31da32c (patch)
tree1071516f8744583ed102634e5ccf269600988ec3 /functions.php
parente5f51ff04d4cb6d04501ff080df99acd0332b627 (diff)
add (disabled) function to show original article inline in the content pane
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 8ecf737d7..b57087c00 100644
--- a/functions.php
+++ b/functions.php
@@ -4712,8 +4712,18 @@
if (!$zoom_mode) {
print "$tags_str
<a title=\"".__('Edit tags for this article')."\"
- href=\"javascript:editArticleTags($id, $feed_id)\">(+)</a>
- <img src=\"images/art-zoom.png\" class='tagsPic'
+ href=\"javascript:editArticleTags($id, $feed_id)\">(+)</a>";
+
+ if (defined('_ENABLE_INLINE_VIEW')) {
+
+ print "<img src=\"images/art-inline.png\" class='tagsPic'
+ onclick=\"showOriginalArticleInline($id)\"
+ alt='Inline' title='".__('Display original article content')."'>";
+
+ }
+
+ print "<img src=\"images/art-zoom.png\" class='tagsPic'
+ style=\"cursor : pointer\"
style=\"cursor : pointer\"
onclick=\"zoomToArticle($id)\"
alt='Zoom' title='".__('Show article summary in new window')."'>";