From 74f1b19dfe955f70fcc857e4bbd8921ec27dc82c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= <rubencm@gmail.com>
Date: Mon, 13 Mar 2017 03:05:29 +0100
Subject: [PATCH] [ticket/14974] make cookie notice configurable via language
 files

PHPBB3-14974
---
 phpBB/language/en/common.php                        | 1 +
 phpBB/styles/prosilver/template/overall_footer.html | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index a04a06331b..709b7d9731 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -181,6 +181,7 @@ $lang = array_merge($lang, array(
 	'COOKIE_CONSENT_INFO'	=> 'Learn more',
 	'COOKIE_CONSENT_MSG'	=> 'This website uses cookies to ensure you get the best experience on our website.',
 	'COOKIE_CONSENT_OK'		=> 'Got it!',
+	'COOKIE_CONSENT_HREF'	=> 'http://cookiesandyou.com',
 	'COOKIES_DELETED'		=> 'All board cookies successfully deleted.',
 	'CURRENT_TIME'			=> 'It is currently %s',
 
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index 413c93f79a..97a21f9a6e 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -76,7 +76,8 @@
 				"content": {
 					"message": "{LA_COOKIE_CONSENT_MSG}",
 					"dismiss": "{LA_COOKIE_CONSENT_OK}",
-					"link": "{LA_COOKIE_CONSENT_INFO}"
+					"link": "{LA_COOKIE_CONSENT_INFO}",
+					"href": "{LA_COOKIE_CONSENT_HREF}"
 				}
 			})});
 	</script>