Ignore:
Timestamp:
Aug 21, 2009, 9:43:56 AM (15 years ago)
Author:
nikrou
Message:

fix problem of AK_BY_LINE not correctly use
need to fix management if AK_BY_LINE is not 2

File:
1 copied

Legend:

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

    r3764 r3770  
    2424  die('Hacking attempt!');
    2525}
     26
     27class akContent
     28{
     29  public function __construct($config) {
     30    $this->plugin_config = $config;
     31  }
     32
     33  public function loc_begin_index_thumbnails($pictures) {
     34    global $template;
     35
     36    $template->set_filenames(array('index_thumbnails'=> AK_PLUGIN_TEMPLATE . '/ak_thumbnails.tpl'));
     37   
     38    $template->assign('AK_BY_LINE', 2);
     39    $template->assign('AK_RELOADED_IMAGE_TPL', AK_PLUGIN_TEMPLATE. '/ak_reloaded_image.tpl');
     40    $template->assign('AK_PLUGIN_CSS', AK_PLUGIN_CSS);
     41  }
     42}
    2643?>
Note: See TracChangeset for help on using the changeset viewer.