Commit Graph

659 Commits

Author SHA1 Message Date
Matthieu Leproux 319dd11629 related to #1657 added conditions to previous and next btns 2022-08-31 14:50:37 +02:00
Matthieu Leproux 3c832257b8 related to #1657 added condition to path-etx and file-ext classes 2022-08-31 14:13:31 +02:00
Matthieu Leproux 7946a33780 related to #1657 remove is_svg from code in gallery 2022-08-29 14:09:44 +02:00
Matthieu Leproux fba93e05b9 related to #1684 SVG support compatibility with php 8.0 and 8.1 2022-07-06 16:47:13 +02:00
Matthieu Leproux 6c17ccfaee related to #1657 adjusted svg size limit 2022-05-18 11:41:02 +02:00
Matthieu Leproux e60ac77933 related to #1657 next and prev btn thumbnail in gallery 2022-05-09 16:43:47 +02:00
Matthieu Leproux a3dc13c017 related to #1657 good size for svg in gallery 2022-05-09 15:07:38 +02:00
Matthieu Leproux d0f5eec188 related to #1657 added unit for svg max size 2022-05-09 13:29:19 +02:00
Matthieu Leproux 3743a53edc related to #1657 Support svg with no height and width attribute
If the svg doesn't have height of width attributes, it takes it's dimentions in the viewBox attribute.
2022-05-09 12:49:13 +02:00
Matthieu Leproux b768183807 related to #1657 Added support of svg for previous and next buttons in gallery navigation 2022-05-03 15:47:24 +02:00
Matthieu Leproux 17b16c7e3d related to #1657 shorter 'if' condition 2022-05-03 15:14:21 +02:00
Matthieu Leproux 252a22bada related to #1657 removed test text... 2022-05-03 15:08:50 +02:00
Matthieu Leproux c4c950c1c8 related to #1657 SVG support in gallery for default template 2022-05-03 14:46:34 +02:00
HWFord 722c26a1b3 Issue #1625 body class definition in section init
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
2022-04-07 14:30:47 +02:00
HWFord 91c965e75e Fixed #1646 Combined tags changes for bootstrap darkroom
add icon for bootstrap darkroom.
Uses bootstrap darkroom icons, and hides by default
2022-04-06 10:38:32 +02:00
HWFord d7af491a81 Fixes #1625 adds class to body
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
2022-04-06 09:51:08 +02:00
Matthieu Leproux d2ea8fa3cc fixes #1502 newer favicon 2021-10-04 16:40:29 +02:00
plegall 9cebf85c82 fixes #1336 alternate views for album manager
* 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
2021-03-04 14:42:06 +01:00
Louis 791e019d41 fixes #1261 rm old resizable
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
2020-11-13 16:25:57 +01:00
plegall 4f3880af89 fixes #626 related albums (menu, combine, url)
* 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
2020-11-09 14:28:55 +01:00
plegall b24c6c48f1 fixes #1069 config settings to promote mobile app (iOS only for now) 2020-09-29 15:12:19 +02:00
Zacharie 3b1c929e5c Issue #1200 : Design implementation and ajax implementation of changing parent and rank 2020-08-13 11:40:52 +02:00
Zacharie 0ada6754ef Change legend's tags css, add icon to a grand part of legend's tags 2020-08-04 15:22:30 +02:00
Zacharie b32daddafe Issue #1189 : Statistic page redesign
* 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
2020-06-12 15:33:35 +02:00
Zacharie 490f43c52b Issue #1167 Implement Group Member Manage, Group manager fixes
* 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
2020-05-19 17:28:22 +02:00
Hannah 5bf85c982b fixes #1179 use standard structure for icons to remove a tag in a combined tags search
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.
2020-04-27 10:00:12 +02:00
plegall 54154eb834 fixes #1052 separate themes from Piwigo core repository
* Sylvia : https://github.com/Piwigo/piwigo-Sylvia
* elegant : https://github.com/Piwigo/piwigo-elegant
* smartpocket : https://github.com/Piwigo/piwigo-smartpocket
* dark : https://github.com/Piwigo/piwigo-dark
* clear : https://github.com/Piwigo/piwigo-clear
2019-08-06 17:52:04 +02:00
Wei-Chung Wen ad6e96b82c Fixes #1004 Error using Piwigo from Android with smartpocket theme
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>
2019-07-12 13:52:29 +02:00
plegall fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
Teatek a4187cabf0 Fixes #247 number of photos in breadcrumb
* Fixes #247 (Adding a span and a class to modify the picture number in the breadcrumb with css)
* same for menubar categories
2019-02-15 15:34:43 +01:00
flop25 83dac227cf cleaning code and wrong EOL
additional semicolon, uses of === instead of ==
2017-09-05 18:52:15 +02:00
flop25 06a50ca8b0 Feature #759, choose to display all Tags and/or current ones
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
2017-09-05 14:47:27 +02:00
flop25 47164bc737 fixes #603 no more use of include in tpl for comment_list
so comment_list can be replaced via template extension or extensions
No HTML changes just tpl and php
2017-09-01 17:39:26 +02:00
plegall 9f7363f12c fixes #326, no more JS broken when elegant menu switcher is disabled 2017-04-10 12:16:08 +02:00
plegall a4da0f9cce remove debug trace 2017-04-09 12:38:36 +02:00
plegall cd86634b00 fixes #426, count views on SmartPocket 2017-04-09 12:34:45 +02:00
plegall e47568b087 fixes #490, less visible borders on tags by letter 2016-07-13 19:28:15 +02:00
plegall ee737aeed7 Merge branch '2.8' 2016-07-07 18:22:22 +02:00
plegall cfb62ec79b fixes #270 add password reset form to smartpocket 2016-07-05 13:37:51 +02:00
plegall e4a3b92fa4 fixes #440, update search page on SmartPocket theme
... to include new features of Piwigo 2.7 and 2.8
2016-05-03 15:04:42 +02:00
plegall b544ee3948 fixes #440, update search page on SmartPocket theme
... to include new features of Piwigo 2.7 and 2.8
2016-05-03 15:02:29 +02:00
modus75 8c1a4a181c issue #378 upgrade datatables to 1.10.11 2016-03-09 22:01:25 +01:00
modus75 7dd5029fc6 Merge branch 'feature/378-upgrade-datatables' 2016-03-09 21:54:47 +01:00
plegall 2e071ba4a1 merge --squash from translation up to f9fecd0be0
git merge --squash is simpler for the first time, then we plan to do cherry-pick
2016-03-08 10:51:10 +01:00
plegall d80d853a23 fixes #431, all themes/languages get version "auto" 2016-03-08 10:13:13 +01:00
plegall 1928125edc fixes #425, update piecon.js 2016-02-26 19:39:36 +01:00
plegall ca910609e9 copyright watermark for 2016 2016-02-26 16:06:54 +01:00
modus75 8b51eb1b40 upgrade datatables to 1.10.11 (issue #378) 2016-02-18 21:33:06 +01:00
plegall 713bc49746 feature #355, apply search by word on tags
we "simulate" a search by tag, but we still perform a "search by words" AND "search by tags", which lead to different result compared to "word on title OR file OR description OR tags"
2016-02-13 18:36:55 +01:00
plegall 718fe065f7 feature #360, add CSS class on navigation links
navPrevNext and navFirstLast, to make it possible to hide them.
2016-02-12 14:09:29 +01:00