Skip to content

Commit

Permalink
Merge pull request #118 from MathieuNls/111_cookie
Browse files Browse the repository at this point in the history
new cookie consent #111
  • Loading branch information
AlphonseJr committed Feb 5, 2016
2 parents 445328e + 8b03de8 commit d68a45d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions application/views/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- <script type="text/javascript" src="<?php echo js_url('jquery.cookiesdirective');?>"/> -->

<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":"https://toolwatch.io/about","theme":"<?php echo base_url();?>assets/css/cookie.css"};
</script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
<!-- End Cookie Consent plugin -->


</head>
<body>
<div class="modal fade" id="pageModal" tabindex="-1" role="dialog" aria-labelledby="pageModal" aria-hidden="true" data-keyboard="true" data-backdrop="static">
Expand Down
1 change: 1 addition & 0 deletions assets/css/cookie.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d68a45d

Please sign in to comment.