From e673454e05e910de3553103d6f41695c5388ffbc Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 15 Jan 2012 17:05:30 +0000 Subject: feaure:2379 option to display user comments sorted new>old instead of old>new git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/config.sql | 1 + install/db/115-database.php | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 install/db/115-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index a973bb107..e121fb2cd 100644 --- a/install/config.sql +++ b/install/config.sql @@ -5,6 +5,7 @@ INSERT INTO piwigo_config (param,value,comment) VALUES ('nb_comment_page','10',' INSERT INTO piwigo_config (param,value,comment) VALUES ('log','true','keep an history of visits on your website'); INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_validation','false','administrators validate users comments before becoming visible'); INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_forall','false','even guest not registered can post comments'); +INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_order','ASC','comments order on picture page and cie'); INSERT INTO piwigo_config (param,value,comment) VALUES ('user_can_delete_comment','false','administrators can allow user delete their own comments'); INSERT INTO piwigo_config (param,value,comment) VALUES ('user_can_edit_comment','false','administrators can allow user edit their own comments'); INSERT INTO piwigo_config (param,value,comment) VALUES ('email_admin_on_comment_edition','false','Send an email to the administrators when a comment is modified'); diff --git a/install/db/115-database.php b/install/db/115-database.php new file mode 100644 index 000000000..c9d043c09 --- /dev/null +++ b/install/db/115-database.php @@ -0,0 +1,38 @@ + \ No newline at end of file -- cgit v1.2.3