- 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:
rvelices
2006-11-08 03:01:28 +00:00
parent 8f52e36a6f
commit e44f0b0154
4 changed files with 93 additions and 232 deletions
+3 -3
View File
@@ -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',
)
);
}