Changeset 3877 for extensions/akBookStyle/trunk/include
- Timestamp:
- Sep 19, 2009, 1:13:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/include/akContent.class.php
r3876 r3877 129 129 /*** privates methods ***/ 130 130 private function makeAkUrl($image) { 131 return sprintf('%s/picture/%d', $this->category_url, $image['ID']); 131 return duplicate_picture_url(array('image_id' => $image['id'], 132 'image_file' => $image['file'] 133 ), 134 array('start') 135 ); 132 136 } 133 137 … … 161 165 $previous = $current-1; 162 166 if ($previous>0) { 163 return $this->makeAkUrl( array('ID' => $images[$previous]['id']));167 return $this->makeAkUrl($images[$previous]); 164 168 } else { 165 169 return null; … … 170 174 $next = $current+1; 171 175 if ($next<count($images)) { 172 return $this->makeAkUrl( array('ID' => $images[$next]['id']));176 return $this->makeAkUrl($images[$next]); 173 177 } else { 174 178 return null;
Note: See TracChangeset
for help on using the changeset viewer.