From 3b2e7d17e37beab20becfe5ec11acee09a510b17 Mon Sep 17 00:00:00 2001 From: Giandomenico Olini Date: Thu, 1 Oct 2015 22:27:03 +0200 Subject: [PATCH] Updated version --- widgets/CookieWidget.php | 5 ++--- widgets/views/cookieWidget.php | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/widgets/CookieWidget.php b/widgets/CookieWidget.php index 8817cd5..2f52f7a 100644 --- a/widgets/CookieWidget.php +++ b/widgets/CookieWidget.php @@ -7,7 +7,7 @@ * @github https://github.com/cinghie/yii2-cookie-consent * @license GNU GENERAL PUBLIC LICENSE VERSION 3 * @package yii2-cookie-consent -* @version 1.3.0 +* @version 1.4.0 */ namespace cinghie\cookieconsent\widgets; @@ -30,7 +30,6 @@ public function init(){ parent::init(); // Default Value - if(!$this->message) { $this->message = 'This website uses cookies to ensure you get the best experience on our website.'; } else { @@ -101,4 +100,4 @@ public function run($params = []) ]); } -} +} \ No newline at end of file diff --git a/widgets/views/cookieWidget.php b/widgets/views/cookieWidget.php index 6006da9..b320d1c 100644 --- a/widgets/views/cookieWidget.php +++ b/widgets/views/cookieWidget.php @@ -7,7 +7,7 @@ * @github https://github.com/cinghie/yii2-cookie-consent * @license GNU GENERAL PUBLIC LICENSE VERSION 3 * @package yii2-cookie-consent -* @version 1.3.0 +* @version 1.4.0 */ use cinghie\cookieconsent\assets\CookieAsset; @@ -24,5 +24,3 @@ $codeJS .= " expiryDays: {$expiryDays} };"; $this->registerJs($codeJS); - -?> \ No newline at end of file