Ignore:
Timestamp:
Aug 24, 2009, 7:03:22 PM (15 years ago)
Author:
nikrou
Message:

Allow admin to change number of column
Use $confdir_thumbnail and $confprefix_thumbnail in ak_jquery-load.js for replace('thumbnail\/TN-', )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/template/ak_thumbnails.tpl

    r3788 r3791  
    2929  <tr>
    3030    <td>
    31 
    3231      <table class="thumbnails">
    3332        {foreach from=$thumbnails item=thumbnail name=tn}
     
    3635          {/if}
    3736          <td class="ncol">
    38             <a href="{$thumbnail.URL}" class="load">
     37            <a href="{$thumbnail.AK_URL}" class="load">
    3938              <img class="thumbnail" src="{$thumbnail.TN_SRC}"
    4039             alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
     
    7271    </td>
    7372   
    74     <td> <!-- Picture -->
     73    <td> {* Picture *}
    7574      {include file=$AK_RELOADED_IMAGE_TPL|@get_extent:'picture_reload'}
    7675    </td>
     
    7877</table>
    7978{/if}
     79
    8080{known_script id="jquery" src=$ROOT_URL|cat:"template-common/lib/jquery.packed.js"}
    8181{html_head}
    8282<link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/ak_style.css">
     83<script type="text/javascript">
     84var dir_thumbnail = '{$AK_DIR_THUMBNAIL}';prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}';
     85</script>
    8386<script type="text/javascript" src="{$AK_PLUGIN_JS}/ak_jquery-load.js"></script>
    8487{/html_head}
Note: See TracChangeset for help on using the changeset viewer.