Hatena::Groupcatalyst

LAPISLAZULI HILL#Catalyst このページをアンテナに追加 RSSフィード

2006-10-27

[][]Data::Page::Navigation Data::Page::Navigation - LAPISLAZULI HILL#Catalyst を含むブックマーク はてなブックマーク - Data::Page::Navigation - LAPISLAZULI HILL#Catalyst Data::Page::Navigation - LAPISLAZULI HILL#Catalyst のブックマークコメント

no title

これは良いものです

<div>
[% IF pager.previous_page %]
[% IF pager.first_page != pager.previous_page %]
<a href="?page=[% pager.first_page %]">&laquo;</a>
[% END %]
<a href="?page=[% pager.previous_page %]">&lsaquo;</a>
[% END %]

[% FOREACH num = pager.pages_in_navigation(9) %]
[% IF num == pager.current_page %]
<span class="current_page">[% num %]</span>
[% ELSE %]
<a href="?page=[% num %]">[% num %]</a>
[% END %]
[% END %]

[% IF pager.next_page %]
<a href="?page=[% pager.next_page %]">&rsaquo;</a>
[% IF pager.last_page != pager.next_page %]
<a href="?page=[% pager.last_page %]">&raquo;</a>
[% END %]
[% END %]
</div>

myApp.pmでuse Data::Page::Navigationしてみたけどそれでいいのかな.ひとまず動いてるしいいか…

LuisLuis2012/07/21 21:34That really captures the spirit of it. Thanks for psotnig.

exexqoawbsaexexqoawbsa2012/07/22 18:51zO7SeF <a href="http://jwylgqfwuqlm.com/">jwylgqfwuqlm</a>

rgintqetprgintqetp2012/07/23 08:376pdE8n , [url=http://hgpgalwxfxzc.com/]hgpgalwxfxzc[/url], [link=http://weuoautyjcnb.com/]weuoautyjcnb[/link], http://tlbructurbvi.com/

boanjjoumboanjjoum2012/07/24 12:42nsyvQ2 , [url=http://ubebvftzmbfs.com/]ubebvftzmbfs[/url], [link=http://zueulzhwavbt.com/]zueulzhwavbt[/link], http://xjrgfbupxcoe.com/