diff options
-rw-r--r-- | data/style.css | 3 | ||||
-rw-r--r-- | lib/VNDB/Handler/Misc.pm | 11 | ||||
-rw-r--r-- | static/f/icons.png | bin | 10352 -> 10825 bytes |
3 files changed, 11 insertions, 3 deletions
diff --git a/data/style.css b/data/style.css index f7b0ab72..09c44e4c 100644 --- a/data/style.css +++ b/data/style.css @@ -414,6 +414,7 @@ p.screenshots img { #maincontent .mainbox.threelayout h1 a { color: $boxtitle$; } +a.feed { float: right } @@ -1161,6 +1162,7 @@ div#iv_view { height: 11px; opacity: 0.5; } +.icons.feed { width: 12px; height: 12px } .icons.rtcomplete, .icons.rtpartial, .icons.rttrial { width: 11px; } acronym.icons, acronym.uicons { cursor: default; } a .icons { cursor: pointer } @@ -1173,6 +1175,7 @@ a .icons { cursor: pointer } .icons.gba { background-position: 0px -70px; } .icons.ps3 { background-position: 0px -84px; } .icons.p98 { background-position: 0px -98px; } +.icons.feed { background-position: 0px -112px; } .icons.dvd { background-position: -16px 0px; } .icons.mac { background-position: -16px -14px; } diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm index 901e25e0..cbd1dc50 100644 --- a/lib/VNDB/Handler/Misc.pm +++ b/lib/VNDB/Handler/Misc.pm @@ -63,7 +63,8 @@ sub homepage { # Recent changes td; h1; - a href => '/hist', mt '_home_recentchanges'; + a href => '/hist', mt '_home_recentchanges'; txt ' '; + a href => '/feeds/changes.atom'; cssicon 'feed'; end; end; my $changes = $self->dbRevisionGet(what => 'item user', results => 10, auto => 1); ul; @@ -82,7 +83,9 @@ sub homepage { td; my $an = $self->dbThreadGet(type => 'an', sort => 'id', reverse => 1, results => 2); h1; - a href => '/t/an', mt '_home_announcements'; + a href => '/t/an', mt '_home_announcements'; txt ' '; + a href => '/feeds/announcements.atom'; cssicon 'feed'; end; + end; for (@$an) { my $post = $self->dbPostGet(tid => $_->{id}, num => 1)->[0]; @@ -98,7 +101,9 @@ sub homepage { # Recent posts td; h1; - a href => '/t', mt '_home_recentposts'; + a href => '/t', mt '_home_recentposts'; txt ' '; + a href => '/feeds/posts.atom'; cssicon 'feed'; end; + end; my $posts = $self->dbThreadGet(what => 'lastpost boardtitles', results => 10, sort => 'lastpost', reverse => 1, notusers => 1); ul; diff --git a/static/f/icons.png b/static/f/icons.png Binary files differindex 3b761c85..e8d9f1f3 100644 --- a/static/f/icons.png +++ b/static/f/icons.png |