* only load list of authors if this filter is active (same for tags, added_by...)
* if the search_rules include album 123 but this album is not available to current user, remove it from search_rules before sending it to template
* First implementation of the new multi-criteria search. It replaces the old search.php form.
* Displays live search criteria above search results. Each change reloads the list of results (displayed as thumbnails).
* New API method pwg.images.filteredSearch.update called in AJAX to live change the filters.
* New kind of filter: added_by
Initialize body_classes in common.inc.php
Add class for section and section id
also add class with search id
Class is added to $page in section_init now
Also add tis info to the body dataset for javascript use
Adds class to body, get id for category tag or picture, add dynamic class to body using id
Also used on page where albums and tags are combined
TODO make compatible with modus
* in addition to "tile" view introduced in Piwigo 11, we add "compact" and "lines" views
* implemented by @MatthieuLP as cat_list_new in a custom branch, manually merged by @plegall on master
deleting files related to the old resizable, the icons in roma and clear directories, what made them apper in theme.css in roma and clear too, and what activated resizable in site update. delted resize.inc as it is not used anywhere else and deleting some old comments in search.tpl
* ability to combine albums in URL index.php?/category/1/2/3 will consider 1 as $page['category'] and {2,3} as $page['combined_categories']
* new menu block "related albums" which displays only the hierarchy of albums related to the current set of photos, excluding current album(s). In the hierarchy, only the related albums have a link, not ancestors
* Statistic page totally redesign, replace by a single graphic which display for last hours, days, months and years
* Add Chart.js plugin for graphic representation
* Add Moment.js plugin for time operations
* Adding and removing members now works in the Member manager popup
* Implement an intelligent research input for adding users
* Add the plugin confirm.js
* Add a confirm popup for the group deletion
* Implement the "Set as group for new users" action for groups
use standard structure for icons to remove a tag in a combined tags search
The icon displays with 2 tags combined instead of 3
To avoid breaking all themes, we keep the old style by default, but the new style is available. The upgrade to 2.11 documentation will mention it.
Using SmartPocket theme in Android 9's Chrome gives this error:
"Uncaught TypeError: Cannot read property 'toString' of null"
The error is caused by the following code
e.navigator.userAgent.match(/Android (\d+.\d+)/)
because the userAgent set by Chrome in Android 9 reads:
"Mozilla/5.0 (Linux; Android 9; H4133) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36"
Signed-off-by: Wei-Chung Wen <morisato3711@gmail.com>
This commit introduces a new config var and a minor change in a tpl
(language key switch)
It also change the default behaviour; can be set back to the previous
one with $conf['menubar_tag_cloud_content'] = 'current_only'
Potential Performance issue; test needed