mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
When we use thumbnails for exploring sub-categories, the categories in the
left menu open with a difference of 1 page git-svn-id: http://piwigo.org/svn/trunk@120 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -378,6 +378,10 @@ elseif ( ( isset( $page['cat'] )
|
||||
$page['expand'] = implode( ',', $page['tab_expand'] );
|
||||
}
|
||||
$url_link.= '&expand='.$page['expand'];
|
||||
// we add the category to explore in the expand list
|
||||
if ( $page['expand'] != '' ) $url_link.= ',';
|
||||
$url_link.= $subcat_id;
|
||||
|
||||
list( $year,$month,$day ) = explode( '-', $subcat_infos['date_last'] );
|
||||
$date = mktime( 0, 0, 0, $month, $day, $year );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user