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

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

Bug 1159: fix
Medium image are loaded in ajax mode.

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