mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- merge category_recent_cats and category_subcats into category_cats (a lot
of common code,and now representative selection works for recent cats...) - some replacements of get_thumbnail_src with get_thumbnail_url git-svn-id: http://piwigo.org/svn/trunk@1597 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -359,13 +359,13 @@ SELECT image_id
|
||||
$page['thumbnails_include'] =
|
||||
$result['nb_images'] > 0
|
||||
? 'include/category_default.inc.php'
|
||||
: 'include/category_subcats.inc.php';
|
||||
: 'include/category_cats.inc.php';
|
||||
} //otherwise the calendar will requery all subitems
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['title'] = $lang['no_category'];
|
||||
$page['thumbnails_include'] = 'include/category_subcats.inc.php';
|
||||
$page['thumbnails_include'] = 'include/category_cats.inc.php';
|
||||
}
|
||||
}
|
||||
// special sections
|
||||
@@ -534,7 +534,7 @@ SELECT DISTINCT(id)
|
||||
$page,
|
||||
array(
|
||||
'title' => $lang['recent_cats_cat'],
|
||||
'thumbnails_include' => 'include/category_recent_cats.inc.php',
|
||||
'thumbnails_include' => 'include/category_cats.inc.php',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user