summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-06-24 16:05:08 +0100
committerAndrew Dolgov <[email protected]>2006-06-24 16:05:08 +0100
commit3d7d6cdd5718a39b9cbfa193e344264b2992bad6 (patch)
tree687f994cfc342f6426073ccc02320b8a2bdbc70b /mobile
parentc7188969ddd3777cecf38f02822c738b4a6f8df4 (diff)
mobile: article title in view mode is a link to original article (closes #80)
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index 845962c3a..0339b56f8 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -746,7 +746,8 @@
$feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>";
- print truncate_string($line["title"], 30);
+ print "<a href=\"" . $line["link"] . "\">" .
+ truncate_string($line["title"], 30) . "</a>";
print " <span id=\"headingAddon\">$parsed_updated ($feed_link)</span>";
print "</div>";