Moving assets and resources to the public folder
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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 |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
+523
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) ;
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
<!-- ###COOKIE### -->
|
||||
|
||||
<!-- ###COOKIE### -->
|
||||
@@ -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