Changeset 3781


Ignore:
Timestamp:
Aug 22, 2009, 6:39:33 PM (11 years ago)
Author:
vdigital
Message:

First version of ak_loader.php

Location:
extensions/akBookStyle
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle

    • Property svn:ignore set to
      ak_thumbnails.tpl
  • extensions/akBookStyle/trunk/init.php

    r3764 r3781  
    4747
    4848set_plugin_data($plugin['id'], $plugin_config);
     49add_event_handler('loc_begin_page_header', 'ak_loader');
     50function ak_loader()
     51{
     52  include_once AK_PLUGIN_ROOT . '/ak_loader.php';
     53}
    4954?>
  • extensions/akBookStyle/trunk/template/ak_reloaded_image.tpl

    r3773 r3781  
    1 {if !empty($AK_PIC_SRC) }
     1{if !empty($AK_PIC_SRC) or true}
    22<div id="reload">
    33  <table class="picture">
  • extensions/akBookStyle/trunk/template/ak_thumbnails.tpl

    r3773 r3781  
    3636          {/if}
    3737          <td class="ncol">
    38             <a href="{$thumbnail.AK_URL}" class="load">
     38            <a href="{$thumbnail.URL}" class="load">
    3939              <img class="thumbnail" src="{$thumbnail.TN_SRC}"
    4040             alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
     
    7272    </td>
    7373   
    74     <td> {* Picture *}
     74    <td> <!-- Picture -->
    7575      {include file=$AK_RELOADED_IMAGE_TPL|@get_extent:'picture_reload'}
    7676    </td>
     
    8484{literal}
    8585<script type="text/javascript">// <![CDATA[
    86 $(function() {
     86$(document).ready(function() {
    8787  $("a.load")
    8888  .click(function() {
    89   $("#reload").load(this.href);
     89  $("#reload").load(this.href+"/reload");
    9090    return false;
    9191  });
Note: See TracChangeset for help on using the changeset viewer.