Ticket #300: cache_pager_tpl.dif

File cache_pager_tpl.dif, 0.9 kB (added by shalligan@…, 6 years ago)

diff -u to cache_pager.tpl based on ocean_surf theme

Line 
1--- /usr/local/tarballs/maia-1.0.1/php/themes/ocean_surf/templates/cache_pager.tpl      Tue Feb 10 18:36:33 2004
2+++ themes/techies/templates/cache_pager.tpl    Mon Apr 17 15:49:14 2006
3@@ -4,27 +4,11 @@
4 </td>
5 </tr>
6 
7-{if count($data.pages) > 1}
8 <tr>
9 <td class="{$body}" colspan="{$cols}" align="center">
10-{if $offset > 0}
11-<a href="{$return_page}{$msid}offset={$data.prev}">&lt;&lt; {$lang.link_prev} </a>&nbsp;|
12-{/if}
13-{strip}
14-{foreach key=page item=start from=$data.pages}
15-{if $start != $offset}
16-  <a href="{$return_page}{$msid}offset={$start}">{$page}</a>
17-  {else}
18-     {$page}
19-  {/if}
20-  {if $page < count($data.pages)}
21-&nbsp;|&nbsp;
22-   {/if}
23-{/foreach}
24-{/strip}
25-{if $data.to < $data.numrows}
26-  | <a href="{$return_page}{$msid}offset={$data.next}">{$lang.link_next}&gt;&gt;</a>
27-{/if}
28+{php}
29+global $links;
30+echo $links['all'];
31+{/php}
32 </td>
33 </tr>
34-{/if}
35\ No newline at end of file