Commit graph

70 commits

Author SHA1 Message Date
HWFord
41d5c8a258
fixes #2306 move save buttons to bottom of page (PR #2346)
For these pages :
 picture modify, album notification, category permission, comments, menubar, all configurations, site update, element set ranks, notification by mail

Change how success and errors messages are displayed and handled
2025-03-21 16:28:37 +01:00
Matthieu Leproux
fd82502f7c related to #1679 fixing glitches on page titles 2022-07-05 14:13:30 +02:00
plegall
776f8fa186 fixes #1058 prevent CSRF on notification by mail, with a pwg_token
also added some checks to NBM parameters to avoid XSS (minor issue)
2019-08-12 12:31:24 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
69345c06e2 fixes #847, CVE-2018-5692 protect a few user input variables 2018-07-11 11:22:31 +02:00
plegall
77888174cf fixes #411, auth keys details on notification forms 2016-01-29 11:47:30 +01: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
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
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
45afbb48fb remove is_adviser() and get_email_address_as_display_text()
git-svn-id: http://piwigo.org/svn/trunk@25729 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-26 20:54:07 +00:00
mistic100
fc3b787b70 feature 2995: New email template
restore get_l10n_args removed at r25357
apply changes to NBM

git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 17:57:53 +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
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
9a4a9d846e feature 2703: make it easy for plugins to add tabs in admin screens
centralize all core tabs in one file

git-svn-id: http://piwigo.org/svn/trunk@16928 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 11:50:41 +00:00
mistic100
283e9010eb feature 2703: make it easy for plugins to add tabs in admin screens
add a trigger a give an id to each core tabsheets

git-svn-id: http://piwigo.org/svn/trunk@16925 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-23 10:03:14 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +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
d125d527fa feature 2102 : rename item/image/picture to photo (admin side)
also removed unnecessary/duplicate keys

git-svn-id: http://piwigo.org/svn/trunk@8723 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:27:46 +00:00
rvelices
3d940e6121 feature 2102 : rename item/image/picture to photo (admin side)
also remove duplicates/unused admin lang keys

git-svn-id: http://piwigo.org/svn/trunk@8682 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-15 20:52:34 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
rvelices
722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path)
- added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir

git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28 19:58:51 +00:00
nikrou
94d40c0eab Bug 1617 fixed : help page is displayed in current theme in public or admin pages
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
nikrou
4061fefe71 Fix missing keys and misspelling keys in translations
git-svn-id: http://piwigo.org/svn/trunk@5573 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-02 14:05:03 +00:00
plegall
8802877a84 remove the \n from the language key and split into 2 separate strings to avoid
useless exceptions in translation analysis scripts.

git-svn-id: http://piwigo.org/svn/trunk@5302 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 23:45:13 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
patdenice
7a81759fb0 Feature 1502
Move mail images.
Change image path in mail-css files.
Remove local css file for NBM.

git-svn-id: http://piwigo.org/svn/trunk@5125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 01:19:57 +00:00
nikrou
11751ccd2c Feature 1451 : fix mispelling and missing translations
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-03 11:18:21 +00:00
nikrou
2e890e9597 Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 14:54:22 +00:00
nikrou
924dd262ec Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20 14:17:04 +00:00
Eric
1235bab527 Escape all login and username characters in database
Display correctly usernames

(I hope not to have made mistakes)

git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 20:07:20 +00:00
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
vdigital
fecb04f2ec Wigo becomes "goto".
Admin tpl files are moved.

git-svn-id: http://piwigo.org/svn/trunk@2530 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-14 07:16:15 +00:00
plegall
524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
bugged (r2297 was repeating new and old header).

By the way, I've also removed the replacement keywords. We were using them
because it was a common usage with CVS but it is advised not to use them with
Subversion. Personnaly, it is a problem when I search differences between 2
Piwigo installations outside Subversion.


git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05 14:14:07 +00:00
plegall
3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
rvelices
f12f0026fc - admin/notification_by_mail goes smarty - THE LAST ONE :-) :-)
- get rid of user_list warnings
- some code reorganisation in template class + explode modifier
- minor template and language changes in search.tpl and cat_modify.tpl

git-svn-id: http://piwigo.org/svn/trunk@2286 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-20 00:35:36 +00:00
rvelices
cab98df776 - smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-18 23:43:38 +00:00
rub
0c83b734fb Fix bug of svn:2249
Fix quicky mail error with smarty

git-svn-id: http://piwigo.org/svn/trunk@2262 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-07 06:42:43 +00:00
rvelices
152d07d752 - admin comments, configuration, element_set_global, element_set_unit, thumbnail and double_select migration to smarty
- fix in redirect.tpl

git-svn-id: http://piwigo.org/svn/trunk@2249 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-05 01:50:08 +00:00
rub
4621be1005 0000809: Use more php classes implementation
Use class for tabsheet like grum class
Change way for tabsheet

git-svn-id: http://piwigo.org/svn/trunk@2226 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-28 23:41:47 +00:00
rub
c1cd43c874 Resolved issue 0000763: mail triggers:
Add triggers on mail part:
  o NBM
  o Group mail
  o process send mail

+ check group_id null on group mail

Merge branch-1_7 2138:2139 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2140 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16 21:18:11 +00:00
rub
608c174245 Replace htmlentities by htmlspecialchars on NBM in order to send a correct UTF8 mail.
Quote mail charset + add debug mail informations
Fix "check user with same mail" where null email was not discarded

git-svn-id: http://piwigo.org/svn/trunk@2136 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-12 22:14:23 +00:00
rvelices
69d0dae55d merge -r2088 from branch-1_7 to trunk
- urls used in http redirections must not be html escaped (eg. should use & instead of &)

git-svn-id: http://piwigo.org/svn/trunk@2089 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-12 04:01:54 +00:00
rub
bbd2ddd142 Change headers with team email
git-svn-id: http://piwigo.org/svn/trunk@2059 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-10 05:30:01 +00:00
rub
fd50890049 Add tabsheet on administration pages.
Step 1: Refactoring tabsheet on NBM and introduce generic method to add tabsheet.tpl

On next commit, use of this new method in order to reduce # of link menu.

CSS friend don't hesitate to modify tabsheet css.

git-svn-id: http://piwigo.org/svn/trunk@1874 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-06 23:02:02 +00:00
rub
e06d9ae13d Add on $conf value of the function get_recent_post_dates
git-svn-id: http://piwigo.org/svn/trunk@1871 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04 22:40:28 +00:00
rub
b3e3b8dcf0 Reduce number of images on NBM for more visibility. (Next parameters for RSS & NBM on $conf in order to be more easy to modify)
Use $id$ on php headers

git-svn-id: http://piwigo.org/svn/trunk@1857 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-25 22:26:52 +00:00
rub
bb78990601 My last improvements before 1.7.0RC1.
Can include Cc & Bcc on mail.
Send mail to all administrators on new comment or new users.
Add validate link on new comment mail.
Try to detect if the NBM complementary content is HTML or plain text. With plain text, this content is convert to readable HTML.

git-svn-id: http://piwigo.org/svn/trunk@1818 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 22:53:04 +00:00