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

Last change on this file since 27173 was 10975, checked in by nikrou, 14 years ago

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