only allow rating filter if gallery uses rating
update api, mcs.js and tpl to check if rating
search_filters.inc.php update indentation due to extra if
- Moved all related logic into album_selector.js for better maintainability and separation of concerns.
- Removed duplicates in TPL and CSS files, consolidating them into a single CSS file and a single TPL file for better organization and efficiency.
- Implementation of the album selector in the pages: photo editing, album editing and batch manager unit.
- Improved the album selector by adding a creation mode to create and select an album (only in admin pages).
add ratings, ratios, filesize, width and height widgets
- in functions_search add clauses according to each new filter
- in ws_functions add new api parameters
- in index.php add queries to get data for filters
- in admin.lang add missing translations for filters
- in css add basic style to work for modus newspaper
- in js add script for new filters
- in tpl combine script + CSS for double slider & jquery Ui. Add slider conf, template for new widgets
TODO
- adapt css to different themes and skins
Add default config pdf_viewer_filesize_threshold
Add function to get number of PDF pages
Add translations
update picture.php to send pdf filesize threshold and nb page to tpl
update picture.tpl to add number of pages for PDF
picture_content.tpl update for new config name and add translation functions. use embed for pdf if file ext = pdf
When clear is clicked in the "album" filter but the "tag" filter is activated, the clear action in the "album" filter does not work. Because of this line.
Clear action in the album filter was clearing both album and tag filters.
I calculate the overflow and if it is too much we align the widget to the right of the filter and calculation takes place each time the window is resized
In search_filters.inc add the combine scripts and css specific to search,
Remove them from index.tpl
In index keep fontello combine, only in if search
Remove pwg-icon class to avoid icon conflits with themes
Move search CSS to its own file, remove it from theme.css,
It has also been taken from modus
Have specific CSS for clear and dark themes (they handle only color)
the document on click gets all click and triggers more clicks. This has been removed.
Too hide a dropdown when we open another, now is specific to clicks on the filters or the filter button. We remove the class and hide the dorpdown if we have clicked on another filter