From 9245227e7095ce46272df8ff2990586e43a915c8 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 23 Jun 2009 13:44:58 +0000 Subject: Feature 1026 : Modify / delete comments for users + 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 --- install/config.sql | 4 ++++ install/db/81-database.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 install/db/81-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index 6e086d59c..76c7bd6ae 100644 --- a/install/config.sql +++ b/install/config.sql @@ -4,6 +4,10 @@ INSERT INTO piwigo_config (param,value,comment) VALUES ('nb_comment_page','10',' INSERT INTO piwigo_config (param,value,comment) VALUES ('log','false','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 ('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'); +INSERT INTO piwigo_config (param,value,comment) VALUES ('email_admin_on_comment_deletion','false','Send an email to the administrators when a comment is deleted'); INSERT INTO piwigo_config (param,value,comment) VALUES ('gallery_locked','false','Lock your gallery temporary for non admin users'); INSERT INTO piwigo_config (param,value,comment) VALUES ('gallery_title','Piwigo demonstration site','Title at top of each page and for RSS feed'); INSERT INTO piwigo_config (param,value,comment) VALUES ('gallery_url','http://piwigo.org/demo','URL given in RSS feed'); diff --git a/install/db/81-database.php b/install/db/81-database.php new file mode 100644 index 000000000..d6a1b1f4e --- /dev/null +++ b/install/db/81-database.php @@ -0,0 +1,50 @@ + -- cgit v1.2.3