In templates comments.tpl and picture.tpl we have replaced:
by
All themes with a custom comments.tpl or picture.tpl should apply
the same change.
New badges for number of photos
In index.tpl, in the H2 (breadcrumbs) the number of photos of the
current section is no longer in the $TITLE template variable, but
provided separately in $NB_ITEMS. You need to update your index.tpl (if
not using the default theme one). Replace:
by
To replace the aspect of badges (actually between brackets), you can add
in your theme.css:
New triggers
New methods for web API
- pwg.images.setMd5sum
- pwg.categories.setRank
- pwg.users.favorites.add
- pwg.users.favorites.remove
- pwg.users.favorites.getList
INSERT IGNORE with single_insert
The single_insert function now can perform an INSERT IGNORE
(just like mass_inserts) :