Ignore:
Timestamp:
05/13/11 11:03:34 (9 years ago)
Author:
nikrou
Message:

Revert "really compatible 2.2"

File:
1 edited

Legend:

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

    r10853 r10863  
    8989    $template->assign('AK_THUMBNAILS_LOC', $this->plugin_config->ak_thumbnails_loc);  
    9090    $template->assign('AK_PIC_SRC', get_image_url($images[$this->current_picture])); 
    91                   $url = duplicate_picture_url( 
    92         array( 
    93           'image_id' => $images[$this->current_picture]['id'] , 
    94           'image_file' => $images[$this->current_picture]['file'] 
    95         ), 
    96         array('start') 
    97       ); 
    98  
    99     $template->assign('AK_PIC_URL', $url); 
    10091 
    10192    $template->assign('AK_NEXT', $this->getNextPicture($this->current_picture, $images)); 
     
    141132      $tpl_vars = $GLOBALS['template']->smarty->_tpl_vars; 
    142133      $response['AK_PIC_SRC'] = $tpl_vars['SRC_IMG']; 
    143       $response['AK_PIC_URL'] = $tpl_vars['current']['url']; 
    144134      $response['AK_PIC_ALT'] = $tpl_vars['ALT_IMG']; 
    145135      if (isset($tpl_vars['ALT_IMG'])) { 
Note: See TracChangeset for help on using the changeset viewer.