Changeset 2218 for trunk/index.php
- Timestamp:
- Feb 27, 2008, 9:25:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r2138 r2218 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 68 68 } 69 69 70 if ( 70 if (count($page['items']) > $user['nb_image_page']) 71 71 { 72 72 $page['navigation_bar'] = create_navigation_bar( … … 100 100 //-------------------------------------------------------------- category title 101 101 $template_title = $page['title']; 102 if ( 102 if (count($page['items']) > 0) 103 103 { 104 104 $template_title.= ' ['.count($page['items']).']'; … … 193 193 } 194 194 195 if (is_admin() and !empty($page['items']) 195 if (is_admin() and !empty($page['items'])) 196 196 { 197 197 $template->assign_block_vars( … … 263 263 //------------------------------------------------------- category informations 264 264 265 // slideshow 266 // execute after init thumbs in order to have all picture informations 267 if (!empty($page['cat_slideshow_url'])) 268 { 269 if (isset($_GET['slideshow'])) 270 { 271 redirect($page['cat_slideshow_url']); 272 } 273 else 274 { 275 $template->assign_block_vars( 276 'slideshow', array('URL' => $page['cat_slideshow_url'])); 277 } 278 } 279 265 280 // navigation bar 266 281 if ($page['navigation_bar'] != '')
Note: See TracChangeset
for help on using the changeset viewer.