diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-01-27 01:11:43 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-01-27 01:11:43 +0000 |
commit | a8fd5ee6cf5cf061ed0ff789d6030290b3418be5 (patch) | |
tree | 7c31e61422551c2c0672cd43611729f70202bfae /category.php | |
parent | 10329e517b22671f002bcb2929ebb54a09f22573 (diff) |
improvement: got rid of num= _GET param in category.php (use only start=) so
that links to category for search engines are the same as in category
pagination
feature 77: standard navigation link : HTML Link types
improvement: add go to first and last image buttons in picture page
improvement: do not increase image hit in picture.php when rating, adding to
favorites, caddie, ...
improvement: show number of hits in most_visited (as best_rated shows the rate)
git-svn-id: http://piwigo.org/svn/trunk@1014 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'category.php')
-rw-r--r-- | category.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/category.php b/category.php index 1a74a912f..6a0b7a651 100644 --- a/category.php +++ b/category.php @@ -64,18 +64,6 @@ else $page['start'] = $_GET['start']; } -// Sometimes, a "num" is provided in the URL. It is the number -// of the picture to show. This picture must be in the thumbnails page. -// We have to find the right $page['start'] that show the num picture -// in this category -if ( isset( $_GET['num'] ) - and is_numeric( $_GET['num'] ) - and $_GET['num'] >= 0 ) -{ - $page['start'] = floor( $_GET['num'] / $user['nb_image_page'] ); - $page['start']*= $user['nb_image_page']; -} - initialize_category(); // caddie filling :-) |