Commit graph

165 commits

Author SHA1 Message Date
HWFord
5b7fffe786 fixes #2308 remove html and use previous redirect
The previous way worked fine with the redirect, adding a html added an extra step for users. The access denied page was only supposed to be used for pages that we don't have access to once connected
2025-01-08 11:33:27 +01:00
plegall
fc5bc47bc3 fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+ 2024-12-18 12:29:31 +01:00
HWFord
3b376edfb1 related #2147 add sans serif
in some themes we don't have open sans so use a sans serif font
2024-07-09 11:42:34 +02:00
marsooooo
562fb6c0be Fixes #2147 Add style elements to generated page
Updated generated html code so it fits the design
Added warning triangle icon as svg

Page now hides the login button in case user is already logged in
2024-04-12 15:49:09 +02:00
plegall
73a77fed6c fixes #1963 use specific translation string instead of re-using another one + lowercase 2023-08-21 16:45:17 +02:00
plegall
da7fa96033 fixes #1956 array_pop only takes input variable by reference 2023-08-17 10:55:51 +02:00
He Yifei 何一非
e011e3b4de
Issue 1195: Add $info as the second parameter for trigger_change 'render_element_name' (#1196)
Add `$info` as second parameter to `trigger_change` for `render_element_name`
2023-08-17 10:46:34 +02:00
Matthieu Leproux
f4a4473f37 Issue #1704 New album edition page
* Front end development according to the mockup
* Save changes in ajax
* Implement the delete album behaviour with Jconfirm in ajax
* Adding a new Css component : infos (factorized in the tag page)
* Add a new general admin template variable : ADMIN_PAGE_OBJECT_ID (adding the id of an object on the page)
* Modify the pwg.categories.setInfo api method to fit the need of the album edition pages
* Slightly change the method time_since, add a parameter to display only the greates time unit
* Popin to change parent album, and changed it as a re-usable component
* Dropdown to replace the checkbox for comments
2023-01-02 16:24:41 +01:00
Matthieu Leproux
1e85985a0c related to #1693 php8.1 compat for comments in gallery and album edit in admin 2022-07-27 18:46:17 +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
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
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
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
a3cf80c77c fixes #732, avoid conflict with PHP function "transliterate" 2017-07-13 11:29:27 +02:00
plegall
4d800292c2 fixes #178, hide menu identification on identification page
+ redirect to gallery root when opening idenfication page while identified
2017-03-02 14:25:01 +01:00
plegall
4e24768989 fixes #533, add a "messages" box (blue colorscheme) 2016-10-06 11:46:42 +02:00
plegall
1f0e95c22c bug #476, set http code to 401 only when not redirecting 2016-07-05 12:17:28 +02:00
plegall
db0e02b5d4 fixes #476, in case of guest_access=false, redirect_http instead of redirect_html 2016-05-30 10:53:29 +02:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
67e142f331 feature #392, add authentication key in NBM mails
There are many links in NBM (Notification By Mail, see screen
[Administration > Users > Notification]). I had to change several
functions to take this authentication key into account.
2016-01-04 19:54:40 +01:00
rvelices
cac256e388 removed unused get_html_tag_selection function + css rules
git-svn-id: http://piwigo.org/svn/trunk@28715 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 20:39:25 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
2b81fbc4aa more query2array
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:21:12 +00:00
mistic100
81ac87bc81 render_tag_name trigger transmit full tag data as second parameter
git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-12 11:24:02 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
077eacf3de aliases trigger_event() in trigger_change() and trigger_action() in trigger_notify()
complete removal for 2.7 or 2.8

git-svn-id: http://piwigo.org/svn/trunk@25602 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-20 12:45:37 +00:00
mistic100
3e1d6ba47a feature 2999: documentation of functions\comment|cookie|filter|html
git-svn-id: http://piwigo.org/svn/trunk@25548 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 10:02:17 +00:00
mistic100
e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100
fc5c5d4b7c add two extra param to render_element_description trigger: main_page_element_description and picture_page_element_description
git-svn-id: http://piwigo.org/svn/trunk@25202 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-29 09:31:06 +00:00
rvelices
f6bcdf4335 bug 2896 - thumbnail title fix (use $comment parameter + no double htmlspecialchars)
git-svn-id: http://piwigo.org/svn/trunk@22520 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-07 04:52:08 +00:00
flop25
1da192431b bug:2896
debugg the empty()
adding htmlspecialchars(strip_tags()) before the truncature in order to avoid blanks, if the description has html/ExtendedDescription tags

git-svn-id: http://piwigo.org/svn/trunk@22518 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-06 21:24:26 +00:00
flop25
2e1af1dd90 bug:2896
thx to Kaare
apply render_element_description inside get_thumbnail_title()

git-svn-id: http://piwigo.org/svn/trunk@22505 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-06 17:30:34 +00:00
rvelices
ec50a59f75 replaced page_messages.php with a function to call
git-svn-id: http://piwigo.org/svn/trunk@20609 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 21:17:08 +00:00
rvelices
5b22fcea0e feature 2831: simple way to protect urls of originals
git-svn-id: http://piwigo.org/svn/trunk@20516 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-02 07:09:52 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
ae887e7806 - spaces are not replaced with   in category names by default. The same thing can be achieved by css if required and long album names are cut in the middle of the word on elegant theme, picture page sidebar. NOte: I almost wanted to remove the replace_space feature, but let's wait for 2.6
git-svn-id: http://piwigo.org/svn/trunk@18815 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-30 05:59:12 +00:00
rvelices
aace3770ae - improved page title when viewing tags, fix canonical url on index page if the webmaster changes the default number of thumbnails per page
git-svn-id: http://piwigo.org/svn/trunk@18667 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-16 19:58:12 +00:00
rvelices
fca022031a distinguish event render_element name and description
git-svn-id: http://piwigo.org/svn/trunk@17975 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-17 19:57:35 +00:00
rvelices
528c75ab35 bug 2735: fix/improve non latin language tags
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive
b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters
c. missing from remove_accents characters in romanian language (Latin Extended-B)
  ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW
  ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW
  ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW
  ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW
d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output 

git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-04 20:03:33 +00:00
ddtddt
6c9782b08b [trunk] - l10n page no found
git-svn-id: http://piwigo.org/svn/trunk@15384 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-28 15:00:37 +00:00
ddtddt
fcd83e7839 [trunk] - l10n page no found message 1
git-svn-id: http://piwigo.org/svn/trunk@15381 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-28 14:22:19 +00:00
rvelices
a893882789 - multisize thumb longest side can be smaller than the square size
- 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
2012-02-18 20:46:46 +00:00
rvelices
cc01941ed9 feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +00:00
plegall
b581ba81b7 merge r12760 from branch 2.3 to trunk
bug 2502 fixed: better handling of non-latin tags and multilanguage tags on
tags.php with mode letter.

We can't rely on url_name because it always start with "_" when the tag looks
like "[lang...". Instead we compute a str2url on the name, but once it has been
rendered by Extended Description. To avoid useless computations, I have added a
cache on the tag_alpha_compare function. Tested on a 175 tags set, speed is
good.



git-svn-id: http://piwigo.org/svn/trunk@12761 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 22:52:19 +00:00
rvelices
ef9766a291 feature 2477: Remove unused CSS / html elements from version 2.3
git-svn-id: http://piwigo.org/svn/trunk@12479 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-17 20:51:49 +00:00
mistic100
def88719e8 feature:2322 Add two new trigger events for tag name display and tag url
git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-11 14:35:38 +00:00
plegall
b6457719da ability to to display the album name as a single link and not several links depending on uppercats, with get_cat_display_name_cache
git-svn-id: http://piwigo.org/svn/trunk@9367 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-24 13:49:48 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
rvelices
b5046a4f94 got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:49:14 +00:00
rvelices
6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00