/[Grep]/share/web/templates/fragments/item/long
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /share/web/templates/fragments/item/long

Parent Directory Parent Directory | Revision Log Revision Log


Revision 50 - (show annotations)
Wed Feb 21 13:29:30 2007 UTC (17 years, 2 months ago) by dpavlin
File size: 777 byte(s)
added skip-to << and >> navigation to long item display
1 <%ARGS>
2 $item
3 $prev => undef
4 $next => undef
5 </%ARGS>
6
7 <div class="result">
8
9 <div class="result-header">
10 <span style="float: left;">
11 <a class="title" href="<% $item->link %>"><% $item->title %></a>
12 <span class="feed">in <% $item->in_feed->title %></span>
13 </span>
14 <span class="skip-to">
15 % if ( $prev ) {
16 <a href="#r<% $prev %>">&lt;&lt;</a>
17 % } else {
18 &lt;&lt;
19 % }
20 &nbsp;
21 % if ( $next ) {
22 <a href="#r<% $next %>">&gt;&gt;</a>
23 % } else {
24 &gt;&gt;
25 % }
26 </span>
27 </div>
28 </div><!-- result-header -->
29
30 <div class="content">
31 <% $item->content | n %>
32 </div><!-- content -->
33
34 <div class="result-footer">
35 % foreach my $f ( qw/category author issued modified/ ) {
36 % if ( $item->$f ) {
37 <span class="<% $f %>"><% $item->$f %></span>
38 % }
39 % }
40 </div><!-- result-footer -->
41
42 </div><!-- result -->

  ViewVC Help
Powered by ViewVC 1.1.26