Changeset 18668 for branches/2.4/index.php
- Timestamp:
- Oct 16, 2012, 9:59:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/index.php
r16988 r18668 100 100 else 101 101 { 102 $canonical_url = duplicate_index_url(); 102 $start = $page['nb_image_page'] * round($page['start'] / $page['nb_image_page']); 103 if ($start>0 && $start >= count($page['items']) ) 104 { 105 $start -= $page['nb_image_page']; 106 } 107 $canonical_url = duplicate_index_url(array('start' => $start)); 103 108 } 104 109 $template->assign('U_CANONICAL', $canonical_url);
Note: See TracChangeset
for help on using the changeset viewer.