aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_comment.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2999: documentation of functions\comment|cookie|filter|htmlmistic1002013-11-181-27/+63
| | | | git-svn-id: http://piwigo.org/svn/trunk@25548 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2995: New email templatemistic1002013-11-061-25/+25
| | | | | | | 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
* feature 2995: New email templatemistic1002013-11-061-36/+30
| | | | | | | | | rewrite pwg_mail_group() and pwg_mail_notification_admins() new function pwg_mail_admins() add complete template management in pwg_mail() TODO : font-size problem in Thunderbird git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-6/+6
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2836: display the number of comments/tags in the menubar rvelices2013-03-241-8/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2786 Allow to edit website url in user comments + improve "user ↵mistic1002012-11-111-1/+16
| | | | | | experience" on comment edition git-svn-id: http://piwigo.org/svn/trunk@18995 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2754: Add "Email" field for user comments + mandatory "Author" mistic1002012-09-231-6/+35
| | | | git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2380: add URL for user comment mistic1002012-08-031-2/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2660: check guest IP on insert_user_comment (same system as rate_picture)mistic1002012-06-241-1/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@15983 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix email on comment requiring validation even if the options is uncheckedrvelices2012-03-291-2/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@13800 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1002012-01-171-1/+1
| | | | | | apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2500: make 'validate_user_comment' and 'delete_user_comment' working ↵mistic1002011-11-111-5/+23
| | | | | | with array git-svn-id: http://piwigo.org/svn/trunk@12596 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2495 add triggers for comment validation and deletionmistic1002011-11-051-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@12556 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2323 : Refactoring update_user_comment() function to use ↵Eric2011-06-061-10/+8
| | | | | | user_comment_check trigger in a better place. git-svn-id: http://piwigo.org/svn/trunk@11253 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2152 no special parameter for updated comment validationmistic1002011-04-061-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@10122 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2152 Comments revalidation when modifiedmistic1002011-04-061-2/+42
| | | | git-svn-id: http://piwigo.org/svn/trunk@10097 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-2/+2
| | | | | | | 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
* merge r7783 from branch 2.1 to trunkplegall2010-11-151-1/+1
| | | | | | | | | bug 2036 fixed: anti flood limitations for user comments should not apply to administrators. git-svn-id: http://piwigo.org/svn/trunk@7784 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1915: add protection on user registration against robots rvelices2010-10-301-15/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1744 fixed : Incorrect use of timezone with SQLitenikrou2010-06-251-4/+6
| | | | | | | | Fixed anti-flood system. Need refactoring between each interval functions git-svn-id: http://piwigo.org/svn/trunk@6604 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1735 fixed : Comment page is not PostgreSQL compatiblenikrou2010-06-241-2/+2
| | | | | | | | | Fixed by adding all fields except category_id in group by clause category_id is retrieved later in an another query. Fixed also problem of FROM_UNIXTIME function not POstgreSQL compatible. git-svn-id: http://piwigo.org/svn/trunk@6596 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bug 1733 : queries must use single quotesnikrou2010-06-231-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@6589 68402e56-0260-453c-a942-63ccdbb3a9ee
* - do not remove slashes before calling insert_user_comment (homogeneity with ↵rvelices2010-06-011-16/+1
| | | | | | | | update_user_comment and general use of slashes in piwigo) - when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster) git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1705 fixed : double quotes were not escapednikrou2010-05-291-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6423 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1581 fixed : missing comment_id for email_admin() functionnikrou2010-04-081-1/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: backport the pwg_token on trunkplegall2010-03-191-11/+44
| | | | | | | | | bug 1329: backport the check_input_parameter on trunk feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring on this feature to make the code simpler and easier to maintain (I hope). git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-3/+3
| | | | | | | | | | | 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
* Feature 1255 :nikrou2010-02-151-1/+1
| | | | | | | update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-4/+4
| | | | | | | | 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
* Rollback to preview commitEric2009-11-181-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4306 68402e56-0260-453c-a942-63ccdbb3a9ee
* Forgotten Comments author name to be escaped and correctly displayedEric2009-11-181-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4305 68402e56-0260-453c-a942-63ccdbb3a9ee
* Escape all login and username characters in databaseEric2009-11-181-1/+1
| | | | | | | | Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix php warning from comment_list.tplrvelices2009-07-161-13/+4
| | | | | | | | - author name is saved always in #comments (even for registered users) so that - sql queries are simpler on the comments page (one less table in a big join) - when a user is deleted, we can keep the username in the #comments (there might be still a bug that author_id is not updated when a user is deleted) git-svn-id: http://piwigo.org/svn/trunk@3600 68402e56-0260-453c-a942-63ccdbb3a9ee
* - correct mysql error (while updating user comment)rvelices2009-07-011-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove warn on unset variablervelices2009-07-011-23/+25
| | | | | | - insert_user_comment expects now the comment content to be sql safe (works now exactly as update_user_comment) git-svn-id: http://piwigo.org/svn/trunk@3488 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1026 step 2 :nikrou2009-06-231-17/+25
| | | | | | add author_id column so that guest cannot modify old users comments git-svn-id: http://piwigo.org/svn/trunk@3450 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1026 : Modify / delete comments for usersnikrou2009-06-231-0/+130
| | | | | | | | + update config table content + minor modification of Sylvia theme + need refactoring git-svn-id: http://piwigo.org/svn/trunk@3445 68402e56-0260-453c-a942-63ccdbb3a9ee
* Last (I hope) paranoic optims ...rvelices2009-02-141-21/+1
| | | | | | | | | - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: as rvelices notified me by email, my header replacement script wasplegall2008-04-051-24/+0
| | | | | | | | | | | | 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
* Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall2008-04-041-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
* Send comment notification only if comment is not validated and $conf is true.rub2007-11-201-2/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@2166 68402e56-0260-453c-a942-63ccdbb3a9ee
* - send status code 403 when attempt to enter a user comment, but comments ↵rvelices2007-10-291-17/+6
| | | | | | | | | are disabled - don't increase hit count when a comment is posted - remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless) git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000697: with generic user a author name is necessary to ↵rub2007-06-051-2/+3
| | | | | | | | | comment picture. + Change way to determinate if user is a guest (use functions like is_admin) git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
* Cosmetic: make get_comment_post_key function more readable.plegall2007-05-281-1/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@2027 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add new translation functions.inc.phprub2007-03-151-16/+15
| | | | | | | | Translate subject of information mail. Notification mails are sent on the default language. No mail is sent to the author witch are not done actions git-svn-id: http://piwigo.org/svn/trunk@1908 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add notification when a picture is loaded.rub2007-03-121-6/+6
| | | | | | | Change little translations. Improve mail sent. git-svn-id: http://piwigo.org/svn/trunk@1901 68402e56-0260-453c-a942-63ccdbb3a9ee
* - user comments are not saved in the database with htmlspecialchars anymorervelices2007-02-221-0/+228
- web service: added the possibility to enter a user comment using the service... - new comment functions from picture_comment.inc.php git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee