Changeset 376
- Timestamp:
- Feb 27, 2004, 6:36:55 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/category.php
r350 r376 47 47 else 48 48 $page['start'] = $_GET['start']; 49 // Sometimes, a "num" is provided in the URL. It is the number 50 // of the picture to show. This picture must be in the thumbnails page. 51 // We have to find the right $page['start'] that show the num picture 52 // in this category 53 if ( isset( $_GET['num'] ) 54 and is_numeric( $_GET['num'] ) 55 and $_GET['num'] >= 0 ) 56 { 57 $page['start'] = floor( $_GET['num'] / $user['nb_image_page'] ); 58 $page['start']*= $user['nb_image_page']; 59 } 49 60 50 61 initialize_category(); … … 80 91 $page['tab_expand'] = array(); 81 92 $page['expand'] = 'all'; 82 }83 // Sometimes, a "num" is provided in the URL. It is the number84 // of the picture to show. This picture must be in the thumbnails page.85 // We have to find the right $page['start'] that show the num picture86 // in this category87 if ( isset( $_GET['num'] )88 and is_numeric( $_GET['num'] )89 and $_GET['num'] >= 0 )90 {91 $page['start'] = floor( $_GET['num'] / $user['nb_image_page'] );92 $page['start']*= $user['nb_image_page'];93 93 } 94 94 // creating the structure of the categories (useful for displaying the menu)
Note: See TracChangeset
for help on using the changeset viewer.