source: extensions/akBookStyle/trunk/template/ak_thumbnails.tpl @ 10853

Last change on this file since 10853 was 10853, checked in by flop25, 13 years ago

really compatible 2.2

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1{combine_script id='ak_jquery' require='jquery' path=$AK_PLUGIN_JS|@cat:'/ak_jquery-load.js'}
2{combine_css path=$AK_PLUGIN_CSS|@cat:'/style.css'}
3
4{html_head}
5<script type="text/javascript">
6var dir_thumbnail = '{$AK_DIR_THUMBNAIL}';
7var prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}';
8var ak_mouse_event = '{$AK_MOUSE_EVENT}';
9</script>
10{/html_head}
11
12{assign var=temp value=$TITLE|@strripos:'<a href='}
13{assign var=akUP value=$TITLE|@substr:0:$temp}
14{assign var=temp value=$akUP|@strripos:'<a href='}
15{assign var=akUP value=$akUP|@substr:$temp}
16{assign var=temp value=$akUP|@strripos:'">'}
17{assign var=akUP value=$akUP|@substr:0:$temp}
18{assign var=akUP value=$akUP|@substr:9}
19
20<div id="akBack">
21  <a id="akHome" class="navButton" href="{$SCRIPT_NAME}" title="{'Home'|@translate}" rel="start">
22    <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}">
23  </a>
24  {if !empty($akUP)}
25  <a id="akUp" class="navButton" href="{$akUp}" title="{'Thumbnails'|@translate}" rel="up">
26    <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}">
27  </a>
28  {/if}
29</div>
30{if !empty($thumbnails)}
31{if $AK_THUMBNAILS_LOC == 'top' or $AK_THUMBNAILS_LOC == 'bottom'}
32<table class="ak_display_horizontal"> 
33{else}
34<table class="ak_display"> 
35{/if}
36  <tr>
37    {if $AK_THUMBNAILS_LOC == 'top'}
38    {include file=$AK_HORIZONTAL_TPL|@get_extent:'horizontal_thumbs'}
39  </tr>
40  <tr>
41    {/if}
42    {if $AK_THUMBNAILS_LOC == 'left'}
43    {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thumbs'}
44    {/if}
45    <td> {* Picture *}
46      {include file=$AK_RELOADED_IMAGE_TPL|@get_extent:'picture_reload'}
47    </td>
48    {if $AK_THUMBNAILS_LOC == 'right'}
49    {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thumbs'}
50    {/if}
51  </tr>
52  {if $AK_THUMBNAILS_LOC == 'bottom'}
53  <tr>
54    {include file=$AK_HORIZONTAL_TPL|@get_extent:'horizontal_thumbs'}
55  </tr>
56  {/if}
57</table>
58{/if}
59
Note: See TracBrowser for help on using the repository browser.