aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19remove all array_push (50% slower than []) + some changes missing for ↵mistic1001-3/+3
feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-06- fill add comment form fields only if the input comment has been rejectedrvelices1-18/+26
- simplify templates git-svn-id: http://piwigo.org/svn/trunk@18950 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-25related categories on picture page contain status and visible db fields ↵rvelices1-1/+1
(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-09-23feature 2754: Add "Email" field for user comments + mandatory "Author" mistic1001-24/+28
git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03feature 2380: add URL for user comment mistic1001-1/+6
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-21on comment_list add link to exit from comment editionmistic1001-0/+1
git-svn-id: http://piwigo.org/svn/trunk@15924 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05bug:2645 author field is kept when comment not validatedmistic1001-2/+4
git-svn-id: http://piwigo.org/svn/trunk@15570 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-02- comment edit form looks ok now with the new comment layoutrvelices1-1/+1
- removed unused css / simplify it - simplified jquery drop boxes ... git-svn-id: http://piwigo.org/svn/trunk@13865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-27- remove unnecessary classes switchSelected switchUnselected (same effect ↵rvelices1-1/+6
acheved through visibility) - remove unused css git-svn-id: http://piwigo.org/svn/trunk@13773 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-17feature 2379: missing a "s" in languages keysmistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@13225 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-17feature 2379: option to change comments order: change caption again, fix a ↵mistic1001-1/+1
bug in config page (induced by r13087) git-svn-id: http://piwigo.org/svn/trunk@13224 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-13fix comment order url when no question mark in urlsrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@13156 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature 2379: change captions for comment orderingmistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@13088 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02feature 2548 multisize - custom sizes restricted to those requested by ↵rvelices1-18/+4
theme/plugin code refacto git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-15feaure:2379 option to display user comments sorted new>old instead of old>new mistic1001-1/+27
git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19feature:2538 transmits messages after comment edition trough SESSION (no ↵mistic1001-6/+1
more ugly url displayed, avoid some minor bugs) git-svn-id: http://piwigo.org/svn/trunk@12767 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-18feature:2538 Make a unified messages managementmistic1001-9/+4
use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-26feature 2384: improve average rating calculation (final)rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-04transmit comment ID to template on comments and picture_commentmistic1001-3/+2
git-svn-id: http://piwigo.org/svn/trunk@11236 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06bug:2152 no special parameter for updated comment validationmistic1001-41/+38
git-svn-id: http://piwigo.org/svn/trunk@10122 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06bug:2152 Comments revalidation when modifiedmistic1001-38/+41
git-svn-id: http://piwigo.org/svn/trunk@10097 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-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
2011-01-10- fix undefined function when editing a user comment on picture pagervelices1-19/+19
git-svn-id: http://piwigo.org/svn/trunk@8600 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30feature 1915: add protection on user registration against robots rvelices1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-01- do not remove slashes before calling insert_user_comment (homogeneity with ↵rvelices1-3/+3
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
2010-04-04bug 1579: admins should see all user comments on picture.php, validated or not.plegall1-15/+25
git-svn-id: http://piwigo.org/svn/trunk@5654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-04bug 1534: if you're a guest, if configuration tells you can't add userplegall1-3/+11
comments, you won't see the form on the picture page. git-svn-id: http://piwigo.org/svn/trunk@5649 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19bug 1328: backport the pwg_token on trunkplegall1-20/+24
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
2010-03-02Feature 1451 : localization with gettextnikrou1-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
2010-01-03Merge branch 'bug_1255'nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@4607 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1255 : improve sqlnikrou1-1/+1
Replace in queries LIMIT N,M by LIMIT N OFFSET M git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20Feature 1244 resolvednikrou1-2/+2
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-18Escape all login and username characters in databaseEric1-3/+3
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-15Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou1-2/+2
small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01- remove warn on unset variablervelices1-6/+6
- 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
2009-06-24Fix two problem with Feature 1026 :nikrou1-2/+3
use of $conf['user_fields']['username'] and $conf['user_fields']['id'] instead of username and id escape comment content before editing it. git-svn-id: http://piwigo.org/svn/trunk@3452 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23Feature 1026 step 2 :nikrou1-8/+20
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
2009-06-23fix html bug (li) fix comment for guest bug (form missing)nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3446 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23Feature 1026 : Modify / delete comments for usersnikrou1-9/+29
+ 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
2009-06-10feature 1028 : Allow admin to validate comment from picture pagenikrou1-3/+21
git-svn-id: http://piwigo.org/svn/trunk@3409 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-05Create navigation_bar.tpl file.patdenice1-1/+1
Move create_navigation_bar function from functions_html.inc.php to functions.inc.php. git-svn-id: http://piwigo.org/svn/trunk@3172 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14Last (I hope) paranoic optims ...rvelices1-6/+5
- 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
2009-02-04- removed second parameter $type from function format_datervelices1-5/+2
git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-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
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee