source: extensions/akBookStyle/trunk/template/ak_vertical.tpl @ 3811

Last change on this file since 3811 was 3811, checked in by nikrou, 15 years ago

placement des boutons

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1    {if !empty($navbar) and isset($navbar.URL_PREV)}
2    <td class="navbar left">
3      <a class="navButton" href="{$navbar.URL_PREV}"
4         title="{'previous_page'|@translate}">
5        <img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png"
6             class="button" alt="{'previous_page'|@translate}">
7      </a>       
8    </td>
9    {/if}
10    <td>
11      <table class="thumbnails">
12        {foreach from=$thumbnails item=thumbnail name=tn}
13        {if $smarty.foreach.tn.index % $AK_BY_LINE == 0}
14        <tr class="nline">
15          {/if}
16          <td class="ncol">
17            <div class="clipwrapper" style="width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px">
18              <div class="clip" style="clip:rect({$thumbnail.CLIP_TOP}px {$thumbnail.CLIP_RIGHT}px {$thumbnail.CLIP_BOTTOM}px {$thumbnail.CLIP_LEFT}px);top:-{$thumbnail.CLIP_TOP}px;left:-{$thumbnail.CLIP_LEFT}px">
19                <a href="{$thumbnail.AK_URL}" class="load">
20                  <img class="thumbnail" src="{$thumbnail.TN_SRC}"
21                       alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
22                </a>
23              </div>
24            </div>
25          </td>
26        {if ($smarty.foreach.tn.iteration % $AK_BY_LINE == 0) or $smarty.foreach.tn.last }
27        </tr>
28        {/if}
29        {/foreach}
30      </table> {* end of Thumbnails *}
31    </td>
32    {if !empty($navbar) and isset($navbar.URL_NEXT)}
33    <td class="navbar right">
34      <a class="navButton" href="{$navbar.URL_NEXT}"
35         title="{'next_page'|@translate}">
36        <img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png"
37             class="button" alt="{'next_page'|@translate}">
38      </a>
39    </td>
40    {/if}
41
Note: See TracBrowser for help on using the repository browser.