1 | {known_script id="jquery" src=$ROOT_URL|cat:"themes/default/js/jquery.packed.js"} |
---|
2 | {html_head} |
---|
3 | <link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/style.css"> |
---|
4 | <script type="text/javascript"> |
---|
5 | var dir_thumbnail = '{$AK_DIR_THUMBNAIL}'; |
---|
6 | var prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}'; |
---|
7 | var ak_mouse_event = '{$AK_MOUSE_EVENT}'; |
---|
8 | </script> |
---|
9 | <script type="text/javascript" src="{$AK_PLUGIN_JS}/ak_jquery-load.js"></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 | |
---|