]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: add back-to-feedlist link in article view
authorAndrew Dolgov <fox@bah.org.ru>
Thu, 30 Jul 2009 08:49:18 +0000 (12:49 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Thu, 30 Jul 2009 08:49:18 +0000 (12:49 +0400)
mobile/functions.php

index a09b351a0c041a4e211d95efc1575d5a3b3c1e9f..28463dec63084a9ab79bc5e8b2ced188ce642e8e 100644 (file)
                                $feed_link = "<a href=\"tt-rss.php?go=vf&id=$ret_feed_id\">$feed_title</a>";
                        }
 
+                       $feedlist = "<a href=\"tt-rss.php\">".__('Back to feedlist')."</a>";
+
                        print "<a href=\"" . $line["link"] . "\">" . 
                                truncate_string($line["title"], 30) . "</a>";
-                       print " <span id=\"headingAddon\">$parsed_updated ($feed_link)</span>";
+                       print " <span id=\"headingAddon\">$parsed_updated ($feed_link, $feedlist)</span>";
                        print "</div>";
 
                        if ($num_tags > 0) {