plegall
a04c93cf76
fixes #2092 redesigned handling of return to gallery after photo edit
...
* instead of using the provided cat_id in the URL parameters, registers the "context" of the last 10 photos viewed. Be it an album, a search, a tag...
* maybe not the cleanest way to do it (because we do not rebuild the url string) but simple and straightforward
2025-11-03 21:49:23 +01:00
HWFord
36c889b33a
fixes #698 change condition to add meta tag
...
we only want the meta tag when the exif data is displayed using the url parameter, this avoids the no index no follow for some themes that force displaying metadata
2025-02-20 12:29:37 +01:00
HWFord
38bce29b33
fixes #2313 remove privacy level from gallery
...
and anything related to having this configuration here
2025-01-21 15:27:28 +01:00
plegall
fc5bc47bc3
fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+
2024-12-18 12:29:31 +01:00
Markus Vuorio
eeef623780
Correct way to check file type
2024-10-21 16:48:41 +02:00
Markus Vuorio
cdd4d3d2b3
Only count PDF pages for PDF files
...
Fixes #2239
2024-10-21 16:48:41 +02:00
HWFord
983d943548
issue #2170 update picture tpl to embed pdf reader
...
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
2024-06-20 11:56:19 +02:00
HWFord
b0485f6365
fixes #2163 check user conf
...
add user['enabled_high'] to condition for adding download link
2024-05-29 16:39:59 +02:00
plegall
382884836a
issue #916 and issue #1917 increment images.hit when calling pwg.history.log
2023-07-10 14:49:36 +02:00
Matthieu Leproux
77b156df18
fixes #1657 SVG support (both gallery and admin sides)
2022-09-01 15:20:55 +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
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
plegall
fc193f7474
issue #830 simplify PHP files header, remove copyright/license info
2019-06-04 17:13:51 +02:00
plegall
940d1d2e8c
issue #552
...
* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
2019-04-01 16:19:09 +02:00
plegall
27a6504284
issue #552 new table activity and log add/edit/delete on albums
2019-03-25 16:50:45 +01:00
plegall
1c5b36f734
fixes #235 , show/hide edit/caddie/representative icons on index.php or picture.php
2017-04-07 14:20:19 +02:00
plegall
b0ae23e34d
fixes #428 , ability to hide "sizes" icon on index.php or picture.php
2017-04-06 15:55:23 +02:00
plegall
a684afbdc3
fixes #415 , even if non-picture file, force download with action.php
2016-05-10 11:37:35 +02:00
plegall
c789347c51
happy new year 2016, all headers updated
2016-01-14 12:17:58 +01:00
plegall
7b653c04d6
feature #379 , multiple format, download original as format
...
If multiple format feature is enabled, always put the original file in the formats list.
2015-12-30 16:04:32 +01:00
plegall
e439de1612
feature #379 , multiple format, consider the original as a format
2015-12-22 19:04:00 +01:00
plegall
11f37b24b4
feature #379 , multiple format, no browser cache
...
No need random string in URL to avoid browser cache, coding tip by @modus75
2015-12-20 17:49:12 +01:00
plegall
89bc74b3f3
feature #379 , multiple format, labels
...
Ability to customize, with $lang['format CR2'] = 'RAW Canon' (in LocalFiles Editor) for example
2015-12-20 15:44:01 +01:00
plegall
0f8d85491f
feature #379 , multiple format, hide formats when disabled
2015-12-17 14:08:53 +01:00
plegall
c3b748ecbf
feature #379 multiple format, step 2: download formats
...
* 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
2015-12-07 10:54:18 +01:00
plegall
c4017d2a8a
bug 3156 fixed: avoid warning on PHP 5.2 for nl2br second parameter
...
git-svn-id: http://piwigo.org/svn/trunk@29901 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-10-06 09:27:19 +00:00
rvelices
5dac760ce7
picture.php remove THUMB_SRC template assignment (pre multiple size remainings)
...
git-svn-id: http://piwigo.org/svn/trunk@28993 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07 20:44:35 +00:00
rvelices
3c13387dfd
since number of accepted args not required for add_event_handler, simplify calls
...
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-18 19:51:42 +00:00
mistic100
55619222fb
don't update images.lastmodified field when incrementing hits count
...
git-svn-id: http://piwigo.org/svn/trunk@28640 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-05 07:25:28 +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
cac08d6f48
simplified allow_increment_element_hit_count call and also pass the image id in the event ...
...
git-svn-id: http://piwigo.org/svn/trunk@28184 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 21:38:41 +00:00
rvelices
b3f3f8c38b
no warning on missing user agent
...
git-svn-id: http://piwigo.org/svn/trunk@27867 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-21 05:13:06 +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
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
mistic100
ae707279a1
remove all array_push (50% slower than []) + some changes missing for feature:2978
...
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100
2f08283864
feature 2978: remove useless sprintf in the core
...
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
rvelices
c3c807b553
- on picture.php do not set the prefetch link if already set by a plugin
...
- picture.tpl set the derivative size checkbox id to the correct name
git-svn-id: http://piwigo.org/svn/trunk@23882 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-08 23:14:14 +00:00
rvelices
49da4accc8
on picture page add TITLE_ESC variable for every thumb to avoid escaping TITLE more than 40 times in the template...
...
git-svn-id: http://piwigo.org/svn/trunk@23689 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-30 05:57:49 +00:00
plegall
1edebf3db2
merge r22402 from branch 2.5 to trunk
...
bug 2894 fixed: make sure all users cache is reset when an admin changes the
album thumbnail.
git-svn-id: http://piwigo.org/svn/trunk@22403 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-29 14:57:33 +00:00
rvelices
87ed74afd9
- remove code for backward compatibility (jquery ui effect + template variable)
...
git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:49:06 +00:00
rvelices
e9dab9db74
on picture.php replace U_ADMIN url with U_PHOTO_ADMIN url to avoid being overriden by menubar and having to redefine it (U_ADMIN still there for 2.5 version for backward compatibility)
...
git-svn-id: http://piwigo.org/svn/trunk@21039 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-25 21:16:10 +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
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
mistic100
2fa1013ace
feature:2786 Allow to edit website url in user comments + improve "user experience" on comment edition
...
git-svn-id: http://piwigo.org/svn/trunk@18995 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-11 15:01:09 +00:00
mistic100
457dbb4dac
feature:2781 Add template method to sort actions buttons
...
git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 12:32:43 +00:00
rvelices
fe8330d14f
fix php warning + removed unnecessary
...
git-svn-id: http://piwigo.org/svn/trunk@18757 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 07:18:32 +00:00
rvelices
b57ab43510
related categories on picture page contain status and visible db fields (useful for example for "social" plugins to know if a photo is public or not)
...
git-svn-id: http://piwigo.org/svn/trunk@18747 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-25 20:01:14 +00:00
rvelices
7f75c131ed
bug 2772: remove "Home" from html title pages on index pages
...
git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:55:35 +00:00
mistic100
77e753e91f
bug 2715: on picture page, tools buttons + Firefox prefetch increment the hit counter
...
git-svn-id: http://piwigo.org/svn/trunk@17345 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03 09:53:43 +00:00
mistic100
8c4a87a0f5
feature:2538 little rework of messages system, now can be used on 'loc_end_index' and 'loc_end_picture'
...
git-svn-id: http://piwigo.org/svn/trunk@15578 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 20:29:30 +00:00