Initial commit - Typo3 11.5.41
This commit is contained in:
328
fileadmin/templates/ext/cookie_control/res/css/black.css
Normal file
328
fileadmin/templates/ext/cookie_control/res/css/black.css
Normal file
File diff suppressed because one or more lines are too long
329
fileadmin/templates/ext/cookie_control/res/css/blue.css
Normal file
329
fileadmin/templates/ext/cookie_control/res/css/blue.css
Normal file
File diff suppressed because one or more lines are too long
328
fileadmin/templates/ext/cookie_control/res/css/default.css
Normal file
328
fileadmin/templates/ext/cookie_control/res/css/default.css
Normal file
File diff suppressed because one or more lines are too long
329
fileadmin/templates/ext/cookie_control/res/css/grey.css
Normal file
329
fileadmin/templates/ext/cookie_control/res/css/grey.css
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
BIN
fileadmin/templates/ext/cookie_control/res/images/toggle.png
Normal file
BIN
fileadmin/templates/ext/cookie_control/res/images/toggle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
523
fileadmin/templates/ext/cookie_control/res/js/cookieControl-5.0.min.js
vendored
Normal file
523
fileadmin/templates/ext/cookie_control/res/js/cookieControl-5.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,47 @@
|
||||
jQuery(document).ready(function(){
|
||||
jQuery('#cctoggle').live('click',function(){
|
||||
if(document.getElementById('cchide-popup').checked){
|
||||
CookieControl.setCookie('civicShowCookieIcon', 'no');$('#ccc-icon').hide()
|
||||
}
|
||||
if(jQuery(this).attr('class') == 'cctoggle-on'){
|
||||
jQuery.ajax({
|
||||
url: 'index.php',
|
||||
data: {
|
||||
eID: 'cookieDelete',
|
||||
tx_cookie_control_pi1: ({
|
||||
'in':2
|
||||
})
|
||||
},
|
||||
success: function(data) {
|
||||
CookieControl.reset();
|
||||
setTimeout(function(){window.location.reload()}, 500);
|
||||
}
|
||||
});
|
||||
|
||||
}else{
|
||||
jQuery.ajax({
|
||||
url: 'index.php',
|
||||
data: {
|
||||
eID: 'cookieDelete',
|
||||
tx_cookie_control_pi1: ({
|
||||
'in': 1
|
||||
})
|
||||
},
|
||||
success: function(data) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
jQuery('#cookie_enable').bind('click',function(){
|
||||
CookieControl.setCookie('civicShowCookieIcon', 'yes');
|
||||
$('#cccwr').show();
|
||||
$('#ccc-icon').show();
|
||||
});
|
||||
|
||||
setTimeout(function(){
|
||||
$('#cccwr').hide()
|
||||
$('#ccc-icon').hide()
|
||||
},300000) ;
|
||||
});
|
||||
3
fileadmin/templates/ext/cookie_control/res/template.html
Normal file
3
fileadmin/templates/ext/cookie_control/res/template.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!-- ###COOKIE### -->
|
||||
|
||||
<!-- ###COOKIE### -->
|
||||
80
fileadmin/templates/ext/cookie_control/template.html
Normal file
80
fileadmin/templates/ext/cookie_control/template.html
Normal file
@@ -0,0 +1,80 @@
|
||||
<!-- ###COOKIE### -->
|
||||
<script type="text/javascript">
|
||||
var addSize = "###STR_LEN_ADD_TEXT###";
|
||||
var title = "###TITLE###";
|
||||
if(title.length == 0){
|
||||
title = "Cookie Control";
|
||||
}
|
||||
var buttonText = "###BUTTON_TEXT###";
|
||||
if(buttonText.length ==0){
|
||||
buttonText = "I am happy with this";
|
||||
}
|
||||
var button = "";
|
||||
if(addSize > 0){
|
||||
button = "<button class=\"ccc-expand\">read more</button>";
|
||||
}else{
|
||||
button = "";
|
||||
}
|
||||
var revokeButtonText = "###REVOKE_BUTTON_TEXT###";
|
||||
if(revokeButtonText.length == 0){
|
||||
revokeButtonText = "Revoke Concent";
|
||||
}
|
||||
</script>
|
||||
<script src="###PATH###pi1/js/cookieControl-4.1.min.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" type="text/css" href="###THEMEFILE###" />
|
||||
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
|
||||
<script type="text/javascript"> //<![CDATA[
|
||||
cookieControl({
|
||||
introText:'###INTROTEXT###',
|
||||
fullText:'###FULLTEXT###',
|
||||
position:"###POSITION###", // left or right
|
||||
shape:"###SHAPE###", // triangle or diamond
|
||||
theme:"###THEME###", // light or dark
|
||||
startOpen:true,
|
||||
autoHide:6000,
|
||||
countries:"###COUNTRIES###",
|
||||
subdomains:true,
|
||||
###EXTRAOPTION###
|
||||
});
|
||||
function ccAddAnalytics() {
|
||||
jQuery.getScript("http://www.google-analytics.com/ga.js", function() {
|
||||
var GATracker = _gat._createTracker('###CODE###');
|
||||
GATracker._trackPageview();
|
||||
});
|
||||
}
|
||||
//]]>
|
||||
$(document).ready(function(){
|
||||
$('#clearcookies').click(function(){
|
||||
$('.ccc-widget').hide();
|
||||
$.ajax({
|
||||
url: 'index.php',
|
||||
data: {
|
||||
eID: 'cookieDelete',
|
||||
tx_cookie_control_pi1: ({
|
||||
'in': 'delete'
|
||||
})
|
||||
},
|
||||
success: function(data) {
|
||||
CookieControl.reset();
|
||||
setTimeout(function(){window.location.reload()}, 500);
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$('#ccc-go').click(function(){
|
||||
$.ajax({
|
||||
url: 'index.php',
|
||||
data: {
|
||||
eID: 'cookieDelete',
|
||||
tx_cookie_control_pi1: ({
|
||||
'in': 'allow'
|
||||
})
|
||||
},
|
||||
success: function(data) {
|
||||
//setTimeout(function(){window.location.reload()}, 500);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- ###COOKIE### -->
|
||||
Reference in New Issue
Block a user