From b4b17975304e776518bb2f456f8000cef6bd60e9 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 22 Jun 2014 11:41:47 +0000 Subject: feature 3095: add "comments_enable_website" param + GUI git-svn-id: http://piwigo.org/svn/trunk@28764 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/config.sql | 1 + install/db/142-database.php | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 install/db/142-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index 3783d0130..d247b93c0 100644 --- a/install/config.sql +++ b/install/config.sql @@ -8,6 +8,7 @@ INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_forall','false 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 ('comments_author_mandatory','false','Comment author is mandatory'); INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_email_mandatory','false','Comment email is mandatory'); +INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_enable_website','true','Enable "website" field on add comment form'); 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/142-database.php b/install/db/142-database.php new file mode 100644 index 000000000..869f03faa --- /dev/null +++ b/install/db/142-database.php @@ -0,0 +1,35 @@ + -- cgit v1.2.3