initial commit
6
r41/standard/de/_core/scripts/bootbox.min.js
vendored
Normal file
1489
r41/standard/de/_core/scripts/bootstrap-slider.js
vendored
Normal file
7
r41/standard/de/_core/scripts/bootstrap.min.js
vendored
Normal file
7
r41/standard/de/_core/scripts/clipboard.min.js
vendored
Normal file
1112
r41/standard/de/_core/scripts/enhancement.js
Normal file
164
r41/standard/de/_core/scripts/enhancement_mobile.js
Normal file
@ -0,0 +1,164 @@
|
||||
/*
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.mobile.ajaxEnabled = false;
|
||||
$.mobile.pushStateEnabled = false;
|
||||
});
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
|
||||
/* 2-Klick-Buttons. see: http://www.heise.de/extras/socialshareprivacy/ */
|
||||
if($('#socialshareprivacy').length > 0){
|
||||
$('#socialshareprivacy').socialSharePrivacy({
|
||||
services : {
|
||||
facebook : {
|
||||
'status' : 'on',
|
||||
'dummy_img' : '/_core/scripts/socialshareprivacy/images/dummy_facebook.png',
|
||||
'perma_option': 'off'
|
||||
},
|
||||
twitter : {
|
||||
'status' : 'on',
|
||||
'dummy_img' : '/_core/scripts/socialshareprivacy/images/dummy_twitter.png',
|
||||
'perma_option': 'off'
|
||||
},
|
||||
gplus : {
|
||||
'status' : 'on',
|
||||
'dummy_img' : '/_core/scripts/socialshareprivacy/images/dummy_gplus.png',
|
||||
'perma_option': 'off'
|
||||
}
|
||||
},
|
||||
'uri' : social_link,
|
||||
'css_path': '/_core/scripts/socialshareprivacy/socialshareprivacy.css'
|
||||
}
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$('.removeFromEnhanced').remove();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Replace submit / Page: food / Action: Form der Berechnung */
|
||||
$('input[name=food_calc_mode]').change(function() {
|
||||
|
||||
var value = $(this).val();
|
||||
|
||||
$('#id_food_calc_mode').hide();
|
||||
|
||||
$('#id_food_calc_mode')
|
||||
.html(ajax_load)
|
||||
.load('food/ #id_food_calc_mode', {food_calc_mode: value}, function() {
|
||||
// Hide help content for enhanced version
|
||||
$('.helpContent').hide();
|
||||
$( ".ui-page" ).trigger( "create" );
|
||||
}
|
||||
);
|
||||
|
||||
$('#id_food_calc_mode').fadeIn(500);
|
||||
});
|
||||
|
||||
|
||||
/* Replace submit / Page: consumption / Action: Form der Berechnung */
|
||||
$('input[name=consumption_mode]').change(function() {
|
||||
|
||||
var value = $(this).val();
|
||||
|
||||
$('#id_consumption_mode').hide();
|
||||
|
||||
$('#id_consumption_mode')
|
||||
.html(ajax_load)
|
||||
.load('consumption/ #id_consumption_mode', {consumption_mode: value}, function() {
|
||||
// Hide help content for enhanced version
|
||||
$('.helpContent').hide();
|
||||
$( ".ui-page" ).trigger( "create" );
|
||||
}
|
||||
);
|
||||
|
||||
$('#id_consumption_mode').fadeIn(500);
|
||||
});
|
||||
|
||||
|
||||
/* Page: improve_mobility_road / Create input sliders */
|
||||
// $('input.improve_mobility_cars_values_road_performance').peSlider({step: 100});
|
||||
// $('input.improve_mobility_cars_values_train_substitution').peSlider({step: 5});
|
||||
// $('input.improve_mobility_cars_values_co2').peSlider({step: 1});
|
||||
|
||||
|
||||
/* Page: improve_food, improve_living_hs / Create input sliders */
|
||||
// $('select.improveSelectSlider').peSlider();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
$(function() {
|
||||
|
||||
$('#airport_start, #airport_dest').autocomplete({
|
||||
source: function( request, response ) {
|
||||
$.ajax({
|
||||
url: "http://ws.geonames.org/searchJSON",
|
||||
dataType: "jsonp",
|
||||
data: {
|
||||
featureClass: "P",
|
||||
style: "full",
|
||||
maxRows: 12,
|
||||
name_startsWith: request.term
|
||||
},
|
||||
success: function( data ) {
|
||||
response( $.map( data.geonames, function( item ) {
|
||||
return {
|
||||
label: item.name + (item.adminName1 ? ", " + item.adminName1 : "") + ", " + item.countryName,
|
||||
value: item.name + ", " + item.countryName
|
||||
}
|
||||
}));
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 3
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
function calculateOffset(ref1, ref2, obj, val)
|
||||
{
|
||||
var result_kg = 0;
|
||||
var result_tons = 0;
|
||||
|
||||
total_emission_kg = document.getElementById(ref2).innerHTML;
|
||||
selected_emission_status = document.getElementById(obj).checked;
|
||||
|
||||
if(selected_emission_status == false)
|
||||
{
|
||||
result_kg = parseFloat(total_emission_kg) - parseFloat(val);
|
||||
}
|
||||
if(selected_emission_status == true)
|
||||
{
|
||||
result_kg = parseFloat(total_emission_kg) + parseFloat(val);
|
||||
}
|
||||
result_tons = result_kg / 1000;
|
||||
result_tons = result_tons.toFixed(2);
|
||||
result_tons = String(result_tons);
|
||||
result_tons = result_tons.replace(".", ",");
|
||||
|
||||
document.getElementById(ref2).innerHTML = result_kg;
|
||||
document.getElementById(ref1).innerHTML = result_tons + " t";
|
||||
}
|
||||
4
r41/standard/de/_core/scripts/jquery-1.11.1.min.js
vendored
Normal file
16
r41/standard/de/_core/scripts/jquery.cookiebar.min.js
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2012 PrimeBox (info@primebox.co.uk)
|
||||
*
|
||||
* This work is licensed under the Creative Commons
|
||||
* Attribution 3.0 Unported License. To view a copy
|
||||
* of this license, visit
|
||||
* http://creativecommons.org/licenses/by/3.0/.
|
||||
*
|
||||
* Documentation available at:
|
||||
* http://www.primebox.co.uk/projects/cookie-bar/
|
||||
*
|
||||
* When using this software you use it at your own risk. We hold
|
||||
* no responsibility for any damage caused by using this plugin
|
||||
* or the documentation provided.
|
||||
*/
|
||||
!function(a){a.cookieBar=function(b,c){if("cookies"==b)var d="cookies";else if("set"==b)var d="set";else var d=!1;var e={message:"We use cookies to track usage and preferences.",acceptButton:!0,acceptText:"I Understand",acceptFunction:!1,declineButton:!1,declineText:"Disable Cookies",declineFunction:!1,policyButton:!1,policyText:"Privacy Policy",policyFunction:!1,policyURL:"/privacy-policy/",autoEnable:!0,acceptOnContinue:!1,expireDays:365,forceShow:!1,effect:"slide",element:"body",append:!1,fixed:!1,bottom:!1,customClass:"",zindex:"",redirect:String(window.location.href),domain:String(window.location.hostname),referrer:String(document.referrer)},b=a.extend(e,b),f=new Date;f.setTime(f.getTime()+24*b.expireDays*60*60*1e3),f=f.toGMTString();var g,h,i="cb-enabled={value}; expires="+f+"; path=/",j="",k=document.cookie.split("; ");for(g=0;g<k.length;g++)h=k[g].split("="),"cb-enabled"==h[0]&&(j=h[1]);if(""==j&&"cookies"!=d&&b.autoEnable&&(j="enabled",document.cookie=i.replace("{value}","enabled")),b.acceptOnContinue&&b.referrer.indexOf(b.domain)>=0&&-1==String(window.location.href).indexOf(b.policyURL)&&"cookies"!=d&&"set"!=d&&"accepted"!=j&&"declined"!=j&&(d="set",c="accepted"),"cookies"==d)return"enabled"==j||"accepted"==j?!0:!1;if("set"==d&&("accepted"==c||"declined"==c))return document.cookie=i.replace("{value}",c),"accepted"==c?!0:!1;var l=b.message.replace("{policy_url}",b.policyURL);if(b.acceptButton)var m='<a href="" class="cb-enable">'+b.acceptText+"</a>";else var m="";if(b.declineButton)var n='<a href="" class="cb-disable">'+b.declineText+"</a>";else var n="";if(b.policyButton)var o='<a href="'+b.policyURL+'" class="cb-policy">'+b.policyText+"</a>";else var o="";if(b.fixed)if(b.bottom)var p=' class="fixed bottom '+b.customClass+'"';else var p=' class="fixed '+b.customClass+'"';else var p=' class="'+b.customClass+'"';if(""!=b.zindex)var q=' style="z-index:'+b.zindex+';"';else var q="";(b.forceShow||"enabled"==j||""==j)&&(b.append?a(b.element).append('<div id="cookie-bar"'+p+q+"><p>"+l+m+n+o+"</p></div>"):a(b.element).prepend('<div id="cookie-bar"'+p+q+"><p>"+l+m+n+o+"</p></div>")),a("#cookie-bar .cb-enable").click(function(){return document.cookie=i.replace("{value}","accepted"),b.acceptFunction&&"function"==typeof b.acceptFunction&&b.acceptFunction(),"enabled"==j||"accepted"==j||b.redirect===!1?("slide"==b.effect?a("#cookie-bar").slideUp(300,function(){a("#cookie-bar").remove()}):"fade"==b.effect?a("#cookie-bar").fadeOut(300,function(){a("#cookie-bar").remove()}):a("#cookie-bar").hide(0,function(){a("#cookie-bar").remove()}),!1):void(window.location=b.redirect)}),a("#cookie-bar .cb-disable").click(function(){var c=new Date;for(c.setTime(c.getTime()-864e6),c=c.toGMTString(),k=document.cookie.split("; "),g=0;g<k.length;g++)h=k[g].split("="),h[0].indexOf("_")>=0?document.cookie=h[0]+"=0; expires="+c+"; domain="+b.domain.replace("www","")+"; path=/":document.cookie=h[0]+"=0; expires="+c+"; path=/";return document.cookie=i.replace("{value}","declined"),b.declineFunction&&"function"==typeof b.declineFunction&&b.declineFunction(),"enabled"!=j||"accepted"==j||b.redirect===!1?("slide"==b.effect?a("#cookie-bar").slideUp(300,function(){a("#cookie-bar").remove()}):"fade"==b.effect?a("#cookie-bar").fadeOut(300,function(){a("#cookie-bar").remove()}):a("#cookie-bar").hide(0,function(){a("#cookie-bar").remove()}),!1):void(window.location=b.redirect)}),a("#cookie-bar .cb-policy").click(function(){b.policyFunction&&"function"==typeof b.policyFunction&&b.policyFunction()})}}(jQuery);
|
||||
33
r41/standard/de/_core/scripts/jquery.socialshareprivacy.min.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
|
||||
*
|
||||
* http://www.heise.de/extras/socialshareprivacy/
|
||||
* http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html
|
||||
*
|
||||
* Copyright (c) 2011 Hilko Holweg, Sebastian Hilbig, Nicolas Heiringhoff, Juergen Schmidt,
|
||||
* Heise Zeitschriften Verlag GmbH & Co. KG, http://www.heise.de
|
||||
*
|
||||
* is released under the MIT License http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Spread the word, link to us if you can.
|
||||
*/
|
||||
(function(b){function x(b,a){var f=decodeURIComponent(b);if(f.length<=a)return b;var j=f.substring(0,a-1).lastIndexOf(" ");return f=encodeURIComponent(f.substring(0,j))+"\u2026"}function q(c){return b('meta[name="'+c+'"]').attr("content")||""}function r(){var c=q("DC.title"),a=q("DC.creator"),c=0<c.length&&0<a.length?c+(" - "+a):b("title").text();return encodeURIComponent(c)}function s(){var c=document.location.href,a=b("link[rel=canonical]").attr("href");a&&0<a.length&&(0>a.indexOf("http")&&(a=document.location.protocol+
|
||||
"//"+document.location.host+a),c=a);return c}b.fn.socialSharePrivacy=function(c){var a=b.extend(!0,{services:{facebook:{status:"on",dummy_img:"socialshareprivacy/images/dummy_facebook.png",txt_info:"2 Klicks für mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie können Ihre Empfehlung an Facebook senden. Schon beim Aktivieren werden Daten an Dritte übertragen – siehe <em>i</em>.",txt_fb_off:"nicht mit Facebook verbunden",txt_fb_on:"mit Facebook verbunden",
|
||||
perma_option:"on",display_name:"Facebook",referrer_track:"",language:"de_DE",action:"recommend"},twitter:{status:"on",dummy_img:"socialshareprivacy/images/dummy_twitter.png",txt_info:"2 Klicks für mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie können Ihre Empfehlung an Twitter senden. Schon beim Aktivieren werden Daten an Dritte übertragen – siehe <em>i</em>.",txt_twitter_off:"nicht mit Twitter verbunden",txt_twitter_on:"mit Twitter verbunden",perma_option:"on",
|
||||
display_name:"Twitter",referrer_track:"",tweet_text:r,language:"en"},gplus:{status:"on",dummy_img:"socialshareprivacy/images/dummy_gplus.png",txt_info:"2 Klicks für mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie können Ihre Empfehlung an Google+ senden. Schon beim Aktivieren werden Daten an Dritte übertragen – siehe <em>i</em>.",txt_gplus_off:"nicht mit Google+ verbunden",txt_gplus_on:"mit Google+ verbunden",perma_option:"on",display_name:"Google+",
|
||||
referrer_track:"",language:"de"}},info_link:"http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html",txt_help:"Wenn Sie diese Felder durch einen Klick aktivieren, werden Informationen an Facebook, Twitter oder Google in die USA übertragen und unter Umständen auch dort gespeichert. Näheres erfahren Sie durch einen Klick auf das <em>i</em>.",settings_perma:"Dauerhaft aktivieren und Datenüber­tragung zustimmen:",cookie_path:"/",cookie_domain:document.location.host,
|
||||
cookie_expires:"365",css_path:"socialshareprivacy/socialshareprivacy.css",uri:s},c),f="on"===a.services.facebook.status,j="on"===a.services.twitter.status,n="on"===a.services.gplus.status;if(f||j||n)return 0<a.css_path.length&&(document.createStyleSheet?document.createStyleSheet(a.css_path):b("head").append('<link rel="stylesheet" type="text/css" href="'+a.css_path+'" />')),this.each(function(){b(this).prepend('<ul class="social_share_privacy_area"></ul>');var d=b(".social_share_privacy_area",this),
|
||||
c=a.uri;"function"===typeof c&&(c=c(d));if(f){var g=encodeURIComponent(c+a.services.facebook.referrer_track),q='<iframe src="http://www.facebook.com/plugins/like.php?locale='+a.services.facebook.language+"&href="+g+"&send=false&layout=button_count&width=120&show_faces=false&action="+a.services.facebook.action+'&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>',
|
||||
t='<img src="'+a.services.facebook.dummy_img+'" alt="Facebook "Like"-Dummy" class="fb_like_privacy_dummy" />';d.append('<li class="facebook help_info"><span class="info">'+a.services.facebook.txt_info+'</span><span class="switch off">'+a.services.facebook.txt_fb_off+'</span><div class="fb_like dummy_btn">'+t+"</div></li>");var k=b("li.facebook",d);b("li.facebook div.fb_like img.fb_like_privacy_dummy,li.facebook span.switch",d).live("click",function(){k.find("span.switch").hasClass("off")?
|
||||
(k.addClass("info_off"),k.find("span.switch").addClass("on").removeClass("off").html(a.services.facebook.txt_fb_on),k.find("img.fb_like_privacy_dummy").replaceWith(q)):(k.removeClass("info_off"),k.find("span.switch").addClass("off").removeClass("on").html(a.services.facebook.txt_fb_off),k.find(".fb_like").html(t))})}if(j){g=a.services.twitter.tweet_text;"function"===typeof g&&(g=g());var g=x(g,"120"),o=encodeURIComponent(c+a.services.twitter.referrer_track),e=encodeURIComponent(c),r='<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url='+
|
||||
o+"&counturl="+e+"&text="+g+"&count=horizontal&lang="+a.services.twitter.language+'" style="width:130px; height:25px;"></iframe>',u='<img src="'+a.services.twitter.dummy_img+'" alt=""Tweet this"-Dummy" class="tweet_this_dummy" />';d.append('<li class="twitter help_info"><span class="info">'+a.services.twitter.txt_info+'</span><span class="switch off">'+a.services.twitter.txt_twitter_off+'</span><div class="tweet dummy_btn">'+u+"</div></li>");var l=b("li.twitter",d);b("li.twitter div.tweet img,li.twitter span.switch",
|
||||
d).live("click",function(){l.find("span.switch").hasClass("off")?(l.addClass("info_off"),l.find("span.switch").addClass("on").removeClass("off").html(a.services.twitter.txt_twitter_on),l.find("img.tweet_this_dummy").replaceWith(r)):(l.removeClass("info_off"),l.find("span.switch").addClass("off").removeClass("on").html(a.services.twitter.txt_twitter_off),l.find(".tweet").html(u))})}if(n){var s='<div class="g-plusone" data-size="medium" data-href="'+(c+a.services.gplus.referrer_track)+'"></div><script type="text/javascript">window.___gcfg = {lang: "'+
|
||||
a.services.gplus.language+'"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); <\/script>',v='<img src="'+a.services.gplus.dummy_img+'" alt=""Google+1"-Dummy" class="gplus_one_dummy" />';d.append('<li class="gplus help_info"><span class="info">'+a.services.gplus.txt_info+'</span><span class="switch off">'+
|
||||
a.services.gplus.txt_gplus_off+'</span><div class="gplusone dummy_btn">'+v+"</div></li>");var m=b("li.gplus",d);b("li.gplus div.gplusone img,li.gplus span.switch",d).live("click",function(){m.find("span.switch").hasClass("off")?(m.addClass("info_off"),m.find("span.switch").addClass("on").removeClass("off").html(a.services.gplus.txt_gplus_on),m.find("img.gplus_one_dummy").replaceWith(s)):(m.removeClass("info_off"),m.find("span.switch").addClass("off").removeClass("on").html(a.services.gplus.txt_gplus_off),
|
||||
m.find(".gplusone").html(v))})}d.append('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="'+a.info_link+'"><span class="help_info icon"><span class="info">'+a.txt_help+"</span></span></a></div></li>");b(".help_info:not(.info_off)",d).live("mouseenter",function(){var a=b(this),c=window.setTimeout(function(){b(a).addClass("display")},500);b(this).data("timeout_id",c)});b(".help_info",d).live("mouseleave",function(){var a=b(this).data("timeout_id");window.clearTimeout(a);
|
||||
b(this).hasClass("display")&&b(this).removeClass("display")});c="on"===a.services.facebook.perma_option;g="on"===a.services.twitter.perma_option;o="on"===a.services.gplus.perma_option;if((f&&c||j&&g||n&&o)&&(!b.browser.msie||b.browser.msie&&7<b.browser.version)){for(var i=document.cookie.split(";"),e="{",p=0;p<i.length;p+=1){var w=i[p].split("="),e=e+('"'+b.trim(w[0])+'":"'+b.trim(w[1])+'"');p<i.length-1&&(e+=",")}var e=JSON.parse(e+"}"),h=b("li.settings_info",d);h.find(".settings_info_menu").removeClass("perma_option_off");
|
||||
h.find(".settings_info_menu").append('<span class="settings">Einstellungen</span><form><fieldset><legend>'+a.settings_perma+"</legend></fieldset></form>");f&&c&&(i="perma_on"===e.socialSharePrivacy_facebook?' checked="checked"':"",h.find("form fieldset").append('<input type="checkbox" name="perma_status_facebook" id="perma_status_facebook"'+i+' /><label for="perma_status_facebook">'+a.services.facebook.display_name+"</label>"));j&&g&&(i="perma_on"===e.socialSharePrivacy_twitter?' checked="checked"':
|
||||
"",h.find("form fieldset").append('<input type="checkbox" name="perma_status_twitter" id="perma_status_twitter"'+i+' /><label for="perma_status_twitter">'+a.services.twitter.display_name+"</label>"));n&&o&&(i="perma_on"===e.socialSharePrivacy_gplus?' checked="checked"':"",h.find("form fieldset").append('<input type="checkbox" name="perma_status_gplus" id="perma_status_gplus"'+i+' /><label for="perma_status_gplus">'+a.services.gplus.display_name+"</label>"));h.find("span.settings").css("cursor","pointer");
|
||||
b(h.find("span.settings"),d).live("mouseenter",function(){var a=window.setTimeout(function(){h.find(".settings_info_menu").removeClass("off").addClass("on")},500);b(this).data("timeout_id",a)});b(h,d).live("mouseleave",function(){var a=b(this).data("timeout_id");window.clearTimeout(a);h.find(".settings_info_menu").removeClass("on").addClass("off")});b(h.find("fieldset input")).live("click",function(c){var e=c.target.id,g="socialSharePrivacy_"+e.substr(e.lastIndexOf("_")+1,e.length);if(b("#"+c.target.id+
|
||||
":checked").length){var c=a.cookie_expires,h=a.cookie_path,f=a.cookie_domain,i=new Date;i.setTime(i.getTime()+c*864E5);document.cookie=g+"=perma_on; expires="+i.toUTCString()+"; path="+h+"; domain="+f;b("form fieldset label[for="+e+"]",d).addClass("checked")}else{c=a.cookie_path;h=a.cookie_domain;f=new Date;f.setTime(f.getTime()-100);document.cookie=g+"=perma_on; expires="+f.toUTCString()+"; path="+c+"; domain="+h;b("form fieldset label[for="+e+"]",d).removeClass("checked")}});f&&c&&"perma_on"===
|
||||
e.socialSharePrivacy_facebook&&b("li.facebook span.switch",d).click();j&&g&&"perma_on"===e.socialSharePrivacy_twitter&&b("li.twitter span.switch",d).click();n&&o&&"perma_on"===e.socialSharePrivacy_gplus&&b("li.gplus span.switch",d).click()}})}})(jQuery);
|
||||
145
r41/standard/de/_core/scripts/js.cookie.js
Normal file
@ -0,0 +1,145 @@
|
||||
/*!
|
||||
* JavaScript Cookie v2.0.4
|
||||
* https://github.com/js-cookie/js-cookie
|
||||
*
|
||||
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
||||
* Released under the MIT license
|
||||
*/
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
module.exports = factory();
|
||||
} else {
|
||||
var _OldCookies = window.Cookies;
|
||||
var api = window.Cookies = factory();
|
||||
api.noConflict = function () {
|
||||
window.Cookies = _OldCookies;
|
||||
return api;
|
||||
};
|
||||
}
|
||||
}(function () {
|
||||
function extend () {
|
||||
var i = 0;
|
||||
var result = {};
|
||||
for (; i < arguments.length; i++) {
|
||||
var attributes = arguments[ i ];
|
||||
for (var key in attributes) {
|
||||
result[key] = attributes[key];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function init (converter) {
|
||||
function api (key, value, attributes) {
|
||||
var result;
|
||||
|
||||
// Write
|
||||
|
||||
if (arguments.length > 1) {
|
||||
attributes = extend({
|
||||
path: '/'
|
||||
}, api.defaults, attributes);
|
||||
|
||||
if (typeof attributes.expires === 'number') {
|
||||
var expires = new Date();
|
||||
expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
|
||||
attributes.expires = expires;
|
||||
}
|
||||
|
||||
try {
|
||||
result = JSON.stringify(value);
|
||||
if (/^[\{\[]/.test(result)) {
|
||||
value = result;
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
if (!converter.write) {
|
||||
value = encodeURIComponent(String(value))
|
||||
.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
|
||||
} else {
|
||||
value = converter.write(value, key);
|
||||
}
|
||||
|
||||
key = encodeURIComponent(String(key));
|
||||
key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
|
||||
key = key.replace(/[\(\)]/g, escape);
|
||||
|
||||
return (document.cookie = [
|
||||
key, '=', value,
|
||||
attributes.expires && '; expires=' + attributes.expires.toUTCString(), // use expires attribute, max-age is not supported by IE
|
||||
attributes.path && '; path=' + attributes.path,
|
||||
attributes.domain && '; domain=' + attributes.domain,
|
||||
attributes.secure ? '; secure' : ''
|
||||
].join(''));
|
||||
}
|
||||
|
||||
// Read
|
||||
|
||||
if (!key) {
|
||||
result = {};
|
||||
}
|
||||
|
||||
// To prevent the for loop in the first place assign an empty array
|
||||
// in case there are no cookies at all. Also prevents odd result when
|
||||
// calling "get()"
|
||||
var cookies = document.cookie ? document.cookie.split('; ') : [];
|
||||
var rdecode = /(%[0-9A-Z]{2})+/g;
|
||||
var i = 0;
|
||||
|
||||
for (; i < cookies.length; i++) {
|
||||
var parts = cookies[i].split('=');
|
||||
var name = parts[0].replace(rdecode, decodeURIComponent);
|
||||
var cookie = parts.slice(1).join('=');
|
||||
|
||||
if (cookie.charAt(0) === '"') {
|
||||
cookie = cookie.slice(1, -1);
|
||||
}
|
||||
|
||||
try {
|
||||
cookie = converter.read ?
|
||||
converter.read(cookie, name) : converter(cookie, name) ||
|
||||
cookie.replace(rdecode, decodeURIComponent);
|
||||
|
||||
if (this.json) {
|
||||
try {
|
||||
cookie = JSON.parse(cookie);
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
if (key === name) {
|
||||
result = cookie;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!key) {
|
||||
result[name] = cookie;
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
api.get = api.set = api;
|
||||
api.getJSON = function () {
|
||||
return api.apply({
|
||||
json: true
|
||||
}, [].slice.call(arguments));
|
||||
};
|
||||
api.defaults = {};
|
||||
|
||||
api.remove = function (key, attributes) {
|
||||
api(key, '', extend(attributes, {
|
||||
expires: -1
|
||||
}));
|
||||
};
|
||||
|
||||
api.withConverter = init;
|
||||
|
||||
return api;
|
||||
}
|
||||
|
||||
return init(function () {});
|
||||
}));
|
||||
2
r41/standard/de/_core/scripts/kjua-0.9.0.min.js
vendored
Normal file
3
r41/standard/de/_core/scripts/modernizr-custom.js
Normal file
@ -0,0 +1,3 @@
|
||||
/*! modernizr 3.2.0 (Custom Build) | MIT *
|
||||
* http://modernizr.com/download/?-touchevents !*/
|
||||
!function(e,n,t){function o(e){var n=u.className,t=Modernizr._config.classPrefix||"";if(p&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(o,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(n+=" "+t+e.join(" "+t),p?u.className.baseVal=n:u.className=n)}function s(e,n){return typeof e===n}function a(){var e,n,t,o,a,i,r;for(var l in c)if(c.hasOwnProperty(l)){if(e=[],n=c[l],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(o=s(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],r=i.split("."),1===r.length?Modernizr[r[0]]=o:(!Modernizr[r[0]]||Modernizr[r[0]]instanceof Boolean||(Modernizr[r[0]]=new Boolean(Modernizr[r[0]])),Modernizr[r[0]][r[1]]=o),f.push((o?"":"no-")+r.join("-"))}}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):p?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function r(){var e=n.body;return e||(e=i(p?"svg":"body"),e.fake=!0),e}function l(e,t,o,s){var a,l,f,c,d="modernizr",p=i("div"),h=r();if(parseInt(o,10))for(;o--;)f=i("div"),f.id=s?s[o]:d+(o+1),p.appendChild(f);return a=i("style"),a.type="text/css",a.id="s"+d,(h.fake?h:p).appendChild(a),h.appendChild(p),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),p.id=d,h.fake&&(h.style.background="",h.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(h)),l=t(p,e),h.fake?(h.parentNode.removeChild(h),u.style.overflow=c,u.offsetHeight):p.parentNode.removeChild(p),!!l}var f=[],c=[],d={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){c.push({name:e,fn:n,options:t})},addAsyncTest:function(e){c.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=d,Modernizr=new Modernizr;var u=n.documentElement,p="svg"===u.nodeName.toLowerCase(),h=d._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];d._prefixes=h;var m=d.testStyles=l;Modernizr.addTest("touchevents",function(){var t;if("ontouchstart"in e||e.DocumentTouch&&n instanceof DocumentTouch)t=!0;else{var o=["@media (",h.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");m(o,function(e){t=9===e.offsetTop})}return t}),a(),o(f),delete d.addTest,delete d.addAsyncTest;for(var v=0;v<Modernizr._q.length;v++)Modernizr._q[v]();e.Modernizr=Modernizr}(window,document);
|
||||
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 668 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 658 B |
|
After Width: | Height: | Size: 166 B |
|
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,228 @@
|
||||
.social_share_privacy_area {
|
||||
clear: both;
|
||||
margin: 20px 0 !important;
|
||||
list-style-type: none;
|
||||
padding: 0 !important;
|
||||
width: auto;
|
||||
height: 25px;
|
||||
display: block;
|
||||
}
|
||||
.social_share_privacy_area li {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
height: 21px;
|
||||
float: left;
|
||||
}
|
||||
.social_share_privacy_area li .dummy_btn {
|
||||
float: left;
|
||||
/*margin: 0 0 0 10px;*/
|
||||
margin: 0 10px 0 0;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
height: inherit;
|
||||
}
|
||||
.social_share_privacy_area li div iframe {
|
||||
overflow: hidden;
|
||||
height: inherit;
|
||||
width: inherit;
|
||||
}
|
||||
/* Facebook begin */
|
||||
.social_share_privacy_area .facebook {
|
||||
/*width: 180px;*/
|
||||
display: inline-block;
|
||||
}
|
||||
.social_share_privacy_area .facebook .fb_like iframe {
|
||||
width: 145px;
|
||||
}
|
||||
/* Facebook end */
|
||||
/* Twitter begin */
|
||||
.social_share_privacy_area .twitter {
|
||||
/*width: 148px;*/
|
||||
}
|
||||
.social_share_privacy_area li div.tweet {
|
||||
/*width: 115px;*/
|
||||
}
|
||||
/* Twitter end */
|
||||
/* Google+ begin */
|
||||
.social_share_privacy_area .gplus {
|
||||
/*width: 123px;*/
|
||||
}
|
||||
.social_share_privacy_area li div.gplusone {
|
||||
/*width: 90px;*/
|
||||
}
|
||||
/* Google+ end */
|
||||
/* Switch begin */
|
||||
.social_share_privacy_area li .switch {
|
||||
display: none;
|
||||
/* display: inline-block;
|
||||
text-indent: -9999em;
|
||||
background: transparent url(images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll;
|
||||
width: 23px;
|
||||
height: 12px;
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
margin: 4px 0 0;
|
||||
padding: 0;
|
||||
cursor: pointer; */
|
||||
}
|
||||
.social_share_privacy_area li .switch.on {
|
||||
background-position: 0 -12px;
|
||||
}
|
||||
/* Switch end */
|
||||
/* Tooltips begin */
|
||||
.social_share_privacy_area li.help_info {
|
||||
position: relative;
|
||||
}
|
||||
.social_share_privacy_area li.help_info .info,
|
||||
.social_share_privacy_area li .help_info.icon .info {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
left: 0;
|
||||
width: 290px;
|
||||
padding: 10px 15px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #ccc;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-moz-box-shadow: 0 3px 4px #999;
|
||||
-webkit-box-shadow: 0 3px 4px #999;
|
||||
box-shadow: 0 3px 4px #999;
|
||||
background-color: #fdfbec;
|
||||
color: #000;
|
||||
z-index: 500;
|
||||
}
|
||||
.social_share_privacy_area li.gplus.help_info .info {
|
||||
left: -60px;
|
||||
}
|
||||
.social_share_privacy_area li .help_info.icon .info {
|
||||
left: -243px;
|
||||
width: 350px;
|
||||
}
|
||||
.social_share_privacy_area li.help_info.display .info,
|
||||
.social_share_privacy_area li .help_info.icon.display .info {
|
||||
display: block;
|
||||
}
|
||||
.social_share_privacy_area li.help_info.info_off.display .info {
|
||||
display: none;
|
||||
}
|
||||
.social_share_privacy_area li .help_info.icon {
|
||||
background: #fff url(images/socialshareprivacy_info.png) no-repeat center center scroll;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
border: 2px solid #e7e3e3;
|
||||
border-right-width: 0;
|
||||
-moz-border-radius: 5px 0 0 5px;
|
||||
-webkit-border-radius: 5px 0 0 5px;
|
||||
border-radius: 5px 0 0 5px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu.on .help_info.icon {
|
||||
border-top-width: 0;
|
||||
border-left-width: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu.perma_option_off .help_info.icon {
|
||||
border-right-width: 2px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
/* Tooltips end */
|
||||
/* Settings/Info begin */
|
||||
.social_share_privacy_area li.settings_info {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info a {
|
||||
text-decoration: none;
|
||||
margin: 0 !important;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu {
|
||||
background-color: #f3f4f5;
|
||||
border: 2px solid #e7e3e3;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 2px 2px 3px #c1c1c1;
|
||||
-webkit-box-shadow: 2px 2px 3px #c1c1c1;
|
||||
box-shadow: 3px 3px 3px #c1c1c1;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 135px;
|
||||
z-index: 1000;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu.off {
|
||||
border-width: 0;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu.off form {
|
||||
display: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu .settings {
|
||||
text-indent: -9999em;
|
||||
display: inline-block;
|
||||
background: #fff url(images/settings.png) no-repeat center center scroll;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
border: 2px solid #e7e3e3;
|
||||
-moz-border-radius: 0 5px 5px 0;
|
||||
-webkit-border-radius: 0 5px 5px 0;
|
||||
border-radius: 0 5px 5px 0;
|
||||
border-left: 1px solid #ddd;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu.on .settings {
|
||||
border-top-width: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu form fieldset {
|
||||
border-width: 0;
|
||||
margin: 0;
|
||||
padding: 0 10px 10px;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu form fieldset legend {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
line-height: 14px;
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
width: 115px;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu form fieldset input {
|
||||
clear: both;
|
||||
float: left;
|
||||
margin: 4px 10px 4px 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
line-height: 24px;
|
||||
-moz-transition: color .5s ease-in;
|
||||
-webkit-transition: color .5s ease-in;
|
||||
transition: color .5s ease-in;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label.checked {
|
||||
color: #090;
|
||||
}
|
||||
/* Settings/Info end */
|
||||