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/include/akContent.class.php

    r3788 r3791  
    4545
    4646    $template->set_filenames(array('index_thumbnails'=> AK_PLUGIN_TEMPLATE . '/ak_thumbnails.tpl'));
    47     $template->assign('AK_PIC_SRC', get_image_url($images[$this->current_picture]));
    48     $template->assign('AK_BY_LINE', 3);
    49     $template->assign('AK_RELOADED_IMAGE_TPL', AK_PLUGIN_TEMPLATE. '/ak_reloaded_image.tpl');
    5047    $template->assign('AK_PLUGIN_CSS', AK_PLUGIN_CSS);
    5148    $template->assign('AK_PLUGIN_JS', AK_PLUGIN_JS);
     49
     50    $template->assign('AK_DIR_THUMBNAIL', $GLOBALS['conf']['dir_thumbnail']);
     51    $template->assign('AK_PREFIX_THUMBNAIL', $GLOBALS['conf']['prefix_thumbnail']);
     52    $template->assign('AK_PIC_SRC', get_image_url($images[$this->current_picture]));
     53    $template->assign('AK_BY_LINE', $this->plugin_config->ak_by_line);
     54    $template->assign('AK_RELOADED_IMAGE_TPL', AK_PLUGIN_TEMPLATE. '/ak_reloaded_image.tpl');
    5255  }
    5356
Note: See TracChangeset for help on using the changeset viewer.