- Timestamp:
- May 12, 2011, 11:27:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/include/akContent.class.php
r9286 r10853 89 89 $template->assign('AK_THUMBNAILS_LOC', $this->plugin_config->ak_thumbnails_loc); 90 90 $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); 91 100 92 101 $template->assign('AK_NEXT', $this->getNextPicture($this->current_picture, $images)); … … 132 141 $tpl_vars = $GLOBALS['template']->smarty->_tpl_vars; 133 142 $response['AK_PIC_SRC'] = $tpl_vars['SRC_IMG']; 143 $response['AK_PIC_URL'] = $tpl_vars['current']['url']; 134 144 $response['AK_PIC_ALT'] = $tpl_vars['ALT_IMG']; 135 145 if (isset($tpl_vars['ALT_IMG'])) {
Note: See TracChangeset
for help on using the changeset viewer.