zoomed article: support opening attachments

This commit is contained in:
Andrew Dolgov 2013-07-11 22:14:48 +04:00
parent 8096e309a5
commit 761af552d9
1 changed files with 15 additions and 0 deletions

View File

@ -3166,6 +3166,21 @@
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
<title>Tiny Tiny RSS - ".$line["title"]."</title> <title>Tiny Tiny RSS - ".$line["title"]."</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"css/tt-rss.css\"> <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\">"; </head><body id=\"ttrssZoom\">";
} }