Changeset 18690
- Timestamp:
- 09/03/08 01:30:40 (5 years ago)
- Location:
- websites/mobilecat/trunk
- Files:
-
- 1 added
- 3 modified
-
lib/MobileCat/Controller/API/RSS.pm (added)
-
lib/MobileCat/Controller/Entry.pm (modified) (1 diff)
-
root/entry/show.tt (modified) (1 diff)
-
root/inc/wrapper-pc.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
websites/mobilecat/trunk/lib/MobileCat/Controller/Entry.pm
r17116 r18690 20 20 21 21 sub recent :Private { 22 my ($self, $c ) = @_;22 my ($self, $c, $num) = @_; 23 23 $c->stash->{entries} = $c->model('Entries')->search(undef, { 24 24 order_by => ['created_at DESC'], 25 rows => 5, 25 page => $c->req->params->{page} || 1, 26 rows => $num || 5, 26 27 }); 27 28 } -
websites/mobilecat/trunk/root/entry/show.tt
r17116 r18690 12 12 <div class="balloon"> 13 13 <img src="/static/balloon1.gif" width="100%" class="m" /> 14 [% entry.body | html | html_line_break %]14 <div class="balloon2">[% entry.body | html | html_line_break %]</div> 15 15 <img src="/static/balloon3.gif" width="100%" class="m" /> 16 16 </div> -
websites/mobilecat/trunk/root/inc/wrapper-pc.tt
r17121 r18690 7 7 <link rel="stylesheet" type="text/css" href="/static/site.css" /> 8 8 <link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" /> 9 [% UNLESS c # for doc/ %] 9 <link rel="alternate" type="application/rss+xml" href="http://feeds.feedburner.jp/mobilecat" title="最近の投稿" /> 10 10 <link rel="alternate" type="application/rss+xml" href="http://coderepos.org/share/log/websites/mobilecat/?limit=100&mode=stop_on_copy&format=rss" /> 11 [% END %]12 11 </head> 13 12 <body>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)