Updated 2k11 to v1.2.
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
@define('TWOK11_WEBFONTS', 'Einen von Google gehosteten Webfont nutzen?');
|
||||
@define('TWOK11_NOWEBFONT', 'Keinen Webfont einbinden');
|
||||
@define('TWOK11_USERSTYLES', 'user.css einbinden? (Muss selbst im Templateverzeichnis angelegt werden! Generator: http://yellowled.github.com)');
|
||||
@define('TWOK11_REFCOMMENTS', 'Kommentaren (falls vorhanden) einen Link zum Kommentar, auf den geantwortet wurde, hinzufügen?');
|
||||
// Sprachkonstanten
|
||||
@define('TWOK11_NAV_TITLE', 'Navigation');
|
||||
@define('TWOK11_PAG_TITLE', 'Pagination');
|
||||
@ -20,3 +21,6 @@
|
||||
@define('TWOK11_DENT_THIS', 'Artikel via Identica teilen');
|
||||
@define('TWOK11_SHORT_URL', 'Kurz-URL');
|
||||
@define('TWOK11_SHORT_URL_HINT', 'Dieser Link ist nicht aktiv. Er enthält die Kurz-URL zu diesem Eintrag. Sie können diese URL benutzen, um diesen Eintrag zu verlinken. Um den Link zu kopieren, klicken Sie ihn mit der rechten Maustaste an und wählen Verknüpfung kopieren im Internet Explorer oder Linkadresse kopieren in Mozilla/Firefox.');
|
||||
@define('TWOK11_EMPTYTRACKBACK', 'Die Anzeige des Inhaltes dieses Trackbacks ist leider nicht möglich.');
|
||||
@define('TWOK11_TRACKBACKPREVIEW', 'Vorschau anzeigen');
|
||||
@define('TWOK11_REPLYORIGIN', 'Ursprung');
|
||||
|
@ -5,6 +5,7 @@
|
||||
@define('TWOK11_WEBFONTS', 'Use a webfont, hosted by Google?');
|
||||
@define('TWOK11_NOWEBFONT', 'Include no webfont');
|
||||
@define('TWOK11_USERSTYLES', 'Include user.css? (You need to create that file in your template directory. Generator: http://yellowled.github.com)');
|
||||
@define('TWOK11_REFCOMMENTS', 'Add link to related comment to comments (if they are replies to another comment)?');
|
||||
// Lang constants
|
||||
@define('TWOK11_NAV_TITLE', 'Navigation');
|
||||
@define('TWOK11_PAG_TITLE', 'Pagination');
|
||||
@ -20,3 +21,6 @@
|
||||
@define('TWOK11_DENT_THIS', 'Share article on Identica');
|
||||
@define('TWOK11_SHORT_URL', 'Short URL');
|
||||
@define('TWOK11_SHORT_URL_HINT', 'This link is not meant to be clicked. It contains the short URL for this entry. You can use this URL to link to this entry. To copy the link, right click and select Copy Shortcut in Internet Explorer or Copy Link Location in Mozilla.');
|
||||
@define('TWOK11_EMPTYTRACKBACK', 'Unfortunately, the contents of this trackback can not be displayed.');
|
||||
@define('TWOK11_TRACKBACKPREVIEW', 'Show preview');
|
||||
@define('TWOK11_REPLYORIGIN', 'Origin');
|
||||
|
@ -24,10 +24,13 @@
|
||||
{if $entry.is_entry_owner}
|
||||
| <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
|
||||
{/if}
|
||||
{if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
|
||||
{if $template_option.refcomments == true}
|
||||
{if $comment.parent_id != '0'}
|
||||
| <a class="reply_origin" href="#c{$comment.parent_id}" title="{$CONST.TWOK11_REPLYORIGIN}: {$CONST.COMMENT} #c{$comment.parent_id}">{$CONST.TWOK11_REPLYORIGIN}</a>
|
||||
{/if}
|
||||
{/if}
|
||||
| <a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}"{if $comment_onchange != ''} onclick="{$comment_onchange}"{/if}>{$CONST.REPLY}</a>
|
||||
<div id="serendipity_replyform_{$comment.id}"></div>
|
||||
{/if}
|
||||
</footer>
|
||||
</article>
|
||||
{foreachelse}
|
||||
|
@ -42,6 +42,7 @@ $template_config = array(
|
||||
'select_values' => array(DATE_FORMAT_ENTRY => DATE_FORMAT_ENTRY,
|
||||
'%A, %e. %B %Y' => '%A, %e. %B %Y',
|
||||
'%a, %e. %B %Y' => '%a, %e. %B %Y',
|
||||
'%e. %B %Y' => '%e. %B %Y',
|
||||
'%d.%m.%y' => '%d.%m.%y',
|
||||
'%d.%m.%Y' => '%d.%m.%Y',
|
||||
'%A, %m/%d/%Y' => '%A, %m/%d/%Y',
|
||||
@ -66,7 +67,8 @@ $template_config = array(
|
||||
'ptsans' => 'PT Sans',
|
||||
'osans' => 'Open Sans',
|
||||
'cabin' => 'Cabin',
|
||||
'ubuntu' => 'Ubuntu')
|
||||
'ubuntu' => 'Ubuntu',
|
||||
'dserif' => 'Droid Serif')
|
||||
),
|
||||
array(
|
||||
'var' => 'userstyles',
|
||||
@ -74,6 +76,12 @@ $template_config = array(
|
||||
'type' => 'boolean',
|
||||
'default' => false
|
||||
),
|
||||
array(
|
||||
'var' => 'refcomments',
|
||||
'name' => TWOK11_REFCOMMENTS,
|
||||
'type' => 'boolean',
|
||||
'default' => false
|
||||
),
|
||||
array(
|
||||
'var' => 'use_corenav',
|
||||
'name' => TWOK11_USE_CORENAV,
|
||||
@ -84,4 +92,4 @@ $template_config = array(
|
||||
|
||||
$template_global_config = array('navigation' => true);
|
||||
$template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option'], true);
|
||||
serendipity_loadGlobalThemeOptions($template_config, $template_loaded_config, $template_global_config);
|
||||
serendipity_loadGlobalThemeOptions($template_config, $template_loaded_config, $template_global_config);
|
||||
|
@ -5,7 +5,7 @@
|
||||
<header class="clearfix">
|
||||
<h2><a href="{$entry.link}">{$entry.title}</a></h2>
|
||||
|
||||
<span class="serendipity_byline">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} <time datetime="{$entry.timestamp|@serendipity_html5time}" pubdate>{$entry.timestamp|@formatTime:$template_option.date_format}</time>{if $entry.is_entry_owner and not $is_preview} | <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}</span>
|
||||
<span class="serendipity_byline"><span class="single_user">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} </span><time datetime="{$entry.timestamp|@serendipity_html5time}" pubdate>{$entry.timestamp|@formatTime:$template_option.date_format}</time>{if $entry.is_entry_owner and not $is_preview} | <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}</span>
|
||||
</header>
|
||||
|
||||
<div class="clearfix content serendipity_entry_body">
|
||||
|
@ -6,7 +6,7 @@
|
||||
{foreach from=$entries item="sentries"}
|
||||
{foreach from=$sentries.entries item="entry"}
|
||||
<li><a href="{$entry.link}">{$entry.title}</a>
|
||||
<span class="serendipity_byline">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} <time datetime="{$entry.timestamp|@serendipity_html5time}" pubdate>{$entry.timestamp|@formatTime:$template_option.date_format}</time></span>
|
||||
<span class="serendipity_byline"><span class="single_user">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} </span><time datetime="{$entry.timestamp|@serendipity_html5time}" pubdate>{$entry.timestamp|@formatTime:$template_option.date_format}</time></span>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
@ -19,12 +19,14 @@
|
||||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cabin:400,400italic,700,700italic">
|
||||
{elseif $template_option.webfonts == 'ubuntu'}
|
||||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
|
||||
{elseif $template_option.webfonts == 'dserif'}
|
||||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic">
|
||||
{/if}
|
||||
<link rel="stylesheet" href="{$head_link_stylesheet}">
|
||||
{if $template_option.userstyles == true}
|
||||
<link rel="stylesheet" href="{serendipity_getFile file="user.css"}">
|
||||
{/if}
|
||||
<script src="{serendipity_getFile file="js/modernizr-2.6.1.min.js"}"></script>
|
||||
<script src="{serendipity_getFile file="js/modernizr-2.6.2.min.js"}"></script>
|
||||
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">
|
||||
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml">
|
||||
{if $entry_id}
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name: 2k11
|
||||
Author: Matthias Mees, Veit Lehmann
|
||||
Date: 2012-08-01
|
||||
Date: 2012-10-03
|
||||
Require Serendipity: 1.6
|
||||
|
119
templates/2k11/js/2k11.min.js
vendored
119
templates/2k11/js/2k11.min.js
vendored
@ -1,62 +1,63 @@
|
||||
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
|
||||
(function(P){P.respond={};respond.update=function(){};
|
||||
respond.mediaQueriesSupported=P.matchMedia&&P.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return;}var x=P.document,B=x.documentElement,L=[],J=[],D=[],F={},M=30,O=x.getElementsByTagName("head")[0]||B,N=x.getElementsByTagName("base")[0],S=O.getElementsByTagName("link"),Q=[],T=function(){var c=S,g=c.length,f=0,b,e,d,a;
|
||||
for(;f<g;f++){b=c[f],e=b.href,d=b.media,a=b.rel&&b.rel.toLowerCase()==="stylesheet";if(!!e&&a&&!F[e]){if(b.styleSheet&&b.styleSheet.rawCssText){H(b.styleSheet.rawCssText,e,d);
|
||||
F[e]=true;}else{if((!/^([a-zA-Z:]*\/\/)/.test(e)&&!N)||e.replace(RegExp.$1,"").split("/")[0]===P.location.host){Q.push({href:e,media:d});}}}}z();},z=function(){if(Q.length){var a=Q.shift();
|
||||
G(a.href,function(b){H(b,a.href,a.media);F[a.href]=true;z();});}},H=function(i,h,e){var k=i.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=k&&k.length||0,h=h.substring(0,h.lastIndexOf("/")),f=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+h+"$2$3");
|
||||
},d=!g&&e,a=0,b,m,l,c,j;if(h.length){h+="/";}if(d){g=1;}for(;a<g;a++){b=0;if(d){m=e;J.push(f(i));}else{m=k[a].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;
|
||||
J.push(RegExp.$2&&f(RegExp.$2));}c=m.split(",");j=c.length;for(;b<j;b++){l=c[b];L.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:J.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});
|
||||
}}K();},I,C,y=function(){var c,b=x.createElement("div"),a=x.body,d=false;b.style.cssText="position:absolute;font-size:1em;width:1em";if(!a){a=d=x.createElement("body");
|
||||
a.style.background="none";}a.appendChild(b);B.insertBefore(a,B.firstChild);c=b.offsetWidth;if(d){B.removeChild(a);}else{a.removeChild(b);}c=E=parseFloat(c);
|
||||
return c;},E,K=function(l){var k="clientWidth",c=B[k],m=x.compatMode==="CSS1Compat"&&c||x.body[k]||c,a={},n=S[S.length-1],g=(new Date()).getTime();if(l&&I&&g-I<M){clearTimeout(C);
|
||||
C=setTimeout(K,M);return;}else{I=g;}for(var p in L){var i=L[p],b=i.minw,j=i.maxw,d=b===null,f=j===null,h="em";if(!!b){b=parseFloat(b)*(b.indexOf(h)>-1?(E||y()):1);
|
||||
}if(!!j){j=parseFloat(j)*(j.indexOf(h)>-1?(E||y()):1);}if(!i.hasquery||(!d||!f)&&(d||m>=b)&&(f||m<=j)){if(!a[i.media]){a[i.media]=[];}a[i.media].push(J[i.rules]);
|
||||
}}for(var p in D){if(D[p]&&D[p].parentNode===O){O.removeChild(D[p]);}}for(var p in a){var e=x.createElement("style"),o=a[p].join("\n");e.type="text/css";
|
||||
e.media=p;O.insertBefore(e,n.nextSibling);if(e.styleSheet){e.styleSheet.cssText=o;}else{e.appendChild(x.createTextNode(o));}D.push(e);}},G=function(a,b){var c=R();
|
||||
if(!c){return;}c.open("GET",a,true);c.onreadystatechange=function(){if(c.readyState!=4||c.status!=200&&c.status!=304){return;}b(c.responseText);};if(c.readyState==4){return;
|
||||
}c.send(null);},R=(function(){var a=false;try{a=new XMLHttpRequest();}catch(b){a=new ActiveXObject("Microsoft.XMLHTTP");}return function(){return a;};})();
|
||||
T();respond.update=T;function A(){K(true);}if(P.addEventListener){P.addEventListener("resize",A,false);}else{if(P.attachEvent){P.attachEvent("onresize",A);
|
||||
}}})(this);(function(q){var A=navigator.userAgent;if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&/OS [1-5]_[0-9_]* like Mac OS X/i.test(A)&&A.indexOf("AppleWebKit")>-1)){return;
|
||||
}var r=q.document;if(!r.querySelector){return;}var p=r.querySelector("meta[name=viewport]"),D=p&&p.getAttribute("content"),s=D+",maximum-scale=1",z=D+",maximum-scale=10",w=true,t,u,v,B;
|
||||
if(!p){return;}function x(){p.setAttribute("content",z);w=true;}function C(){p.setAttribute("content",s);w=false;}function y(a){B=a.accelerationIncludingGravity;
|
||||
t=Math.abs(B.x);u=Math.abs(B.y);v=Math.abs(B.z);if((!q.orientation||q.orientation===180)&&(t>7||((v>6&&u<8||v<8&&u>6)&&t>5))){if(w){C();}}else{if(!w){x();
|
||||
}}}q.addEventListener("orientationchange",x,false);q.addEventListener("devicemotion",y,false);})(this);(function(b){b.fn.fitVids=function(a){var h={customSelector:null};
|
||||
var f=document.createElement("div"),g=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];f.className="fit-vids-style";
|
||||
f.innerHTML="­<style>.fluid-width-video-wrapper {width: 100%;position: relative;padding: 0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}</style>";
|
||||
g.parentNode.insertBefore(f,g);if(a){b.extend(h,a);}return this.each(function(){var d=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];
|
||||
if(h.customSelector){d.push(h.customSelector);}var c=b(this).find(d.join(","));c.each(function(){var e=b(this);if(this.tagName.toLowerCase()=="embed"&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length){return;
|
||||
}var n=this.tagName.toLowerCase()=="object"?e.attr("height"):e.height(),m=n/e.width();if(!e.attr("id")){var l="fitvid"+Math.floor(Math.random()*999999);
|
||||
e.attr("id",l);}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(m*100)+"%");e.removeAttr("height").removeAttr("width");
|
||||
});});};})(jQuery);jQuery(function(b){(function(){var a=this;this.hideDetailChildren=function(l){var k=l instanceof jQuery?l[0].childNodes:l.childNodes,j=k.length;
|
||||
b(l).attr("open",!1);if(b.browser.safari==!0){for(var i=0;i<j;i++){if(k[i].nodeType==3&&k[i].textContent!=""){var h=b("<span />");h.text(k[i].textContent).hide(),b(k[i]).after(h),k[i].textContent="",j++;
|
||||
}}}b.each(k,function(o,n){if(b(n)[0].nodeType==1&&n==b(n).parent().find("> summary:first-of-type")[0]){b(n).data("processed")!=!0&&(b(n).css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){a.toggleDetailChildren(b(this));
|
||||
}),b(l).prepend(b(n)));}else{if(b(n)[0].nodeType==3&&!n.isElementContentWhitespace&&!!b.browser.safari==!1){var m=b("<span />");m.text(n.textContent).hide(),b(n).after(m),n.textContent="";
|
||||
}else{if(b(l).find("> summary").length==0){var c=b("<summary />").text("Details").css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){a.toggleDetailChildren(b(this));
|
||||
});b(l).prepend(c);}}}b(l).find("> :visible:not(summary:first-child)").hide();});},this.showDetailChildren=function(c){b(c).attr("open",!0),b.each(b(c).find("> *"),function(d,g){b(g).show();
|
||||
});},this.toggleDetailChildren=function(c){c.hasClass("detailHidden")?(c.removeClass("detailHidden"),a.showDetailChildren(c.parents("details")[0])):(c.addClass("detailHidden"),a.hideDetailChildren(c.parents("details")[0]));
|
||||
};var f=function(h){var g=h.createElement("details"),k,j,i;return"open" in g?(j=h.body||function(){var c=h.documentElement;return k=!0,c.insertBefore(h.createElement("body"),c.firstElementChild||c.firstChild);
|
||||
}(),g.innerHTML="<summary>a</summary>b",g.style.display="block",j.appendChild(g),i=g.offsetHeight,g.open=!0,i=i!=g.offsetHeight,j.removeChild(g),k&&j.parentNode.removeChild(j),i):!1;
|
||||
}(document);if(f==!1){if(b("details").length!==0){var e=b("<style />").text('summary {-webkit-text-size-adjust: none;} details > summary:first-child:before {content: "\u25bc"; font-size:.9em;padding-right:6px;font-family:"Courier New";} details > summary.detailHidden:first-child:before {content: "\u25ba";font-size:.9em;padding-right:6px;font-family:"Courier New";}');
|
||||
b("head").append(e);}b.each(b("details"),function(d,g){a.hideDetailChildren(g);});}})();});var AccessifyHTML5=function(c){var d={article:{role:"article"},aside:{role:"complementary"},nav:{role:"navigation"},output:{"aria-live":"polite"},section:{role:"region"},"[required]":{"aria-required":"true"}};
|
||||
if(c){if(c.header){d[c.header]={role:"banner"};}if(c.footer){d[c.footer]={role:"contentinfo"};}if(c.main){d[c.main]={role:"main"};}}jQuery.each(d,function(b,a){jQuery(b).attr(a);
|
||||
(function(e){e.respond={};respond.update=function(){};
|
||||
respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return;}var o=e.document,v=o.documentElement,i=[],m=[],t=[],r={},h=30,f=o.getElementsByTagName("head")[0]||v,g=o.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,z=D.length,A=0,x,B,C,y;
|
||||
for(;A<z;A++){x=D[A],B=x.href,C=x.media,y=x.rel&&x.rel.toLowerCase()==="stylesheet";if(!!B&&y&&!r[B]){if(x.styleSheet&&x.styleSheet.rawCssText){p(x.styleSheet.rawCssText,B,C);
|
||||
r[B]=true;}else{if((!/^([a-zA-Z:]*\/\/)/.test(B)&&!g)||B.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:B,media:C});}}}}k();},k=function(){if(d.length){var x=d.shift();
|
||||
q(x.href,function(y){p(y,x.href,x.media);r[x.href]=true;k();});}},p=function(B,C,F){var z=B.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),D=z&&z.length||0,C=C.substring(0,C.lastIndexOf("/")),E=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+C+"$2$3");
|
||||
},G=!D&&F,J=0,I,x,y,H,A;if(C.length){C+="/";}if(G){D=1;}for(;J<D;J++){I=0;if(G){x=F;m.push(E(B));}else{x=z[J].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;
|
||||
m.push(RegExp.$2&&E(RegExp.$2));}H=x.split(",");A=H.length;for(;I<A;I++){y=H[I];i.push({media:y.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:m.length-1,hasquery:y.indexOf("(")>-1,minw:y.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:y.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});
|
||||
}}j();},n,u,l=function(){var A,x=o.createElement("div"),y=o.body,z=false;x.style.cssText="position:absolute;font-size:1em;width:1em";if(!y){y=z=o.createElement("body");
|
||||
y.style.background="none";}y.appendChild(x);v.insertBefore(y,v.firstChild);A=x.offsetWidth;if(z){v.removeChild(y);}else{y.removeChild(x);}A=s=parseFloat(A);
|
||||
return A;},s,j=function(B){var C="clientWidth",K=v[C],A=o.compatMode==="CSS1Compat"&&K||o.body[C]||K,M={},z=b[b.length-1],G=(new Date()).getTime();if(B&&n&&G-n<h){clearTimeout(u);
|
||||
u=setTimeout(j,h);return;}else{n=G;}for(var x in i){var E=i[x],L=E.minw,D=E.maxw,J=L===null,H=D===null,F="em";if(!!L){L=parseFloat(L)*(L.indexOf(F)>-1?(s||l()):1);
|
||||
}if(!!D){D=parseFloat(D)*(D.indexOf(F)>-1?(s||l()):1);}if(!E.hasquery||(!J||!H)&&(J||A>=L)&&(H||A<=D)){if(!M[E.media]){M[E.media]=[];}M[E.media].push(m[E.rules]);
|
||||
}}for(var x in t){if(t[x]&&t[x].parentNode===f){f.removeChild(t[x]);}}for(var x in M){var I=o.createElement("style"),y=M[x].join("\n");I.type="text/css";
|
||||
I.media=x;f.insertBefore(I,z.nextSibling);if(I.styleSheet){I.styleSheet.cssText=y;}else{I.appendChild(o.createTextNode(y));}t.push(I);}},q=function(y,x){var z=c();
|
||||
if(!z){return;}z.open("GET",y,true);z.onreadystatechange=function(){if(z.readyState!=4||z.status!=200&&z.status!=304){return;}x(z.responseText);};if(z.readyState==4){return;
|
||||
}z.send(null);},c=(function(){var y=false;try{y=new XMLHttpRequest();}catch(x){y=new ActiveXObject("Microsoft.XMLHTTP");}return function(){return y;};})();
|
||||
a();respond.update=a;function w(){j(true);}if(e.addEventListener){e.addEventListener("resize",w,false);}else{if(e.attachEvent){e.attachEvent("onresize",w);
|
||||
}}})(this);(function(d){var g=navigator.userAgent;if(!(/iPhone|iPad|iPod/.test(navigator.platform)&&/OS [1-5]_[0-9_]* like Mac OS X/i.test(g)&&g.indexOf("AppleWebKit")>-1)){return;
|
||||
}var b=d.document;if(!b.querySelector){return;}var f=b.querySelector("meta[name=viewport]"),a=f&&f.getAttribute("content"),o=a+",maximum-scale=1",h=a+",maximum-scale=10",k=true,n,m,l,e;
|
||||
if(!f){return;}function j(){f.setAttribute("content",h);k=true;}function c(){f.setAttribute("content",o);k=false;}function i(p){e=p.accelerationIncludingGravity;
|
||||
n=Math.abs(e.x);m=Math.abs(e.y);l=Math.abs(e.z);if((!d.orientation||d.orientation===180)&&(n>7||((l>6&&m<8||l<8&&m>6)&&n>5))){if(k){c();}}else{if(!k){j();
|
||||
}}}d.addEventListener("orientationchange",j,false);d.addEventListener("devicemotion",i,false);})(this);(function(a){a.fn.fitVids=function(b){var c={customSelector:null};
|
||||
var e=document.createElement("div"),d=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];e.className="fit-vids-style";
|
||||
e.innerHTML="­<style>.fluid-width-video-wrapper {width: 100%;position: relative;padding: 0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}</style>";
|
||||
d.parentNode.insertBefore(e,d);if(b){a.extend(c,b);}return this.each(function(){var f=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];
|
||||
if(c.customSelector){f.push(c.customSelector);}var g=a(this).find(f.join(","));g.each(function(){var j=a(this);if(this.tagName.toLowerCase()=="embed"&&j.parent("object").length||j.parent(".fluid-width-video-wrapper").length){return;
|
||||
}var k=this.tagName.toLowerCase()=="object"?j.attr("height"):j.height(),h=k/j.width();if(!j.attr("id")){var i="fitvid"+Math.floor(Math.random()*999999);
|
||||
j.attr("id",i);}j.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(h*100)+"%");j.removeAttr("height").removeAttr("width");
|
||||
});});};})(jQuery);jQuery(function(a){(function(){var b=this;this.hideDetailChildren=function(e){var f=e instanceof jQuery?e[0].childNodes:e.childNodes,g=f.length;
|
||||
a(e).attr("open",!1);if(a.browser.safari==!0){for(var m=0;m<g;m++){if(f[m].nodeType==3&&f[m].textContent!=""){var n=a("<span />");n.text(f[m].textContent).hide(),a(f[m]).after(n),f[m].textContent="",g++;
|
||||
}}}a.each(f,function(i,k){if(a(k)[0].nodeType==1&&k==a(k).parent().find("> summary:first-of-type")[0]){a(k).data("processed")!=!0&&(a(k).css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){b.toggleDetailChildren(a(this));
|
||||
}),a(e).prepend(a(k)));}else{if(a(k)[0].nodeType==3&&!k.isElementContentWhitespace&&!!a.browser.safari==!1){var h=a("<span />");h.text(k.textContent).hide(),a(k).after(h),k.textContent="";
|
||||
}else{if(a(e).find("> summary").length==0){var j=a("<summary />").text("Details").css({display:"block",cursor:"pointer"}).data("processed",!0).addClass("detailHidden").bind("click",function(){b.toggleDetailChildren(a(this));
|
||||
});a(e).prepend(j);}}}a(e).find("> :visible:not(summary:first-child)").hide();});},this.showDetailChildren=function(e){a(e).attr("open",!0),a.each(a(e).find("> *"),function(h,f){a(f).show();
|
||||
});},this.toggleDetailChildren=function(e){e.hasClass("detailHidden")?(e.removeClass("detailHidden"),b.showDetailChildren(e.parents("details")[0])):(e.addClass("detailHidden"),b.hideDetailChildren(e.parents("details")[0]));
|
||||
};var c=function(m){var n=m.createElement("details"),e,f,l;return"open" in n?(f=m.body||function(){var g=m.documentElement;return e=!0,g.insertBefore(m.createElement("body"),g.firstElementChild||g.firstChild);
|
||||
}(),n.innerHTML="<summary>a</summary>b",n.style.display="block",f.appendChild(n),l=n.offsetHeight,n.open=!0,l=l!=n.offsetHeight,f.removeChild(n),e&&f.parentNode.removeChild(f),l):!1;
|
||||
}(document);if(c==!1){if(a("details").length!==0){var d=a("<style />").text('summary {-webkit-text-size-adjust: none;} details > summary:first-child:before {content: "\u25bc"; font-size:.9em;padding-right:6px;font-family:"Courier New";} details > summary.detailHidden:first-child:before {content: "\u25ba";font-size:.9em;padding-right:6px;font-family:"Courier New";}');
|
||||
a("head").append(d);}a.each(a("details"),function(f,e){b.hideDetailChildren(e);});}})();});var AccessifyHTML5=function(b){var a={article:{role:"article"},aside:{role:"complementary"},nav:{role:"navigation"},output:{"aria-live":"polite"},section:{role:"region"},"[required]":{"aria-required":"true"}};
|
||||
if(b){if(b.header){a[b.header]={role:"banner"};}if(b.footer){a[b.footer]={role:"contentinfo"};}if(b.main){a[b.main]={role:"main"};}}jQuery.each(a,function(c,d){jQuery(c).attr(d);
|
||||
});};
|
||||
/*! http://mths.be/placeholder v2.0.6 by @mathias */
|
||||
(function(r,p,n){var w="placeholder" in p.createElement("input"),t="placeholder" in p.createElement("textarea"),o=n.fn,u=n.valHooks,l,m;
|
||||
if(w&&t){m=o.placeholder=function(){return this;};m.input=m.textarea=true;}else{m=o.placeholder=function(){var a=this;a.filter((w?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":v,"blur.placeholder":s}).data("placeholder-enabled",true).trigger("blur.placeholder");
|
||||
return a;};m.input=w;m.textarea=t;l={get:function(a){var b=n(a);return b.data("placeholder-enabled")&&b.hasClass("placeholder")?"":a.value;},set:function(a,c){var b=n(a);
|
||||
if(!b.data("placeholder-enabled")){return a.value=c;}if(c==""){a.value=c;if(a!=p.activeElement){s.call(a);}}else{if(b.hasClass("placeholder")){v.call(a,true,c)||(a.value=c);
|
||||
}else{a.value=c;}}return b;}};w||(u.input=l);t||(u.textarea=l);n(function(){n(p).delegate("form","submit.placeholder",function(){var a=n(".placeholder",this).each(v);
|
||||
setTimeout(function(){a.each(s);},10);});});n(r).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value="";});});}function q(a){var b={},c=/^jQuery\d+$/;
|
||||
n.each(a.attributes,function(d,e){if(e.specified&&!c.test(e.name)){b[e.name]=e.value;}});return b;}function v(a,d){var b=this,c=n(b);if(b.value==c.attr("placeholder")&&c.hasClass("placeholder")){if(c.data("placeholder-password")){c=c.hide().next().show().attr("id",c.removeAttr("id").data("placeholder-id"));
|
||||
if(a===true){return c[0].value=d;}c.focus();}else{b.value="";c.removeClass("placeholder");b==p.activeElement&&b.select();}}}function s(){var c,b=this,d=n(b),a=d,e=this.id;
|
||||
if(b.value==""){if(b.type=="password"){if(!d.data("placeholder-textinput")){try{c=d.clone().attr({type:"text"});}catch(f){c=n("<input>").attr(n.extend(q(this),{type:"text"}));
|
||||
}c.removeAttr("name").data({"placeholder-password":true,"placeholder-id":e}).bind("focus.placeholder",v);d.data({"placeholder-textinput":c,"placeholder-id":e}).before(c);
|
||||
}d=d.removeAttr("id").hide().prev().attr("id",e).show();}d.addClass("placeholder");d[0].value=d.attr("placeholder");}else{d.removeClass("placeholder");
|
||||
}}}(this,document,jQuery));jQuery(document).ready(function(b){AccessifyHTML5({header:"#banner",main:"#main",footer:"#colophon"});b("input[type=search]").parents("form").attr("role","search");
|
||||
var a=b("<select/>");b("#primary-nav li").each(function(){var c=b(this);if(c.find("span").length){b("<option/>",{selected:"selected",value:"",text:c.text()}).appendTo(a);
|
||||
}else{b("<option/>",{value:c.find("a").attr("href"),text:c.text()}).appendTo(a);}});if(a.children().size()>0){a.appendTo("#primary-nav").change(function(){window.location=b(this).find("option:selected").val();
|
||||
});}if(typeof(lsbase)=="string"){b('<div id="LSResult" style="display: none;"><div id="LSShadow"></div></div>').appendTo("#searchform>div");}b("input, textarea").placeholder();
|
||||
b("#content>article").fitVids();b("#trackback_url>a,.short-url").click(function(){var c=b(this).attr("title");alert(c);return false;});b(".comment_reply").click(function(){var c=b(this).attr("id").replace(/serendipity_reply_/g,"");
|
||||
b("#serendipity_replyTo").val(c);});b(".comment_source_ownerlink").click(function(){var c=b(this).attr("title");return confirm(c);});b("#c").insertAfter("#feedback");
|
||||
b(".comment_reply").click(function(){b("#reply-to-comment").remove();var c='<p id="reply-to-comment">'+b("#reply-to-hint").text()+" "+b("#serendipity_replyTo :selected").text()+"</p>";
|
||||
b("#serendipity_replyTo").after(c);});b("#reply-to-hint,#serendipity_replyTo").addClass("visuallyhidden");});
|
||||
(function(a,c,e){var h="placeholder" in c.createElement("input"),k="placeholder" in c.createElement("textarea"),d=e.fn,j=e.valHooks,g,f;
|
||||
if(h&&k){f=d.placeholder=function(){return this;};f.input=f.textarea=true;}else{f=d.placeholder=function(){var l=this;l.filter((h?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":i,"blur.placeholder":x}).data("placeholder-enabled",true).trigger("blur.placeholder");
|
||||
return l;};f.input=h;f.textarea=k;g={get:function(m){var l=e(m);return l.data("placeholder-enabled")&&l.hasClass("placeholder")?"":m.value;},set:function(m,n){var l=e(m);
|
||||
if(!l.data("placeholder-enabled")){return m.value=n;}if(n==""){m.value=n;if(m!=c.activeElement){x.call(m);}}else{if(l.hasClass("placeholder")){i.call(m,true,n)||(m.value=n);
|
||||
}else{m.value=n;}}return l;}};h||(j.input=g);k||(j.textarea=g);e(function(){e(c).delegate("form","submit.placeholder",function(){var l=e(".placeholder",this).each(i);
|
||||
setTimeout(function(){l.each(x);},10);});});e(a).bind("beforeunload.placeholder",function(){e(".placeholder").each(function(){this.value="";});});}function b(m){var l={},n=/^jQuery\d+$/;
|
||||
e.each(m.attributes,function(p,o){if(o.specified&&!n.test(o.name)){l[o.name]=o.value;}});return l;}function i(m,n){var l=this,o=e(l);if(l.value==o.attr("placeholder")&&o.hasClass("placeholder")){if(o.data("placeholder-password")){o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id"));
|
||||
if(m===true){return o[0].value=n;}o.focus();}else{l.value="";o.removeClass("placeholder");l==c.activeElement&&l.select();}}}function x(){var q,l=this,p=e(l),m=p,o=this.id;
|
||||
if(l.value==""){if(l.type=="password"){if(!p.data("placeholder-textinput")){try{q=p.clone().attr({type:"text"});}catch(n){q=e("<input>").attr(e.extend(b(this),{type:"text"}));
|
||||
}q.removeAttr("name").data({"placeholder-password":true,"placeholder-id":o}).bind("focus.placeholder",i);p.data({"placeholder-textinput":q,"placeholder-id":o}).before(q);
|
||||
}p=p.removeAttr("id").hide().prev().attr("id",o).show();}p.addClass("placeholder");p[0].value=p.attr("placeholder");}else{p.removeClass("placeholder");
|
||||
}}}(this,document,jQuery));jQuery(document).ready(function(c){AccessifyHTML5({header:"#banner",main:"#main",footer:"#colophon"});c("input[type=search]").parents("form").attr("role","search");
|
||||
var d=c("<select/>");c("#primary-nav li").each(function(){var a=c(this);if(a.find("span").length){c("<option/>",{selected:"selected",value:"",text:a.text()}).appendTo(d);
|
||||
}else{c("<option/>",{value:a.find("a").attr("href"),text:a.text()}).appendTo(d);}});if(d.children().size()>0){d.appendTo("#primary-nav").change(function(){window.location=c(this).find("option:selected").val();
|
||||
});}if(typeof(lsbase)=="string"){c('<div id="LSResult" style="display: none;"><div id="LSShadow"></div></div>').appendTo("#searchform>div");}c("input, textarea").placeholder();
|
||||
c("#content>article").fitVids();c("#trackback_url>a,.short-url").click(function(){var a=c(this).attr("title");alert(a);return false;});c(".comment_reply").click(function(){var a=c(this).attr("id").replace(/serendipity_reply_/g,"");
|
||||
c("#serendipity_replyTo").val(a);});c(".comment_source_ownerlink").click(function(){var a=c(this).attr("title");return confirm(a);});c("#c").insertAfter("#feedback");
|
||||
c(".comment_reply").click(function(){c("#reply-to-comment").remove();var a='<p id="reply-to-comment">'+c("#reply-to-hint").text()+" "+c("#serendipity_replyTo :selected").text()+"</p>";
|
||||
c("#serendipity_replyTo").after(a);});c("#reply-to-hint,#serendipity_replyTo").addClass("visuallyhidden");c(".reply_origin").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var a=c(this.hash);
|
||||
a=a.length&&a||c("[name="+this.hash.slice(1)+"]");if(a.length){var b=a.offset().top;c("html,body").animate({scrollTop:b},700);return false;}}});});
|
35
templates/2k11/js/modernizr-2.6.1.min.js
vendored
35
templates/2k11/js/modernizr-2.6.1.min.js
vendored
@ -1,35 +0,0 @@
|
||||
window.Modernizr=function(au,at,ar){function S(b){ak.cssText=b;}function R(d,c){return S(ag.join(d+";")+(c||""));}function Q(d,c){return typeof d===c;}function P(d,c){return !!~(""+d).indexOf(c);
|
||||
}function O(f,c){for(var h in f){var g=f[h];if(!P(g,"-")&&ak[g]!==ar){return c=="pfx"?g:!0;}}return !1;}function N(g,c,j){for(var i in g){var h=c[g[i]];
|
||||
if(h!==ar){return j===!1?g[i]:Q(h,"function")?h.bind(j||c):h;}}return !1;}function M(g,f,j){var i=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+ae.join(i+" ")+i).split(" ");
|
||||
return Q(f,"string")||Q(f,"undefined")?O(h,f):(h=(g+" "+ad.join(i+" ")+i).split(" "),N(h,f,j));}function L(){ap.input=function(f){for(var b=0,a=f.length;
|
||||
b<a;b++){aa[f[b]]=f[b] in aj;}return aa.list&&(aa.list=!!at.createElement("datalist")&&!!au.HTMLDataListElement),aa;}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));
|
||||
}var aq="2.6.1",ap={},ao=!0,an=at.documentElement,am="modernizr",al=at.createElement(am),ak=al.style,aj=at.createElement("input"),ai=":)",ah={}.toString,ag=" -webkit- -moz- -o- -ms- ".split(" "),af="Webkit Moz O ms",ae=af.split(" "),ad=af.toLowerCase().split(" "),ac={},ab={},aa={},Z=[],Y=Z.slice,X,W=function(t,s,r,q){var p,o,n,h=at.createElement("div"),g=at.body,b=g?g:at.createElement("body");
|
||||
if(parseInt(r,10)){while(r--){n=at.createElement("div"),n.id=q?q[r]:am+(r+1),h.appendChild(n);}}return p=["­",'<style id="s',am,'">',t,"</style>"].join(""),h.id=am,(g?h:b).innerHTML+=p,b.appendChild(h),g||(b.style.background="",an.appendChild(b)),o=s(h,t),g?h.parentNode.removeChild(h):b.parentNode.removeChild(b),!!o;
|
||||
},V=function(a){var f=au.matchMedia||au.msMatchMedia;if(f){return f(a).matches;}var e;return W("@media "+a+" { #"+am+" { position: absolute; } }",function(c){e=(au.getComputedStyle?getComputedStyle(c,null):c.currentStyle)["position"]=="absolute";
|
||||
}),e;},U={}.hasOwnProperty,T;!Q(U,"undefined")&&!Q(U.call,"undefined")?T=function(d,c){return U.call(d,c);}:T=function(d,c){return c in d&&Q(d.constructor.prototype[c],"undefined");
|
||||
},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError;}var g=Y.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};
|
||||
b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(Y.call(arguments)));return Object(c)===c?c:d;}return h.apply(a,g.concat(Y.call(arguments)));};
|
||||
return f;}),ac.touch=function(){var a;return"ontouchstart" in au||au.DocumentTouch&&at instanceof DocumentTouch?a=!0:W(["@media (",ag.join("touch-enabled),("),am,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=b.offsetTop===9;
|
||||
}),a;},ac.boxshadow=function(){return M("boxShadow");},ac.generatedcontent=function(){var b;return W(['#modernizr:after{content:"',ai,'";visibility:hidden}'].join(""),function(a){b=a.offsetHeight>=1;
|
||||
}),b;};for(var K in ac){T(ac,K)&&(X=K.toLowerCase(),ap[X]=ac[K](),Z.push((ap[X]?"":"no-")+X));}return ap.input||L(),ap.addTest=function(e,c){if(typeof e=="object"){for(var f in e){T(e,f)&&ap.addTest(f,e[f]);
|
||||
}}else{e=e.toLowerCase();if(ap[e]!==ar){return ap;}c=typeof c=="function"?c():c,ao&&(an.className+=" "+(c?"":"no-")+e),ap[e]=c;}return ap;},S(""),al=aj=null,ap._version=aq,ap._prefixes=ag,ap._domPrefixes=ad,ap._cssomPrefixes=ae,ap.mq=V,ap.testProp=function(b){return O([b]);
|
||||
},ap.testAllProps=M,ap.testStyles=W,an.className=an.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(ao?" js "+Z.join(" "):""),ap;}(this,this.document),function(Z,Y){function P(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;
|
||||
return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild);}function O(){var b=I.elements;return typeof b=="string"?b.split(" "):b;
|
||||
}function N(d){var c=R[d[T]];return c||(c={},S++,d[T]=S,R[S]=c),c;}function M(b,h,e){h||(h=Y);if(Q){return h.createElement(b);}e||(e=N(h));var d;return e.cache[b]?d=e.cache[b].cloneNode():V.test(b)?d=(e.cache[b]=e.createElem(b)).cloneNode():d=e.createElem(b),d.canHaveChildren&&!W.test(b)?e.frag.appendChild(d):d;
|
||||
}function L(b,l){b||(b=Y);if(Q){return b.createDocumentFragment();}l=l||N(b);var k=l.frag.cloneNode(),j=0,i=O(),h=i.length;for(;j<h;j++){k.createElement(i[j]);
|
||||
}return k;}function K(d,c){c.cache||(c.cache={},c.createElem=d.createElement,c.createFrag=d.createDocumentFragment,c.frag=c.createFrag()),d.createElement=function(a){return I.shivMethods?M(a,d,c):c.createElem(a);
|
||||
},d.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+O().join().replace(/\w+/g,function(b){return c.createElem(b),c.frag.createElement(b),'c("'+b+'")';
|
||||
})+");return n}")(I,c.frag);}function J(b){b||(b=Y);var d=N(b);return I.shivCSS&&!U&&!d.hasCSS&&(d.hasCSS=!!P(b,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),Q||K(b,d),b;
|
||||
}function E(h){var g,l=h.getElementsByTagName("*"),k=l.length,j=RegExp("^(?:"+O().join("|")+")$","i"),i=[];while(k--){g=l[k],j.test(g.nodeName)&&i.push(g.applyElement(D(g)));
|
||||
}return i;}function D(g){var f,j=g.attributes,i=j.length,h=g.ownerDocument.createElement(G+":"+g.nodeName);while(i--){f=j[i],f.specified&&h.setAttribute(f.nodeName,f.nodeValue);
|
||||
}return h.style.cssText=g.style.cssText,h;}function C(h){var g,l=h.split("{"),k=l.length,j=RegExp("(^|[\\s,>+~])("+O().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),i="$1"+G+"\\:$2";
|
||||
while(k--){g=l[k]=l[k].split("}"),g[g.length-1]=g[g.length-1].replace(j,i),l[k]=g.join("}");}return l.join("{");}function B(d){var c=d.length;while(c--){d[c].removeNode();
|
||||
}}function A(i){function j(){clearTimeout(m._removeSheetTimer),h&&h.removeNode(!0),h=null;}var h,n,m=N(i),l=i.namespaces,k=i.parentWindow;return !F||i.printShived?i:(typeof l[G]=="undefined"&&l.add(G),k.attachEvent("onbeforeprint",function(){j();
|
||||
var r,q,p,o=i.styleSheets,g=[],c=o.length,b=Array(c);while(c--){b[c]=o[c];}while(p=b.pop()){if(!p.disabled&&H.test(p.media)){try{r=p.imports,q=r.length;
|
||||
}catch(a){q=0;}for(c=0;c<q;c++){b.push(r[c]);}try{g.push(p.cssText);}catch(a){}}}g=C(g.reverse().join("")),n=E(i),h=P(i,g);}),k.attachEvent("onafterprint",function(){B(n),clearTimeout(m._removeSheetTimer),m._removeSheetTimer=setTimeout(j,500);
|
||||
}),i.printShived=!0,i);}var X=Z.html5||{},W=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,V=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,U,T="_html5shiv",S=0,R={},Q;
|
||||
(function(){try{var b=Y.createElement("a");b.innerHTML="<xyz></xyz>",U="hidden" in b,Q=b.childNodes.length==1||function(){Y.createElement("a");var c=Y.createDocumentFragment();
|
||||
return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined";}();}catch(d){U=!0,Q=!0;}})();
|
||||
var I={elements:X.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:X.shivCSS!==!1,supportsUnknownElements:Q,shivMethods:X.shivMethods!==!1,type:"default",shivDocument:J,createElement:M,createDocumentFragment:L};
|
||||
Z.html5=I,J(Y);var H=/^$|\b(?:all|print)\b/,G="html5shiv",F=!Q&&function(){var a=Y.documentElement;return typeof Y.namespaces!="undefined"&&typeof Y.parentWindow!="undefined"&&typeof a.applyElement!="undefined"&&typeof a.removeNode!="undefined"&&typeof Z.attachEvent!="undefined";
|
||||
}();I.type+=" print",I.shivPrint=A,A(Y);}(this,document);
|
4
templates/2k11/js/modernizr-2.6.2.min.js
vendored
Normal file
4
templates/2k11/js/modernizr-2.6.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -5,6 +5,7 @@
|
||||
@define('TWOK11_WEBFONTS', 'Einen von Google gehosteten Webfont nutzen?');
|
||||
@define('TWOK11_NOWEBFONT', 'Keinen Webfont einbinden');
|
||||
@define('TWOK11_USERSTYLES', 'user.css einbinden? (Muss selbst im Templateverzeichnis angelegt werden! Generator: http://yellowled.github.com)');
|
||||
@define('TWOK11_REFCOMMENTS', 'Kommentaren (falls vorhanden) einen Link zum Kommentar, auf den geantwortet wurde, hinzuf<75>gen?');
|
||||
// Sprachkonstanten
|
||||
@define('TWOK11_NAV_TITLE', 'Navigation');
|
||||
@define('TWOK11_PAG_TITLE', 'Pagination');
|
||||
@ -20,3 +21,6 @@
|
||||
@define('TWOK11_DENT_THIS', 'Artikel via Identica teilen');
|
||||
@define('TWOK11_SHORT_URL', 'Kurz-URL');
|
||||
@define('TWOK11_SHORT_URL_HINT', 'Dieser Link ist nicht aktiv. Er enth<74>lt die Kurz-URL zu diesem Eintrag. Sie k<>nnen diese URL benutzen, um diesen Eintrag zu verlinken. Um den Link zu kopieren, klicken Sie ihn mit der rechten Maustaste an und w<>hlen Verkn<6B>pfung kopieren im Internet Explorer oder Linkadresse kopieren in Mozilla/Firefox.');
|
||||
@define('TWOK11_EMPTYTRACKBACK', 'Die Anzeige des Inhaltes dieses Trackbacks ist leider nicht m<>glich.');
|
||||
@define('TWOK11_TRACKBACKPREVIEW', 'Vorschau anzeigen');
|
||||
@define('TWOK11_REPLYORIGIN', 'Antwort auf');
|
||||
|
@ -5,6 +5,7 @@
|
||||
@define('TWOK11_WEBFONTS', 'Use a webfont, hosted by Google?');
|
||||
@define('TWOK11_NOWEBFONT', 'Include no webfont');
|
||||
@define('TWOK11_USERSTYLES', 'Include user.css? (You need to create that file in your template directory. Generator: http://yellowled.github.com)');
|
||||
@define('TWOK11_REFCOMMENTS', 'Add link to related comment to comments (if they are replies to another comment)?');
|
||||
// Lang constants
|
||||
@define('TWOK11_NAV_TITLE', 'Navigation');
|
||||
@define('TWOK11_PAG_TITLE', 'Pagination');
|
||||
@ -20,3 +21,6 @@
|
||||
@define('TWOK11_DENT_THIS', 'Share article on Identica');
|
||||
@define('TWOK11_SHORT_URL', 'Short URL');
|
||||
@define('TWOK11_SHORT_URL_HINT', 'This link is not meant to be clicked. It contains the short URL for this entry. You can use this URL to link to this entry. To copy the link, right click and select Copy Shortcut in Internet Explorer or Copy Link Location in Mozilla.');
|
||||
@define('TWOK11_EMPTYTRACKBACK', 'Unfortunately, the contents of this trackback can not be displayed.');
|
||||
@define('TWOK11_TRACKBACKPREVIEW', 'Show preview');
|
||||
@define('TWOK11_REPLYORIGIN', 'Origin');
|
||||
|
@ -33,10 +33,11 @@
|
||||
<footer class="staticpage_metainfo">
|
||||
<small>
|
||||
{if $staticpage_author}
|
||||
<span class="visuallyhidden">{$CONST.POSTED_BY} </span>{$staticpage_author|@escape}
|
||||
<span class="single_user"><span class="visuallyhidden">{$CONST.POSTED_BY} </span>{$staticpage_author|@escape}
|
||||
{/if}
|
||||
{if $staticpage_author AND $staticpage_lastchange} | </span>{/if}
|
||||
{if $staticpage_lastchange}
|
||||
| <span class="visuallyhidden">{$CONST.ON} </span><time datetime="{$staticpage_lastchange|@serendipity_html5time}" pubdate>{$staticpage_lastchange|date_format:$template_option.date_format}</time>
|
||||
<span class="visuallyhidden">{$CONST.ON} </span><time datetime="{$staticpage_lastchange|@serendipity_html5time}" pubdate>{$staticpage_lastchange|date_format:$template_option.date_format}</time>
|
||||
{/if}
|
||||
{if $staticpage_adminlink AND $staticpage_adminlink.page_user}
|
||||
| <a href="{$staticpage_adminlink.link_edit}">{$staticpage_adminlink.link_name|@escape}</a>
|
||||
|
@ -197,6 +197,11 @@ a:link { -webkit-tap-highlight-color: #d52; }
|
||||
.ubuntu input, .ubuntu select,
|
||||
.ubuntu textarea { font-family: 'Ubuntu', sans-serif; }
|
||||
|
||||
.dserif, .dserif button,
|
||||
.dserif input, .dserif select,
|
||||
.dserif textarea { font-family: 'Droid Serif', serif; }
|
||||
|
||||
|
||||
p {
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
@ -293,7 +298,7 @@ caption, th, prev,
|
||||
|
||||
fieldset,
|
||||
.no-js #primary-nav ul,
|
||||
.archives_summary span,
|
||||
.archives_summary .serendipity_byline,
|
||||
.form_field label,
|
||||
.form_tarea label,
|
||||
.podcastdownload,
|
||||
@ -338,6 +343,7 @@ fieldset,
|
||||
#banner>img { display: none; }
|
||||
|
||||
#banner>img,
|
||||
.plugin_comment_wrap,
|
||||
.serendipity_entry footer { clear: both; }
|
||||
|
||||
.no-nav {
|
||||
@ -1145,7 +1151,7 @@ pre .geshi {
|
||||
.comment_avatar, #respond,
|
||||
.serendipityCommentForm { display: none;}
|
||||
|
||||
body { font-family: Georgia, Times, "Times New Roman", serif !important; }
|
||||
body { font-family: Times, "Times New Roman", serif !important; }
|
||||
.content a[href]:after,
|
||||
#trackbacks h4 a[href]:after { content: " (" attr(href) ")"; }
|
||||
.content a.serendipity_image_link[href]:after { content: ""; }
|
||||
|
@ -1,11 +1,14 @@
|
||||
{foreach from=$trackbacks item=trackback}
|
||||
<article id="c{$trackback.id}" class="clearfix serendipity_comment {cycle values="odd,even"}">
|
||||
<h4><cite>{$trackback.author|@default:$CONST.ANONYMOUS}</cite> {$CONST.ON} <time datetime="{$trackback.timestamp|@serendipity_html5time}" pubdate>{$trackback.timestamp|@formatTime:$template_option.date_format}</time>: <a href="{$trackback.url|@strip_tags}">{$trackback.title}</a></h4>
|
||||
|
||||
{if $trackback.body == ''}
|
||||
<span class="visuallyhidden">{$CONST.TWOK11_EMPTYTRACKBACK}</span>
|
||||
{else}
|
||||
<details>
|
||||
<summary>{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$trackback.title}</summary>
|
||||
<summary>{$CONST.TWOK11_TRACKBACKPREVIEW}</summary>
|
||||
<div class="content serendipity_commentBody">{$trackback.body|@strip_tags|@escape:all}</div>
|
||||
</details>
|
||||
{/if}
|
||||
{if $entry.is_entry_owner}
|
||||
<footer>
|
||||
<a href="{$serendipityBaseURL}comment.php?serendipity[delete]={$trackback.id}&serendipity[entry]={$trackback.entry_id}&serendipity[type]=trackbacks">{$CONST.DELETE}</a>
|
||||
|
Reference in New Issue
Block a user