summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php15
-rw-r--r--include/rssfuncs.php2
2 files changed, 17 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 145f09804..1abaaf60f 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3166,6 +3166,21 @@
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
<title>Tiny Tiny RSS - ".$line["title"]."</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"css/tt-rss.css\">
+ <script type=\"text/javascript\">
+ function openSelectedAttachment(elem) {
+ try {
+ var url = elem[elem.selectedIndex].value;
+
+ if (url) {
+ window.open(url);
+ elem.selectedIndex = 0;
+ }
+
+ } catch (e) {
+ exception_error(\"openSelectedAttachment\", e);
+ }
+ }
+ </script>
</head><body id=\"ttrssZoom\">";
}
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index cfb0e7a46..bfec5511d 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -677,6 +677,7 @@
comments,
num_comments,
plugin_data,
+ cached_content,
author)
VALUES
('$entry_title',
@@ -691,6 +692,7 @@
'$entry_comments',
'$num_comments',
'$entry_plugin_data',
+ '$entry_guid',
'$entry_author')");
$article_labels = array();