Changeset 3807


Ignore:
Timestamp:
Aug 30, 2009, 10:54:10 PM (11 years ago)
Author:
vdigital
Message:

Horizontal thumbnails location

Location:
extensions/akBookStyle/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/include/akContent.class.php

    r3806 r3807  
    5656    $template->assign('AK_RELOADED_IMAGE_TPL', AK_PLUGIN_TEMPLATE. '/ak_reloaded_image.tpl');
    5757    $template->assign('AK_VERTICAL_TPL', AK_PLUGIN_TEMPLATE. '/ak_vertical.tpl');
     58    $template->assign('AK_HORIZONTAL_TPL', AK_PLUGIN_TEMPLATE. '/ak_horizontal.tpl');
    5859    $template->assign('AK_THUMBNAILS_LOC', $this->plugin_config->ak_thumbnails_loc);
    5960  }
  • extensions/akBookStyle/trunk/template/ak_thumbnails.tpl

    r3806 r3807  
    3131<table class="ak_display">
    3232  <tr>
     33        {if $AK_THUMBNAILS_LOC == 'top'}
     34    {include file=$AK_HORIZONTAL_TPL|@get_extent:'horizontal_thumbs'}
     35        </tr>
     36        <tr>
     37  {/if}
    3338        {if $AK_THUMBNAILS_LOC == 'left'}
    34     {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thmubs'}
     39    {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thumbs'}
    3540  {/if}
    3641    <td> {* Picture *}
     
    3843    </td>
    3944        {if $AK_THUMBNAILS_LOC == 'right'}
    40     {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thmubs'}
     45    {include file=$AK_VERTICAL_TPL|@get_extent:'vertical_thumbs'}
    4146  {/if}
    4247  </tr>
     48        {if $AK_THUMBNAILS_LOC == 'bottom'}
     49        <tr>
     50    {include file=$AK_HORIZONTAL_TPL|@get_extent:'horizontal_thumbs'}
     51        </tr>
     52  {/if}
    4353</table>
    4454{/if}
     
    4757{html_head}
    4858<link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style.css">
     59{if $AK_THUMBNAILS_LOC == 'top' or $AK_THUMBNAILS_LOC == 'bottom'}
     60<link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style_h.css">
     61{/if}
    4962<script type="text/javascript">
    5063var dir_thumbnail = '{$AK_DIR_THUMBNAIL}';prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}';var ak_mouse_event = '{$AK_MOUSE_EVENT}';
Note: See TracChangeset for help on using the changeset viewer.