dac7decfb5
$page['where'] was an SQL clause used to retrieve pictures in #images table. $page['items'] is the list of picture ids of the current section. improvement: function initialize_category replaced by dedicated included PHP script include/section_init.inc.php. Code was refactored to improve readibility and maintenability. $page['navigation_bar'] is now build in category.php instead of initialize_category function. Function check_cat_id was also replaced by a piece of code in the new file. The file to include to display thumbnails from category.php is now set in section_init.inc.php instead of calculated in category.php. bug fix: the test for rel="up" link for standard HTML navigation links in category menu was not working with non numeric categories, such as "favorites". improvement: function check_login_authorization removed because useless but in profile.php. git-svn-id: http://piwigo.org/svn/trunk@1036 68402e56-0260-453c-a942-63ccdbb3a9ee |
||
---|---|---|
.. | ||
.cvsignore | ||
category_calendar.inc.php | ||
category_default.inc.php | ||
category_recent_cats.inc.php | ||
category_subcats.inc.php | ||
common.inc.php | ||
config_default.inc.php | ||
constants.php | ||
feedcreator.class.php | ||
functions.inc.php | ||
functions_category.inc.php | ||
functions_group.inc.php | ||
functions_html.inc.php | ||
functions_mail.inc.php | ||
functions_metadata.inc.php | ||
functions_notification.inc.php | ||
functions_session.inc.php | ||
functions_user.inc.php | ||
functions_xml.inc.php | ||
index.php | ||
page_header.php | ||
page_tail.php | ||
pngfix.js | ||
scripts.js | ||
section_init.inc.php | ||
template.php | ||
user.inc.php |