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

Last change on this file since 3804 was 3804, checked in by vdigital, 15 years ago

Intermediate commit for thumbnails location (Left/Right)
Above/Below aren't ready yet

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