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
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)
* 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
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.
* if formats are available, replace the download link on picture.php by a switchBox with all formats
* register format in the history table for future statistics
- fix comments page filter form (css changes affected also that .filter form - simplified also css rules)
- better query for author list (using id for visible_images instead of image_id field)
- don't show author list if there is only one author
git-svn-id: http://piwigo.org/svn/trunk@28744 68402e56-0260-453c-a942-63ccdbb3a9ee
the search terms applies.
feature 3094: minor redesign on search form.
git-svn-id: http://piwigo.org/svn/trunk@28709 68402e56-0260-453c-a942-63ccdbb3a9ee
search for 'mary qwerty' will ignore 'qwerty' and return only results for 'mary' if there is no such thing as 'qwerty' in the photos (if there was 'mary' and 'qwerty', the results for both 'mary' AND 'qwerty' would be shown)
git-svn-id: http://piwigo.org/svn/trunk@27882 68402e56-0260-453c-a942-63ccdbb3a9ee
Display a link for the fist and last page on picture.tpl, to go to the album
3 lang keys added
git-svn-id: http://piwigo.org/svn/trunk@23642 68402e56-0260-453c-a942-63ccdbb3a9ee
CSS class to avoid inline CSS and make customization easier (ability to hide
these blocks with LocalFiles Editor)
git-svn-id: http://piwigo.org/svn/trunk@19302 68402e56-0260-453c-a942-63ccdbb3a9ee
- added require jquery for some footer_script
- removed unused/unnecesary css (hope I'm done for now)
- if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter)
git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
picture.tpl is merge between default theme & elegant theme.
css adaptation to have the image info displayed as a table with default.
git-svn-id: http://piwigo.org/svn/trunk@13774 68402e56-0260-453c-a942-63ccdbb3a9ee
-> new class .switchBox for all boxes (sortOrder, derivative, etc...)
-> new classes to help layout in switchBoxes:
- .switchCheck for the check character
- .switchSelected for the selected option
- .switchUnselected for all other options
-> new menubar.tpl with empty div #menuSwitcher
git-svn-id: http://piwigo.org/svn/trunk@13729 68402e56-0260-453c-a942-63ccdbb3a9ee
new label for sizes
On picture.php, the current size is "checked" and javascript refreshed when switched (with jQuery)
jQuery loaded by default on header.tpl (already loaded by thumbnails.tpl)
git-svn-id: http://piwigo.org/svn/trunk@13683 68402e56-0260-453c-a942-63ccdbb3a9ee
-> #content on picture & slideshow page
-> class 'browsePathSeparator' on LEVEL_SEPARATOR on browsePath
-> derivativeSwitchLink replaced by pwg-size icon (with associated css modification on themes)
-> new id #theImageAndInfos that contains #theImage and #imageInfos
git-svn-id: http://piwigo.org/svn/trunk@13474 68402e56-0260-453c-a942-63ccdbb3a9ee
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster)
git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee