-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfixes. Added EU cookie banner as static content
- Loading branch information
Showing
9 changed files
with
93 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | ||
|
||
class MY_Model extends CI_Model { | ||
protected function _invoke($method = NULL, $params = NULL) { | ||
if($method) { | ||
foreach ($this->db->select('module')->from('modules')->where('active', 1)->get()->result() as $module) { | ||
if(method_exists($this->{$module->module}, $method)) { | ||
Modules::run($module->module.'/'.$method, $params); | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- <script type="text/javascript" id="cookiebanner" | ||
src="frontend/core/js/cookiebanner.min.js" | ||
</script> --> | ||
|
||
<!-- <div class="cookiebanner"> | ||
<div class="cookiebanner-close" >X</div> | ||
<span>We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. <a href="http://aboutcookies.org" target="_blank" class="cookiebanner-learnmore">Learn more</a></span> | ||
</div> --> | ||
|
||
<!-- <div class="cookiebanner" style="position: fixed; left: 0px; right: 0px; height: auto; min-height: 21px; z-index: 255; color: rgb(221, 221, 221); line-height: 21px; padding: 5px 16px; font-family: arial, sans-serif; font-size: 14px; bottom: 0px; opacity: 1; background: rgb(0, 0, 0);"> | ||
<div class="cookiebanner-close" style="float: right; padding-left: 5px; cursor: pointer;">✖</div> | ||
<span> | ||
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. | ||
<a href="http://aboutcookies.org" target="_blank" style="text-decoration: none; color: rgb(170, 170, 170);">Learn more</a> | ||
</span> | ||
</div> --> | ||
|
||
<!-- <div class="alert alert-info alert-dismissible navbar-fixed-bottom" role="alert"> | ||
<strong>Warning!</strong> Better check yourself, you're not looking too good. | ||
<button type="button" class="" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> --> | ||
|
||
<div class="alert alert-dismissible fade in navbar-inverse navbar-fixed-bottom" role="alert" style="margin-bottom: 0px;"> | ||
<p style="color: #FFF;">We are using cookies to improve the experience on the website. You can read more <a href="cookiepolicy">HERE</a> | ||
<?php print nbs(5); ?> | ||
<a href="cookies/accept" class="btn btn-sm btn-info" >Accept cookies</a> | ||
<button type="button" class="btn btn-sm btn-default" data-dismiss="alert" aria-label="Close">Close</button> | ||
</p> | ||
</div> |