Changeset 2566:9bf417837888 for themes
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- Location:
- themes
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/blueSilence/_define.php
r2257 r2566 21 21 ) 22 22 ); 23 ?> -
themes/customCSS/_config.php
r1454 r2566 27 27 fwrite($fp,$_POST['css']); 28 28 fclose($fp); 29 29 30 30 dcPage::message(__('Style sheet upgraded.'),true,true); 31 31 } … … 36 36 '<p class="area"><label>'.__('Style sheet:').'</label> '. 37 37 form::textarea('css',60,20,html::escapeHTML($css_content)).'</p>'; 38 ?> -
themes/customCSS/_define.php
r2257 r2566 21 21 ) 22 22 ); 23 ?> -
themes/customCSS/_public.php
r1179 r2566 24 24 } 25 25 } 26 ?> -
themes/default/_define.php
r2257 r2566 21 21 ) 22 22 ); 23 ?> -
themes/default/js/jquery.js
r0 r2566 55 55 // For matching the engine and version of the browser 56 56 browserMatch, 57 57 58 58 // Has the ready events already been bound? 59 59 readyBound = false, 60 60 61 61 // The functions to execute on DOM ready 62 62 readyList = [], … … 87 87 return this; 88 88 } 89 89 90 90 // The body element only exists once, optimize finding it 91 91 if ( selector === "body" && !context ) { … … 126 126 selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes; 127 127 } 128 128 129 129 return jQuery.merge( this, selector ); 130 130 131 131 // HANDLE: $("#id") 132 132 } else { … … 219 219 if ( jQuery.isArray( elems ) ) { 220 220 push.apply( ret, elems ); 221 221 222 222 } else { 223 223 jQuery.merge( ret, elems ); … … 245 245 return jQuery.each( this, callback, args ); 246 246 }, 247 247 248 248 ready: function( fn ) { 249 249 // Attach the listeners … … 263 263 return this; 264 264 }, 265 265 266 266 eq: function( i ) { 267 267 return i === -1 ? … … 288 288 })); 289 289 }, 290 290 291 291 end: function() { 292 292 return this.prevObject || jQuery(null); … … 369 369 return jQuery; 370 370 }, 371 371 372 372 // Is the DOM ready to be used? Set to true once it occurs. 373 373 isReady: false, 374 374 375 375 // Handle when the DOM is ready 376 376 ready: function() { … … 403 403 } 404 404 }, 405 405 406 406 bindReady: function() { 407 407 if ( readyBound ) { … … 421 421 // Use the handy event callback 422 422 document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); 423 423 424 424 // A fallback to window.onload, that will always work 425 425 window.addEventListener( "load", jQuery.ready, false ); … … 430 430 // maybe late but safe also for iframes 431 431 document.attachEvent("onreadystatechange", DOMContentLoaded); 432 432 433 433 // A fallback to window.onload, that will always work 434 434 window.attachEvent( "onload", jQuery.ready ); … … 466 466 return false; 467 467 } 468 468 469 469 // Not own constructor property must be Object 470 470 if ( obj.constructor … … 473 473 return false; 474 474 } 475 475 476 476 // Own properties are enumerated firstly, so to speed up, 477 477 // if last one is own, then all properties are own. 478 478 479 479 var key; 480 480 for ( key in obj ) {} 481 481 482 482 return key === undefined || hasOwnProperty.call( obj, key ); 483 483 }, … … 489 489 return true; 490 490 }, 491 491 492 492 error: function( msg ) { 493 493 throw msg; 494 494 }, 495 495 496 496 parseJSON: function( data ) { 497 497 if ( typeof data !== "string" || !data ) { … … 501 501 // Make sure leading/trailing whitespace is removed (IE can't handle it) 502 502 data = jQuery.trim( data ); 503 503 504 504 // Make sure the incoming data is actual JSON 505 505 // Logic borrowed from http://json.org/json2.js … … 628 628 first[ i++ ] = second[ j ]; 629 629 } 630 630 631 631 } else { 632 632 while ( second[j] !== undefined ) { … … 795 795 function access( elems, key, value, exec, fn, pass ) { 796 796 var length = elems.length; 797 797 798 798 // Setting many attributes 799 799 if ( typeof key === "object" ) { … … 803 803 return elems; 804 804 } 805 805 806 806 // Setting one attribute 807 807 if ( value !== undefined ) { 808 808 // Optionally, function values get executed if exec is true 809 809 exec = !pass && exec && jQuery.isFunction(value); 810 810 811 811 for ( var i = 0; i < length; i++ ) { 812 812 fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); 813 813 } 814 814 815 815 return elems; 816 816 } 817 817 818 818 // Getting an attribute 819 819 return length ? fn( elems[0], key ) : undefined; … … 910 910 try { 911 911 delete script.test; 912 912 913 913 } catch(e) { 914 914 jQuery.support.deleteExpando = false; … … 951 951 // Technique from Juriy Zaytsev 952 952 // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ 953 var eventSupported = function( eventName ) { 954 var el = document.createElement("div"); 955 eventName = "on" + eventName; 956 957 var isSupported = (eventName in el); 958 if ( !isSupported ) { 959 el.setAttribute(eventName, "return;"); 960 isSupported = typeof el[eventName] === "function"; 961 } 962 el = null; 963 964 return isSupported; 953 var eventSupported = function( eventName ) { 954 var el = document.createElement("div"); 955 eventName = "on" + eventName; 956 957 var isSupported = (eventName in el); 958 if ( !isSupported ) { 959 el.setAttribute(eventName, "return;"); 960 isSupported = typeof el[eventName] === "function"; 961 } 962 el = null; 963 964 return isSupported; 965 965 }; 966 966 967 967 jQuery.support.submitBubbles = eventSupported("submit"); 968 968 jQuery.support.changeBubbles = eventSupported("change"); … … 988 988 jQuery.extend({ 989 989 cache: {}, 990 990 991 991 expando:expando, 992 992 … … 1015 1015 1016 1016 // Compute a unique ID for the element 1017 if ( !id ) { 1017 if ( !id ) { 1018 1018 id = ++uuid; 1019 1019 } … … 1385 1385 return elem.getAttribute("value") === null ? "on" : elem.value; 1386 1386 } 1387 1387 1388 1388 1389 1389 // Everything else, we just grab the value … … 1446 1446 offset: true 1447 1447 }, 1448 1448 1449 1449 attr: function( elem, name, value, pass ) { 1450 1450 // don't set attributes on text and comment nodes … … 1475 1475 if ( parent ) { 1476 1476 parent.selectedIndex; 1477 1477 1478 1478 // Make sure that it also works with optgroups, see #5701 1479 1479 if ( parent.parentNode ) { … … 1652 1652 } 1653 1653 } 1654 1655 if ( special.add ) { 1656 special.add.call( elem, handleObj ); 1654 1655 if ( special.add ) { 1656 special.add.call( elem, handleObj ); 1657 1657 1658 1658 if ( !handleObj.handler.guid ) { … … 1721 1721 type = namespaces.shift(); 1722 1722 1723 namespace = new RegExp("(^|\\.)" + 1723 namespace = new RegExp("(^|\\.)" + 1724 1724 jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)") 1725 1725 } … … 1874 1874 special = jQuery.event.special[ type ] || {}; 1875 1875 1876 if ( (!special._default || special._default.call( elem, event ) === false) && 1876 if ( (!special._default || special._default.call( elem, event ) === false) && 1877 1877 !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) { 1878 1878 … … 1933 1933 event.data = handleObj.data; 1934 1934 event.handleObj = handleObj; 1935 1935 1936 1936 var ret = handleObj.handler.apply( this, arguments ); 1937 1937 … … 2027 2027 live: { 2028 2028 add: function( handleObj ) { 2029 jQuery.event.add( this, handleObj.origType, jQuery.extend({}, handleObj, {handler: liveHandler}) ); 2029 jQuery.event.add( this, handleObj.origType, jQuery.extend({}, handleObj, {handler: liveHandler}) ); 2030 2030 }, 2031 2031 … … 2033 2033 var remove = true, 2034 2034 type = handleObj.origType.replace(rnamespaces, ""); 2035 2035 2036 2036 jQuery.each( jQuery.data(this, "events").live || [], function() { 2037 2037 if ( type === this.origType.replace(rnamespaces, "") ) { … … 2069 2069 function( elem, type, handle ) { 2070 2070 elem.removeEventListener( type, handle, false ); 2071 } : 2071 } : 2072 2072 function( elem, type, handle ) { 2073 2073 elem.detachEvent( "on" + type, handle ); … … 2114 2114 return; 2115 2115 } 2116 2116 2117 2117 // if preventDefault exists run it on the original event 2118 2118 if ( e.preventDefault ) { … … 2206 2206 } 2207 2207 }); 2208 2208 2209 2209 jQuery.event.add(this, "keypress.specialSubmit", function( e ) { 2210 2210 var elem = e.target, type = elem.type; … … 2268 2268 jQuery.data( elem, "_change_data", val ); 2269 2269 } 2270 2270 2271 2271 if ( data === undefined || val === data ) { 2272 2272 return; … … 2281 2281 jQuery.event.special.change = { 2282 2282 filters: { 2283 focusout: testChange, 2283 focusout: testChange, 2284 2284 2285 2285 click: function( e ) { … … 2345 2345 setup: function() { 2346 2346 this.addEventListener( orig, handler, true ); 2347 }, 2348 teardown: function() { 2347 }, 2348 teardown: function() { 2349 2349 this.removeEventListener( orig, handler, true ); 2350 2350 } 2351 2351 }; 2352 2352 2353 function handler( e ) { 2353 function handler( e ) { 2354 2354 e = jQuery.event.fix( e ); 2355 2355 e.type = fix; … … 2368 2368 return this; 2369 2369 } 2370 2370 2371 2371 if ( jQuery.isFunction( data ) ) { 2372 2372 fn = data; … … 2408 2408 return this; 2409 2409 }, 2410 2410 2411 2411 delegate: function( selector, types, data, fn ) { 2412 2412 return this.live( types, data, fn, selector ); 2413 2413 }, 2414 2414 2415 2415 undelegate: function( selector, types, fn ) { 2416 2416 if ( arguments.length === 0 ) { 2417 2417 return this.unbind( "live" ); 2418 2418 2419 2419 } else { 2420 2420 return this.die( types, null, fn, selector ); 2421 2421 } 2422 2422 }, 2423 2423 2424 2424 trigger: function( type, data ) { 2425 2425 return this.each(function() { … … 2521 2521 } 2522 2522 } 2523 2523 2524 2524 return this; 2525 2525 } … … 2652 2652 return []; 2653 2653 } 2654 2654 2655 2655 if ( !selector || typeof selector !== "string" ) { 2656 2656 return results; … … 2659 2659 var parts = [], m, set, checkSet, extra, prune = true, contextXML = isXML(context), 2660 2660 soFar = selector; 2661 2661 2662 2662 // Reset the position of the chunker regexp (start from head) 2663 2663 while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) { 2664 2664 soFar = m[3]; 2665 2665 2666 2666 parts.push( m[1] ); 2667 2667 2668 2668 if ( m[2] ) { 2669 2669 extra = m[3]; … … 2686 2686 selector += parts.shift(); 2687 2687 } 2688 2688 2689 2689 set = posProcess( selector, set ); 2690 2690 } … … 2797 2797 for ( var i = 0, l = Expr.order.length; i < l; i++ ) { 2798 2798 var type = Expr.order[i], match; 2799 2799 2800 2800 if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { 2801 2801 var left = match[1]; … … 3071 3071 ATTR: function(match, curLoop, inplace, result, not, isXML){ 3072 3072 var name = match[1].replace(/\\/g, ""); 3073 3073 3074 3074 if ( !isXML && Expr.attrMap[name] ) { 3075 3075 match[1] = Expr.attrMap[name]; … … 3097 3097 return true; 3098 3098 } 3099 3099 3100 3100 return match; 3101 3101 }, … … 3218 3218 case 'first': 3219 3219 while ( (node = node.previousSibling) ) { 3220 if ( node.nodeType === 1 ) { 3221 return false; 3220 if ( node.nodeType === 1 ) { 3221 return false; 3222 3222 } 3223 3223 } 3224 if ( type === "first" ) { 3225 return true; 3224 if ( type === "first" ) { 3225 return true; 3226 3226 } 3227 3227 node = elem; 3228 3228 case 'last': 3229 3229 while ( (node = node.nextSibling) ) { 3230 if ( node.nodeType === 1 ) { 3231 return false; 3230 if ( node.nodeType === 1 ) { 3231 return false; 3232 3232 } 3233 3233 } … … 3239 3239 return true; 3240 3240 } 3241 3241 3242 3242 var doneName = match[0], 3243 3243 parent = elem.parentNode; 3244 3244 3245 3245 if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { 3246 3246 var count = 0; … … 3249 3249 node.nodeIndex = ++count; 3250 3250 } 3251 } 3251 } 3252 3252 parent.sizcache = doneName; 3253 3253 } 3254 3254 3255 3255 var diff = elem.nodeIndex - last; 3256 3256 if ( first === 0 ) { … … 3328 3328 return results; 3329 3329 } 3330 3330 3331 3331 return array; 3332 3332 }; … … 3520 3520 return; 3521 3521 } 3522 3522 3523 3523 Sizzle = function(query, context, extra, seed){ 3524 3524 context = context || document; … … 3531 3531 } catch(e){} 3532 3532 } 3533 3533 3534 3534 return oldSizzle(query, context, extra, seed); 3535 3535 }; … … 3560 3560 return; 3561 3561 } 3562 3562 3563 3563 Expr.order.splice(1, 0, "CLASS"); 3564 3564 Expr.find.CLASS = function(match, context, isXML) { … … 3648 3648 var isXML = function(elem){ 3649 3649 // documentElement is verified for cases where it doesn't yet exist 3650 // (such as loading iframes in IE - #4833) 3650 // (such as loading iframes in IE - #4833) 3651 3651 var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; 3652 3652 return documentElement ? documentElement.nodeName !== "HTML" : false; … … 3764 3764 return this.pushStack( winnow(this, selector, true), "filter", selector ); 3765 3765 }, 3766 3766 3767 3767 is: function( selector ) { 3768 3768 return !!selector && jQuery.filter( selector, this ).length > 0; … … 3778 3778 3779 3779 if ( !matches[selector] ) { 3780 matches[selector] = jQuery.expr.match.POS.test( selector ) ? 3780 matches[selector] = jQuery.expr.match.POS.test( selector ) ? 3781 3781 jQuery( selector, context || this.context ) : 3782 3782 selector; … … 3800 3800 } 3801 3801 3802 var pos = jQuery.expr.match.POS.test( selectors ) ? 3802 var pos = jQuery.expr.match.POS.test( selectors ) ? 3803 3803 jQuery( selectors, context || this.context ) : null; 3804 3804 … … 3813 3813 }); 3814 3814 }, 3815 3815 3816 3816 // Determine the position of an element within 3817 3817 // the matched set of elements … … 3894 3894 jQuery.fn[ name ] = function( until, selector ) { 3895 3895 var ret = jQuery.map( this, fn, until ); 3896 3896 3897 3897 if ( !runtil.test( name ) ) { 3898 3898 selector = until; … … 3921 3921 return jQuery.find.matches(expr, elems); 3922 3922 }, 3923 3923 3924 3924 dir: function( elem, dir, until ) { 3925 3925 var matched = [], cur = elem[dir]; … … 4109 4109 } 4110 4110 }, 4111 4111 4112 4112 // keepData is for internal use only--do not document 4113 4113 remove: function( selector, keepData ) { … … 4124 4124 } 4125 4125 } 4126 4126 4127 4127 return this; 4128 4128 }, … … 4140 4140 } 4141 4141 } 4142 4142 4143 4143 return this; 4144 4144 }, … … 4287 4287 results = buildFragment( args, this, scripts ); 4288 4288 } 4289 4289 4290 4290 fragment = results.fragment; 4291 4291 4292 4292 if ( fragment.childNodes.length === 1 ) { 4293 4293 first = fragment = fragment.firstChild; … … 4394 4394 var ret = [], insert = jQuery( selector ), 4395 4395 parent = this.length === 1 && this[0].parentNode; 4396 4396 4397 4397 if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) { 4398 4398 insert[ original ]( this[0] ); 4399 4399 return this; 4400 4400 4401 4401 } else { 4402 4402 for ( var i = 0, l = insert.length; i < l; i++ ) { … … 4405 4405 ret = ret.concat( elems ); 4406 4406 } 4407 4407 4408 4408 return this.pushStack( ret, name, insert.selector ); 4409 4409 } … … 4493 4493 if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) { 4494 4494 scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] ); 4495 4495 4496 4496 } else { 4497 4497 if ( ret[i].nodeType === 1 ) { … … 4505 4505 return ret; 4506 4506 }, 4507 4507 4508 4508 cleanData: function( elems ) { 4509 4509 var data, id, cache = jQuery.cache, 4510 4510 special = jQuery.event.special, 4511 4511 deleteExpando = jQuery.support.deleteExpando; 4512 4512 4513 4513 for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { 4514 4514 id = elem[ jQuery.expando ]; 4515 4515 4516 4516 if ( id ) { 4517 4517 data = cache[ id ]; 4518 4518 4519 4519 if ( data.events ) { 4520 4520 for ( var type in data.events ) { … … 4527 4527 } 4528 4528 } 4529 4529 4530 4530 if ( deleteExpando ) { 4531 4531 delete elem[ jQuery.expando ]; … … 4534 4534 elem.removeAttribute( jQuery.expando ); 4535 4535 } 4536 4536 4537 4537 delete cache[ id ]; 4538 4538 } … … 4567 4567 return jQuery.curCSS( elem, name ); 4568 4568 } 4569 4569 4570 4570 if ( typeof value === "number" && !rexclude.test(name) ) { 4571 4571 value += "px"; … … 4975 4975 ajax: function( origSettings ) { 4976 4976 var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings); 4977 4977 4978 4978 var jsonp, status, data, 4979 4979 callbackContext = origSettings && origSettings.context || s, … … 5290 5290 } 5291 5291 } 5292 5292 5293 5293 function trigger(type, args) { 5294 5294 (s.context ? jQuery(s.context) : jQuery.event).trigger(type, args); … … 5378 5378 param: function( a, traditional ) { 5379 5379 var s = []; 5380 5380 5381 5381 // Set traditional to true for jQuery <= 1.3.2 behavior. 5382 5382 if ( traditional === undefined ) { 5383 5383 traditional = jQuery.ajaxSettings.traditional; 5384 5384 } 5385 5385 5386 5386 // If an array was passed in, assume that it is an array of form elements. 5387 5387 if ( jQuery.isArray(a) || a.jquery ) { … … 5390 5390 add( this.name, this.value ); 5391 5391 }); 5392 5392 5393 5393 } else { 5394 5394 // If traditional, encode the "old" way (the way 1.3.2 or older … … 5420 5420 } 5421 5421 }); 5422 5422 5423 5423 } else if ( !traditional && obj != null && typeof obj === "object" ) { 5424 5424 // Serialize object item. … … 5426 5426 buildParams( prefix + "[" + k + "]", v ); 5427 5427 }); 5428 5428 5429 5429 } else { 5430 5430 // Serialize scalar item. … … 5877 5877 } 5878 5878 }, 5879 5879 5880 5880 stop: function() { 5881 5881 clearInterval( timerId ); 5882 5882 timerId = null; 5883 5883 }, 5884 5884 5885 5885 speeds: { 5886 5886 slow: 600, … … 5926 5926 var elem = this[0]; 5927 5927 5928 if ( options ) { 5928 if ( options ) { 5929 5929 return this.each(function( i ) { 5930 5930 jQuery.offset.setOffset( this, options, i ); … … 5952 5952 var elem = this[0]; 5953 5953 5954 if ( options ) { 5954 if ( options ) { 5955 5955 return this.each(function( i ) { 5956 5956 jQuery.offset.setOffset( this, options, i ); … … 6060 6060 return { top: top, left: left }; 6061 6061 }, 6062 6062 6063 6063 setOffset: function( elem, options, i ) { 6064 6064 // set position first, in-case top/left are set even on static elem … … 6079 6079 left: (options.left - curOffset.left) + curLeft 6080 6080 }; 6081 6081 6082 6082 if ( "using" in options ) { 6083 6083 options.using.call( elem, props ); … … 6139 6139 jQuery.fn[ method ] = function(val) { 6140 6140 var elem = this[0], win; 6141 6141 6142 6142 if ( !elem ) { 6143 6143 return null; … … 6203 6203 return size == null ? null : this; 6204 6204 } 6205 6205 6206 6206 if ( jQuery.isFunction( size ) ) { 6207 6207 return this.each(function( i ) { -
themes/default/js/post.js
r0 r2566 6 6 '</p>' 7 7 ); 8 8 9 9 var cookie = readCookie($.cookie('comment_info')); 10 11 10 11 12 12 if (cookie != false) { 13 13 $('#c_name').val(cookie[0]); … … 16 16 $('#c_remember').attr('checked','checked'); 17 17 } 18 18 19 19 $('#c_remember').click(function() { 20 20 if (this.checked) { … … 24 24 } 25 25 }); 26 26 27 27 $('#c_name').change(function() { 28 28 if ($('#c_remember').get(0).checked) { … … 30 30 } 31 31 }); 32 32 33 33 $('#c_mail').change(function() { 34 34 if ($('#c_remember').get(0).checked) { … … 36 36 } 37 37 }); 38 38 39 39 $('#c_site').change(function() { 40 40 if ($('#c_remember').get(0).checked) { … … 42 42 } 43 43 }); 44 44 45 45 function setCookie() { 46 46 var name = $('#c_name').val(); … … 53 53 cpath = cpath.replace(/.*:\/\/[^\/]*([^?]*).*/g,"$1"); 54 54 } 55 55 56 56 $.cookie('comment_info', name + '\n' + mail + '\n' + site, {expires: 60, path: cpath}); 57 57 } 58 58 59 59 function dropCookie() { 60 60 $.cookie('comment_info','',{expires: -30, path: '/'}); 61 61 } 62 62 63 63 function readCookie(c) { 64 64 if (!c) { 65 65 return false; 66 66 } 67 67 68 68 var s = c.split('\n'); 69 69 70 70 if (s.length != 3) { 71 71 dropCookie(); 72 72 return false; 73 73 } 74 74 75 75 return s; 76 76 } -
themes/default/style.css
r1179 r2566 533 533 color: #279ac4; 534 534 border: 1px solid #cdcdcd; 535 padding: 1px 2px; 535 padding: 1px 2px; 536 536 width: 68%; 537 537 } -
themes/ductile/_config.php
r2393 r2566 681 681 // Legacy mode 682 682 if (!$standalone_config) echo '<form style="display:none">'; 683 ?> -
themes/ductile/_define.php
r2257 r2566 21 21 ) 22 22 ); 23 ?> -
themes/ductile/_prepend.php
r1133 r2566 55 55 } 56 56 } 57 ?> -
themes/ductile/_public.php
r1096 r2566 31 31 return '<?php tplDuctileTheme::ductileNbEntryPerPageHelper(); ?>'; 32 32 } 33 33 34 34 public static function ductileNbEntryPerPageHelper() 35 35 { 36 36 global $_ctx; 37 37 38 38 $nb = 0; 39 39 $s = $GLOBALS['core']->blog->settings->themes->get($GLOBALS['core']->blog->settings->system->theme.'_entries_counts'); … … 63 63 $_ctx->nb_entry_per_page = $nb; 64 64 } 65 65 66 66 public static function EntryIfContentIsCut($attr,$content) 67 67 { 68 68 global $core; 69 69 70 70 if (empty($attr['cut_string']) || !empty($attr['full'])) { 71 71 return ''; 72 72 } 73 73 74 74 $urls = '0'; 75 75 if (!empty($attr['absolute_urls'])) { … … 87 87 $content. 88 88 '<?php endif; ?>'; 89 } 90 89 } 90 91 91 public static function ductileEntriesList($attr) 92 92 { 93 93 global $core; 94 94 95 95 $tpl_path = dirname(__FILE__).'/tpl/'; 96 96 $list_types = array('title','short','full'); … … 125 125 $ret .= '}'."\n". 126 126 '?>'; 127 127 128 128 return $ret; 129 129 } 130 130 131 131 public static function ductileEntriesListHelper($default) 132 132 { … … 159 159 return; 160 160 } 161 161 162 162 $img_url = $GLOBALS['core']->blog->settings->system->themes_url.'/'.$GLOBALS['core']->blog->settings->system->theme.'/img/logo.png'; 163 163 if (isset($s['logo_src'])) { … … 174 174 } 175 175 } 176 176 177 177 return $img_url; 178 178 } … … 232 232 } 233 233 } 234 234 235 235 protected static function cleanStickers($s) 236 236 { … … 244 244 return false; 245 245 } 246 246 247 247 protected static function setSticker($position,$last,$label,$url,$image) 248 248 { … … 257 257 public static function publicHeadContent($core) 258 258 { 259 echo 259 echo 260 260 '<style type="text/css">'."\n". 261 261 '/* '.__('Additionnal style directives').' */'."\n". 262 262 self::ductileStyleHelper(). 263 263 "</style>\n"; 264 264 265 265 echo 266 266 '<script type="text/javascript" src="'. … … 337 337 return $ret; 338 338 } 339 339 340 340 public static function ductileStyleHelper() 341 341 { … … 354 354 355 355 # Properties 356 356 357 357 # Blog description 358 358 $selectors = '#blogdesc'; … … 366 366 $selectors = '#blogdesc, .supranav, #content-info, #subcategories, #comments-feed, #sidebar h2, #sidebar h3, #footer'; 367 367 if (isset($s['alternate_font'])) self::prop($css,$selectors,'font-family',self::fontDef($s['alternate_font'])); 368 368 369 369 # Inside posts links font weight 370 370 $selectors = '.post-excerpt a, .post-content a'; … … 395 395 $selectors = 'h1, h1 a:link, h1 a:visited, h1 a:hover, h1 a:visited, h1 a:focus'; 396 396 if (isset($s['blog_title_w'])) self::prop($css_large,$selectors,'font-weight',($s['blog_title_w'] ? 'bold' : 'normal')); 397 397 398 398 # Blog title font size 399 399 $selectors = 'h1'; 400 400 if (isset($s['blog_title_s'])) self::prop($css_large,$selectors,'font-size',$s['blog_title_s']); 401 401 402 402 # Blog title color 403 403 $selectors = 'h1 a:link, h1 a:visited, h1 a:hover, h1 a:visited, h1 a:focus'; … … 407 407 $selectors = 'h2.post-title, h2.post-title a:link, h2.post-title a:visited, h2.post-title a:hover, h2.post-title a:visited, h2.post-title a:focus'; 408 408 if (isset($s['post_title_w'])) self::prop($css_large,$selectors,'font-weight',($s['post_title_w'] ? 'bold' : 'normal')); 409 409 410 410 # Post title font size 411 411 $selectors = 'h2.post-title'; 412 412 if (isset($s['post_title_s'])) self::prop($css_large,$selectors,'font-size',$s['post_title_s']); 413 413 414 414 # Post title color 415 415 $selectors = 'h2.post-title a:link, h2.post-title a:visited, h2.post-title a:hover, h2.post-title a:visited, h2.post-title a:focus'; … … 439 439 $selectors = 'h1, h1 a:link, h1 a:visited, h1 a:hover, h1 a:visited, h1 a:focus'; 440 440 if (isset($s['blog_title_w_m'])) self::prop($css_small,$selectors,'font-weight',($s['blog_title_w_m'] ? 'bold' : 'normal')); 441 441 442 442 # Blog title font size 443 443 $selectors = 'h1'; 444 444 if (isset($s['blog_title_s_m'])) self::prop($css_small,$selectors,'font-size',$s['blog_title_s_m']); 445 445 446 446 # Blog title color 447 447 $selectors = 'h1 a:link, h1 a:visited, h1 a:hover, h1 a:visited, h1 a:focus'; … … 451 451 $selectors = 'h2.post-title, h2.post-title a:link, h2.post-title a:visited, h2.post-title a:hover, h2.post-title a:visited, h2.post-title a:focus'; 452 452 if (isset($s['post_title_w_m'])) self::prop($css_small,$selectors,'font-weight',($s['post_title_w_m'] ? 'bold' : 'normal')); 453 453 454 454 # Post title font size 455 455 $selectors = 'h2.post-title'; 456 456 if (isset($s['post_title_s_m'])) self::prop($css_small,$selectors,'font-size',$s['post_title_s_m']); 457 457 458 458 # Post title color 459 459 $selectors = 'h2.post-title a:link, h2.post-title a:visited, h2.post-title a:hover, h2.post-title a:visited, h2.post-title a:focus'; … … 472 472 $res .= "}\n"; 473 473 } 474 474 475 475 return $res; 476 476 } … … 510 510 } 511 511 } 512 ?> -
themes/ductile/ductile.js
r592 r2566 60 60 // Set toggle class to each #sidebar h2 61 61 $("#sidebar div div h2").addClass('toggle'); 62 62 63 63 // Hide all h2.toggle siblings 64 64 $('#sidebar div div h2').nextAll().hide(); -
themes/ductile/ie.css
r633 r2566 25 25 #stickers { 26 26 padding-right: 13%; 27 } 27 } 28 28 #main { 29 29 width : 100%; … … 31 31 #blognav, #blogextra { 32 32 margin : 0; 33 width: 48%; 33 width: 48%; 34 34 float:left; 35 35 } … … 68 68 } 69 69 #logo { 70 float:left; 71 margin:0 1.5em 0 1em; 70 float:left; 71 margin:0 1.5em 0 1em; 72 72 } 73 73 #logo a { … … 143 143 margin-top: 4.66em; 144 144 } 145 #sidebar div#search:first-child { 145 #sidebar div#search:first-child { 146 146 background: none; 147 147 margin-top: 0; -
themes/ductile/mediaqueries.css
r1065 r2566 156 156 } 157 157 #logo { 158 float:left; 159 margin: 0 32px 0 24px; 158 float:left; 159 margin: 0 32px 0 24px; 160 160 } 161 161 #logo a { … … 189 189 border-right: 1px solid #ccc; 190 190 min-height: 2.5em; 191 border-radius: 0 0 0 4px; 191 border-radius: 0 0 0 4px; 192 192 } 193 193 .supranav li a span { … … 233 233 top: 0; 234 234 } 235 .comment-info { 235 .comment-info { 236 236 clear: left; 237 237 float: left; … … 244 244 245 245 /* ------------------------------------------------------ special redimensionnement paysage */ 246 @media screen and (max-width:640px) and (orientation: landscape) { 247 body { 248 -webkit-text-size-adjust: 70%; 249 } 246 @media screen and (max-width:640px) and (orientation: landscape) { 247 body { 248 -webkit-text-size-adjust: 70%; 249 } 250 250 } 251 251 … … 270 270 padding: 0 10%; 271 271 } 272 #blognav, #blogextra { 272 #blognav, #blogextra { 273 273 width: 48%; float:left; 274 274 } … … 288 288 #stickers { 289 289 padding-right: 13%; 290 } 291 } 292 293 /* ------------------------------------------------------ 290 } 291 } 292 293 /* ------------------------------------------------------ 294 294 au-delà de 1024px on passe à deux colonnes 295 295 ------------------------------------------------------ */ … … 321 321 margin-top: 4.66em; 322 322 } 323 #sidebar div#search:first-child { 323 #sidebar div#search:first-child { 324 324 background: none; 325 325 margin-top: 0; … … 345 345 } 346 346 347 /* ------------------------------------------------------ 347 /* ------------------------------------------------------ 348 348 au-delà de 1280px on décale le post-info à gauche 349 349 ------------------------------------------------------- */ … … 355 355 .simple .post-attr { 356 356 margin-left: -220px; 357 margin-top: 0; 358 float: left; 359 width: 180px; 357 margin-top: 0; 358 float: left; 359 width: 180px; 360 360 text-align: right; 361 361 } … … 369 369 margin-left: 0 !important; 370 370 } 371 #content-info a.feed { 371 #content-info a.feed { 372 372 white-space: nowrap; 373 } 373 } 374 374 } 375 375 -
themes/ductile/rebase.css
r683 r2566 9 9 # -- END LICENSE BLOCK ----------------------------------------- */ 10 10 11 html, 11 html, 12 12 body { 13 13 margin: 0; -
themes/ductile/style.css
r1098 r2566 101 101 } 102 102 tbody tr:hover, tbody th:hover { 103 background: #eee; 103 background: #eee; 104 104 } 105 105 table caption { … … 162 162 background: transparent url(img/menu.png) no-repeat right top; 163 163 } 164 .supranav li a:hover, 165 .supranav li a:active, 164 .supranav li a:hover, 165 .supranav li a:active, 166 166 .supranav li a:focus { 167 167 background-color: #ebebee; … … 214 214 font-variant: small-caps; 215 215 } 216 #content-info p, 217 #content-info ul, 216 #content-info p, 217 #content-info ul, 218 218 #subcategories ul { 219 219 margin: .5em 0; … … 235 235 } 236 236 /* ------------------------------------------------------- pagination, navlinks */ 237 .navlinks, 237 .navlinks, 238 238 .pagination { 239 239 margin: 2em 0 1em 0; … … 254 254 border-bottom: 1px solid #ccc; 255 255 } 256 .navlinks a, 256 .navlinks a, 257 257 .pagination a { 258 258 color: #333; … … 297 297 } 298 298 .post h3, 299 .post h4, 299 .post h4, 300 300 .post h5, 301 301 .post h6 { … … 315 315 padding: 0; 316 316 } 317 .post-info, 318 .post-tags, 319 .post-info-co, 317 .post-info, 318 .post-tags, 319 .post-info-co, 320 320 .read-it { 321 line-height: 1.2; 321 line-height: 1.2; 322 322 margin: .33em 0; 323 323 } … … 325 325 margin-bottom: 1em; 326 326 } 327 .post-info, 327 .post-info, 328 328 .post-tags { 329 329 font-size: .875em; … … 431 431 432 432 /* ------------------------------------------------------- commentaires et rétroliens */ 433 #comments, 434 #ping-url, 433 #comments, 434 #ping-url, 435 435 #comment-form, 436 #comments-feed { 436 #comments-feed { 437 437 color: #333; 438 438 font-family: "Franklin gothic medium","arial narrow","DejaVu Sans Condensed","helvetica neue",helvetica,sans-serif; … … 452 452 margin-bottom: 1em; 453 453 } 454 #comments h3, 455 #ping-url h3, 456 #pr h3, 457 #comment-form h3 { 454 #comments h3, 455 #ping-url h3, 456 #pr h3, 457 #comment-form h3 { 458 458 margin-top: 2em; 459 459 color: #666; … … 462 462 margin-top: 0; 463 463 } 464 #comments > ul { 464 #comments > ul { 465 465 margin-left: 0; 466 466 padding-left: 0; … … 472 472 border-top: 1px solid #bbb; 473 473 } 474 .comment-info { 474 .comment-info { 475 475 padding-bottom: .2em; 476 476 line-height: 1.25; 477 477 color: #686867; 478 font-family: "New Century Schoolbook","Century Schoolbook", "Century Schoolbook L", Georgia, serif; 479 } 480 #comments .me { 478 font-family: "New Century Schoolbook","Century Schoolbook", "Century Schoolbook L", Georgia, serif; 479 } 480 #comments .me { 481 481 font-family: "New Century Schoolbook","Century Schoolbook", "Century Schoolbook L", Georgia, serif; 482 482 color: #14709e; … … 506 506 /* ------------------------------------------------------- formulaire des commentaires */ 507 507 #comment-form fieldset { } 508 .field { 508 .field { 509 509 margin-bottom: 1em; 510 510 } 511 .field label { 511 .field label { 512 512 display: block; 513 513 font-size: .875em; … … 515 515 text-indent: 6px; 516 516 } 517 .field input, 517 .field input, 518 518 .field textarea { 519 519 display: block; … … 528 528 padding: .5em 1em; 529 529 } 530 .field input:focus, 530 .field input:focus, 531 531 .field textarea:focus { 532 532 background: #fff; 533 533 } 534 #comment-form input[type=submit], 534 #comment-form input[type=submit], 535 535 #comment-form input[type=reset] { 536 536 color: #eee; … … 573 573 font-style: italic; 574 574 } 575 #comments-feed { 576 margin-top: 2em; 575 #comments-feed { 576 margin-top: 2em; 577 577 } 578 578 … … 633 633 padding-left: 0; 634 634 } 635 #blognav > div, 635 #blognav > div, 636 636 #blogextra > div { 637 637 background: #ededed; … … 643 643 font-weight: bold; 644 644 } 645 645 646 646 /* ------------------------------------------------------- recherche */ 647 647 #search p { 648 background: #fff; 648 background: #fff; 649 649 text-align: right; 650 650 border: 1px solid #ddd; … … 652 652 padding: 0; 653 653 } 654 #search input { 654 #search input { 655 655 margin: 0; 656 656 border: none; … … 676 676 height: 2em; 677 677 } 678 #search .submit:hover, 678 #search .submit:hover, 679 679 #search .submit:focus { 680 680 background: #333; 681 681 } 682 682 683 683 /* ------------------------------------------------------------ 684 684 9. FOOTER … … 700 700 color: #fff; 701 701 } 702 #footer a:hover, 702 #footer a:hover, 703 703 #footer a:focus { 704 704 background-color: #333; … … 756 756 } 757 757 /* ------------------------------------------------------- tags */ 758 .dc-tags .content-inner, 758 .dc-tags .content-inner, 759 759 .dc-tags .content-inner ul { 760 760 font-size: 1.25em; … … 762 762 padding: 0; 763 763 } 764 .dc-tags #content ul li, 764 .dc-tags #content ul li, 765 765 .dc-tags #content ul li a, 766 #blogcustom .tags ul li, 767 #blogcustom .tags ul li a, 768 #sidebar .tags ul li, 766 #blogcustom .tags ul li, 767 #blogcustom .tags ul li a, 768 #sidebar .tags ul li, 769 769 #sidebar .tags ul li a { 770 770 display: inline; … … 1005 1005 .dc-archive #blogextra h2 { 1006 1006 margin-bottom: .33em; 1007 } 1007 } 1008 1008 .dc-archive-month .title h2.post-title { 1009 1009 font-size: 1.3em; … … 1030 1030 12. ET POUR FINIR NE PAS OUBLIER LES CLEARERS 1031 1031 --------------------------------------------------- */ 1032 .post, 1032 .post, 1033 1033 .pagination, 1034 1034 .navlinks, 1035 .footnotes, 1035 .footnotes, 1036 1036 #attachments, 1037 .read-it, 1038 .post-info-co, 1037 .read-it, 1038 .post-info-co, 1039 1039 #comments, #footer, 1040 1040 .clearer { -
themes/ductile/tpl/404.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 7 7 8 8 <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 12 12 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 13 13 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> … … 17 17 <meta name="dc.type" content="text" /> 18 18 <meta name="dc.format" content="text/html" /> 19 19 20 20 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 21 21 <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 22 22 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 23 23 24 24 {{tpl:include src="_head.html"}} 25 25 </head> … … 27 27 <div id="page"> 28 28 {{tpl:include src="_top.html"}} 29 29 30 30 <div id="wrapper"> 31 31 32 32 <div id="main"> 33 33 <div id="content"> 34 34 35 35 <div id="content-info"> 36 36 <h2>{{tpl:lang Document not found}}</h2> 37 37 <p>{{tpl:lang URL you've tried has typos, or the page has been deleted or moved.}}</p> 38 38 </div> 39 39 40 40 <div class="content-inner"> 41 41 <h3>{{tpl:lang Suggestions:}}</h3> … … 46 46 </ul> 47 47 </div> <!-- End #content-inner --> 48 48 49 49 </div> <!-- End #content --> 50 50 </div> <!-- End #main --> 51 51 52 52 {{tpl:include src="_sidebar.html"}} 53 53 54 54 </div> <!-- End #wrapper --> 55 55 56 56 {{tpl:include src="_footer.html"}} 57 57 </div> <!-- End #page --> -
themes/ductile/tpl/_entry-full.html
r803 r2566 3 3 <!-- # New day date --> 4 4 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 5 5 6 6 <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 7 7 8 8 <div class="post-attr"> 9 9 <p class="post-info"> … … 11 11 <span class="post-date">{{tpl:EntryDate}}. </span> 12 12 <tpl:EntryIf has_category="1"> 13 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 14 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 13 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 14 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 15 15 href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 16 16 </tpl:EntryIf> 17 17 </p> 18 18 19 19 <tpl:EntryTags> 20 20 <tpl:TagsHeader> 21 21 <ul class="post-tags"> 22 22 </tpl:TagsHeader> 23 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 23 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 24 24 <tpl:TagsFooter> 25 25 </ul> 26 26 </tpl:TagsFooter> 27 27 </tpl:EntryTags> 28 </div> 29 28 </div> 29 30 30 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 31 31 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 32 32 33 33 <tpl:EntryIf extended="1"> 34 34 <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 35 35 </tpl:EntryIf> 36 36 <div class="post-content">{{tpl:EntryContent}}</div> 37 37 38 38 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 39 39 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 40 40 41 41 <!-- # Number of comments, trackbacks and attachments --> 42 42 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> -
themes/ductile/tpl/_entry-short.html
r803 r2566 3 3 <!-- # New day date --> 4 4 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 5 5 6 6 <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 7 7 8 8 <div class="post-attr"> 9 9 <p class="post-info"> … … 11 11 <span class="post-date">{{tpl:EntryDate}}. </span> 12 12 <tpl:EntryIf has_category="1"> 13 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 14 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 13 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 14 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 15 15 href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 16 16 </tpl:EntryIf> 17 17 </p> 18 18 19 19 <tpl:EntryTags> 20 20 <tpl:TagsHeader> 21 21 <ul class="post-tags"> 22 22 </tpl:TagsHeader> 23 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 23 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 24 24 <tpl:TagsFooter> 25 25 </ul> 26 26 </tpl:TagsFooter> 27 27 </tpl:EntryTags> 28 </div> 29 28 </div> 29 30 30 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 31 31 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 32 32 33 33 <!-- # Entry with an excerpt --> 34 34 <tpl:EntryIf extended="1"> … … 41 41 </p> 42 42 </tpl:EntryIf> 43 43 44 44 <!-- # Entry without excerpt --> 45 45 <tpl:EntryIf extended="0"> … … 58 58 </tpl:EntryIfContentIsCut> 59 59 </tpl:EntryIf> 60 60 61 61 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 62 62 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 63 63 64 64 <!-- # Number of comments, trackbacks and attachments --> 65 65 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> -
themes/ductile/tpl/_entry-title.html
r803 r2566 5 5 6 6 <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 7 7 8 8 <div class="post-attr"> 9 9 <p class="post-info"> … … 17 17 </tpl:EntryIf> 18 18 </p> 19 </div> 20 19 </div> 20 21 21 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 22 22 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 23 23 24 24 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 25 25 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 26 26 27 27 <!-- # Number of comments, trackbacks and attachments --> 28 28 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> -
themes/ductile/tpl/_pagination.html
r803 r2566 2 2 <p class="pagination"> 3 3 <tpl:PaginationIf end="0"> 4 <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> - 4 <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> - 5 5 </tpl:PaginationIf> 6 6 7 7 {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}} 8 8 9 9 <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next"> 10 10 {{tpl:lang next entries}} »</a> -
themes/ductile/tpl/_simple-entry.html
r1096 r2566 1 1 <div id="p{{tpl:EntryID}}" class="post simple"> 2 2 <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 3 3 4 4 <div class="post-attr"> 5 5 <p class="post-info"> … … 8 8 <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 9 9 <tpl:EntryIf has_category="1"> 10 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 11 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 10 <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 11 href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 12 12 href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 13 13 </tpl:EntryIf> 14 14 </p> 15 15 16 16 <tpl:EntryTags> 17 17 <tpl:TagsHeader> 18 18 <ul class="post-tags"> 19 19 </tpl:TagsHeader> 20 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 20 <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 21 21 <tpl:TagsFooter> 22 22 </ul> 23 23 </tpl:TagsFooter> 24 24 </tpl:EntryTags> 25 </div> 26 25 </div> 26 27 27 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 28 28 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 29 29 30 30 <!-- # Entry with an excerpt --> 31 31 <tpl:EntryIf extended="1"> 32 32 <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 33 33 </tpl:EntryIf> 34 34 35 35 <div class="post-content">{{tpl:EntryContent}}</div> 36 36 37 37 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 38 38 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} … … 48 48 <li class="{{tpl:AttachmentType}}"> 49 49 <tpl:AttachmentIf is_mp3="1"> 50 {{tpl:include src="_mp3_player.html"/}} - 50 {{tpl:include src="_mp3_player.html"/}} - 51 51 </tpl:AttachmentIf> 52 52 <tpl:AttachmentIf is_flv="1"> … … 84 84 <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 85 85 {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 86 86 87 87 {{tpl:CommentContent}} 88 88 89 89 <!-- # --BEHAVIOR-- publicCommentAfterContent --> 90 90 {{tpl:SysBehavior behavior="publicCommentAfterContent"}} … … 103 103 </tpl:EntryIf> 104 104 105 <tpl:EntryIf comments_active="1"> 105 <tpl:EntryIf comments_active="1"> 106 106 <tpl:SysIfFormError> 107 107 <p class="error" id="pr">{{tpl:SysFormError}}</p> 108 108 </tpl:SysIfFormError> 109 109 110 110 <tpl:SysIfCommentPublished> 111 111 <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 112 112 </tpl:SysIfCommentPublished> 113 113 114 114 <tpl:SysIfCommentPending> 115 115 <p class="message" id="pr">{{tpl:lang Your comment has been submitted and will be reviewed for publication.}}</p> 116 116 </tpl:SysIfCommentPending> 117 117 118 118 <!-- # Comment form --> 119 119 <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> … … 125 125 </div> 126 126 </tpl:IfCommentPreview> 127 127 128 128 <h3>{{tpl:lang Add a comment}}</h3> 129 129 <fieldset> 130 130 <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 131 131 {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 132 132 133 133 <p class="field"><label for="c_name">{{tpl:lang Name or nickname}} :</label> 134 134 <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 135 135 value="{{tpl:CommentPreviewName encode_html="1"}}" /> 136 136 </p> 137 137 138 138 <p class="field"><label for="c_mail">{{tpl:lang Email address}} :</label> 139 139 <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 140 140 value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 141 141 </p> 142 142 143 143 <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}}) :</label> 144 144 <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 145 145 value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 146 146 </p> 147 147 148 148 <p style="display:none"> 149 149 <input name="f_mail" type="text" size="30" maxlength="255" value="" /> 150 150 </p> 151 151 152 152 <p class="field"><label for="c_content">{{tpl:lang Comment}} :</label> 153 153 <textarea name="c_content" id="c_content" cols="35" 154 154 rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 155 155 </p> 156 156 157 157 <p class="form-help">{{tpl:CommentHelp}}</p> 158 158 159 159 <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 160 160 {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 161 161 </fieldset> 162 162 163 163 <fieldset> 164 164 <p class="buttons"> … … 171 171 </form> 172 172 </tpl:EntryIf> 173 173 174 174 <tpl:EntryIf pings_active="1"> 175 175 <div id="ping-url"> -
themes/ductile/tpl/_top.html
r810 r2566 1 1 <div id="header"> 2 2 3 3 <div id="top"> 4 4 <p id="logo" class="nosmall"><a href="{{tpl:BlogURL}}"><img src="{{tpl:ductileLogoSrc}}" alt="{{tpl:lang Home}}" /></a></p> … … 6 6 <p id="blogdesc" class="nosmall">{{tpl:BlogDescription}}</p> 7 7 </div> 8 8 9 9 <ul id="prelude"> 10 10 <li class="nosmall"><a href="#main">{{tpl:lang To content}}</a></li> … … 12 12 <li><a href="#search">{{tpl:lang To search}}</a></li> 13 13 </ul> 14 14 15 15 <!-- # --BEHAVIOR-- publicTopAfterContent --> 16 16 {{tpl:SysBehavior behavior="publicTopAfterContent"}} 17 17 18 18 {{tpl:SimpleMenu id="sn-top" class="supranav nosmall"}} 19 19 -
themes/ductile/tpl/archive.html
r1067 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 24 24 <tpl:Archives> 25 25 <link rel="chapter" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /> 26 26 </tpl:Archives> 27 27 28 28 <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 29 29 <tpl:Categories> … … 31 31 </tpl:Categories> 32 32 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 33 33 34 34 {{tpl:include src="_head.html"}} 35 35 </head> … … 37 37 <div id="page"> 38 38 {{tpl:include src="_top.html"}} 39 39 40 40 <div id="wrapper"> 41 41 42 42 <div id="main"> 43 43 <div id="content"> 44 44 45 45 <div id="content-info"> 46 46 <h2>{{tpl:lang Archives}}</h2> 47 47 </div> 48 48 49 49 <div class="content-inner"> 50 50 51 51 <div id="time-criteria"><!-- entries sorted by date --> 52 52 <div id="by-date" class="arch-block"> … … 68 68 </div> 69 69 </div> 70 71 <div id="other-criteria"><!-- entries sorted by others criterias --> 70 71 <div id="other-criteria"><!-- entries sorted by others criterias --> 72 72 <tpl:Categories level="1"> 73 73 <tpl:CategoriesHeader> … … 81 81 <ul> 82 82 </tpl:CategoriesHeader> 83 <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li> 83 <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li> 84 84 <tpl:CategoriesFooter> 85 85 </ul> 86 86 </tpl:CategoriesFooter> 87 </tpl:CategoryFirstChildren> 87 </tpl:CategoryFirstChildren> 88 88 </li> 89 89 <tpl:CategoriesFooter> … … 92 92 </tpl:CategoriesFooter> 93 93 </tpl:Categories> 94 94 95 95 <tpl:Tags sortby="count" order="desc"> 96 96 <tpl:TagsHeader> … … 101 101 <li><a href="{{tpl:TagURL}}" class="tag{{tpl:TagRoundPercent}}">{{tpl:TagID}}</a></li> 102 102 <tpl:TagsFooter> 103 </ul> 103 </ul> 104 104 </div> 105 105 </tpl:TagsFooter> 106 106 </tpl:Tags> 107 107 </div> 108 109 <div id="more-arch"><!-- others things --> 108 109 <div id="more-arch"><!-- others things --> 110 110 <div class="arch-block"> 111 111 <tpl:Entries type="page" no_content="1" lastn="0" selected="0"> … … 122 122 </div> 123 123 </div> <!-- End .content-inner --> 124 124 125 125 </div> <!-- End #content --> 126 126 </div> <!-- End #main --> 127 127 128 128 <div id="sidebar"> 129 129 <div id="blognav"> … … 131 131 </tpl:Widget> 132 132 </div> <!-- End #blognav --> 133 133 134 134 <div id="blogextra"> 135 135 {{tpl:Widgets type="extra"}} 136 136 </div> <!-- End #blogextra --> 137 137 138 138 </div> <!-- End #sidebar --> 139 139 </div> <!-- End #wrapper --> 140 140 141 141 {{tpl:include src="_footer.html"}} 142 142 </div> <!-- End #page --> -
themes/ductile/tpl/archive_month.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 7 7 8 8 <title>{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="up" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 25 25 26 26 <tpl:ArchiveNext><link rel="next" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchiveNext> 27 27 <tpl:ArchivePrevious><link rel="prev" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchivePrevious> 28 28 29 29 <tpl:Entries no_content="1"> 30 30 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 31 31 </tpl:Entries> 32 32 33 33 {{tpl:include src="_head.html"}} 34 34 </head> … … 36 36 <div id="page"> 37 37 {{tpl:include src="_top.html"}} 38 38 39 39 <div id="wrapper"> 40 40 41 41 <div id="main"> 42 42 <div id="content"> 43 43 44 44 <p class="navlinks topnl"> 45 45 <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious> … … 47 47 <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext> 48 48 </p> 49 49 50 50 <div id="content-info"> 51 51 <h2>{{tpl:ArchiveDate}} <span>({{tpl:ArchiveEntriesCount}})</span></h2> 52 52 </div> 53 53 54 54 <div class="content-inner"> 55 55 <tpl:Entries> … … 57 57 </tpl:Entries> 58 58 </div> 59 59 60 60 <p class="navlinks"> 61 61 <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious> … … 63 63 <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext> 64 64 </p> 65 65 66 66 </div> 67 67 </div> <!-- End #main --> 68 68 69 69 {{tpl:include src="_sidebar.html"}} 70 70 71 71 </div> <!-- End #wrapper --> 72 72 73 73 {{tpl:include src="_footer.html"}} 74 74 </div> <!-- End #page --> -
themes/ductile/tpl/category.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 7 7 8 8 <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" /> … … 11 11 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 21 21 <meta name="dc.type" content="text" /> 22 22 <meta name="dc.format" content="text/html" /> 23 23 24 24 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 25 25 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 26 26 27 27 {{tpl:ductileNbEntryPerPage}} 28 28 <tpl:Entries no_content="1"> … … 32 32 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 33 33 </tpl:PaginationIf> 34 34 35 35 <tpl:PaginationIf start="0"> 36 36 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 38 38 </tpl:Pagination> 39 39 </tpl:EntriesHeader> 40 40 41 41 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 42 42 </tpl:Entries> 43 43 44 44 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" /> 45 45 46 46 {{tpl:include src="_head.html"}} 47 47 </head> … … 49 49 <div id="page"> 50 50 {{tpl:include src="_top.html"}} 51 51 52 52 <div id="wrapper"> 53 53 54 54 <div id="main"> 55 55 <div id="content"> 56 56 57 57 <div id="content-info"> 58 58 <h2> 59 59 <tpl:CategoryParents> 60 <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › 60 <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › 61 61 </tpl:CategoryParents> 62 62 {{tpl:CategoryTitle encode_html="1"}} 63 63 </h2> 64 64 {{tpl:CategoryDescription}} 65 65 66 66 <tpl:CategoryIf has_entries="1"> 67 67 <p class="feed-info"> 68 68 <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}" 69 69 title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> 70 70 71 71 <tpl:SysIf operator="or" comments_active="1" pings_active="1"> 72 72 - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments" … … 75 75 </p> 76 76 </tpl:CategoryIf> 77 77 78 78 <tpl:CategoryFirstChildren> 79 79 <tpl:CategoriesHeader> … … 90 90 </div> 91 91 92 <div class="content-inner"> 92 <div class="content-inner"> 93 93 {{tpl:ductileNbEntryPerPage}} 94 94 <tpl:Entries> 95 95 {{tpl:ductileEntriesList default="short"}} 96 96 97 97 <tpl:EntriesFooter> 98 98 {{tpl:include src="_pagination.html"}} … … 102 102 </div> <!-- End #content --> 103 103 </div> <!-- End #main --> 104 104 105 105 {{tpl:include src="_sidebar.html"}} 106 106 107 107 </div> <!-- End #wrapper --> 108 108 109 109 {{tpl:include src="_footer.html"}} 110 110 </div> <!-- End #page --> -
themes/ductile/tpl/home.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 11 11 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 21 21 <meta name="dc.type" content="text" /> 22 22 <meta name="dc.format" content="text/html" /> 23 23 24 24 <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 25 25 <tpl:Categories> 26 26 <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" /> 27 27 </tpl:Categories> 28 28 29 29 {{tpl:ductileNbEntryPerPage nb="8"}} 30 30 <tpl:Entries no_content="1"> … … 34 34 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 35 35 </tpl:PaginationIf> 36 36 37 37 <tpl:PaginationIf start="0"> 38 38 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 40 40 </tpl:Pagination> 41 41 </tpl:EntriesHeader> 42 42 43 43 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 44 44 </tpl:Entries> 45 45 46 46 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 47 47 <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 48 48 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 49 49 50 50 {{tpl:include src="_head.html"}} 51 51 </head> … … 53 53 <div id="page"> 54 54 {{tpl:include src="_top.html"}} 55 55 56 56 <div id="wrapper"> 57 57 58 58 <div id="main"> 59 59 <div id="content"> 60 60 61 61 {{tpl:ductileNbEntryPerPage nb="8"}} 62 62 <tpl:Entries> 63 63 64 64 <!-- First page --> 65 65 <tpl:SysIf current_mode="default"> … … 67 67 {{tpl:include src="_entry-full.html"}} 68 68 </tpl:LoopPosition> 69 69 70 70 <tpl:LoopPosition start="2"> 71 71 {{tpl:ductileEntriesList default="short"}} 72 72 </tpl:LoopPosition> 73 73 </tpl:SysIf> 74 74 75 75 <!-- Next pages --> 76 76 <tpl:SysIf current_mode="!default"> 77 77 {{tpl:ductileEntriesList default="short"}} 78 </tpl:SysIf> 79 78 </tpl:SysIf> 79 80 80 <!-- Pagination --> 81 81 <tpl:EntriesFooter> 82 82 {{tpl:include src="_pagination.html"}} 83 83 </tpl:EntriesFooter> 84 84 85 85 </tpl:Entries> 86 86 87 87 </div> <!-- End #content --> 88 88 </div> <!-- End #main --> 89 89 90 90 {{tpl:include src="_sidebar.html"}} 91 91 92 92 </div> <!-- End #wrapper --> 93 93 94 94 {{tpl:include src="_footer.html"}} 95 95 </div> <!-- End #page --> -
themes/ductile/tpl/page.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> … … 11 11 <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> … … 22 22 <meta name="dc.type" content="text" /> 23 23 <meta name="dc.format" content="text/html" /> 24 24 25 25 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 26 26 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 27 27 28 28 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 29 29 30 30 {{tpl:include src="_head.html"}} 31 31 32 32 <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 33 33 <script type="text/javascript"> … … 40 40 <div id="page"> 41 41 {{tpl:EntryPingData}} 42 42 43 43 {{tpl:include src="_top.html"}} 44 44 45 45 <div id="wrapper"> 46 46 47 47 <div id="main"> 48 48 <div id="content"> 49 49 50 50 {{tpl:include src="_simple-entry.html"}} 51 51 52 52 </div> 53 53 </div> <!-- End #main --> 54 54 55 55 {{tpl:include src="_sidebar.html"}} 56 56 57 57 </div> <!-- End #wrapper --> 58 58 59 59 {{tpl:include src="_footer.html"}} 60 60 </div> <!-- End #page --> -
themes/ductile/tpl/post.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> … … 11 11 <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> … … 22 22 <meta name="dc.type" content="text" /> 23 23 <meta name="dc.format" content="text/html" /> 24 24 25 25 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 26 26 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 27 27 28 28 <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 29 29 <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 30 30 31 31 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 32 32 33 33 {{tpl:include src="_head.html"}} 34 34 35 35 <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 36 36 <script type="text/javascript"> … … 43 43 <div id="page"> 44 44 {{tpl:EntryPingData}} 45 45 46 46 {{tpl:include src="_top.html"}} 47 47 48 48 <div id="wrapper"> 49 49 50 50 <div id="main"> 51 51 <div id="content"> 52 52 53 53 <p class="navlinks topnl"> 54 54 <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" … … 59 59 cut_string="50"}} »</a></tpl:EntryNext> 60 60 </p> 61 61 62 62 {{tpl:include src="_simple-entry.html"}} 63 63 64 64 <p class="navlinks"> 65 65 <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" … … 70 70 cut_string="50"}} »</a></tpl:EntryNext> 71 71 </p> 72 72 73 73 </div> 74 74 </div> <!-- End #main --> 75 75 76 76 {{tpl:include src="_sidebar.html"}} 77 77 78 78 </div> <!-- End #wrapper --> 79 79 80 80 {{tpl:include src="_footer.html"}} 81 81 </div> <!-- End #page --> -
themes/ductile/tpl/search.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 7 7 8 8 <title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 25 25 {{tpl:ductileNbEntryPerPage}} 26 26 <tpl:Entries no_content="1"> … … 30 30 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 31 31 </tpl:PaginationIf> 32 32 33 33 <tpl:PaginationIf start="0"> 34 34 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 36 36 </tpl:Pagination> 37 37 </tpl:EntriesHeader> 38 38 39 39 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 40 40 </tpl:Entries> 41 41 42 42 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 43 43 44 44 {{tpl:include src="_head.html"}} 45 45 </head> … … 47 47 <div id="page"> 48 48 {{tpl:include src="_top.html"}} 49 49 50 50 <div id="wrapper"> 51 51 52 52 <div id="main"> 53 53 <div id="content"> 54 54 55 55 <div id="content-info"> 56 56 <h2>{{tpl:lang Search}}</h2> … … 65 65 </tpl:SysIf> 66 66 </div> 67 67 68 68 <div class="content-inner"> 69 69 {{tpl:ductileNbEntryPerPage}} 70 70 <tpl:Entries type="post,page"> 71 71 72 72 {{tpl:ductileEntriesList default="short"}} 73 73 74 74 <tpl:EntriesFooter> 75 75 <tpl:Pagination> 76 76 <p class="pagination"> 77 77 <tpl:PaginationIf end="0"> 78 <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> - 78 <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> - 79 79 </tpl:PaginationIf> 80 80 {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}} … … 89 89 </div> <!-- End #content --> 90 90 </div> <!-- End #main --> 91 91 92 92 {{tpl:include src="_sidebar.html"}} 93 93 94 94 </div> <!-- End #wrapper --> 95 95 96 96 {{tpl:include src="_footer.html"}} 97 97 </div> <!-- End #page --> -
themes/ductile/tpl/tag.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 25 25 {{tpl:ductileNbEntryPerPage}} 26 26 <tpl:Entries no_content="1"> … … 30 30 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 31 31 </tpl:PaginationIf> 32 32 33 33 <tpl:PaginationIf start="0"> 34 34 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 36 36 </tpl:Pagination> 37 37 </tpl:EntriesHeader> 38 38 39 39 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 40 40 </tpl:Entries> 41 41 42 42 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:TagFeedURL type="atom"}}" /> 43 43 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 44 44 45 45 {{tpl:include src="_head.html"}} 46 46 </head> … … 48 48 <div id="page"> 49 49 {{tpl:include src="_top.html"}} 50 50 51 51 <div id="wrapper"> 52 52 53 53 <div id="main"> 54 54 <div id="content"> 55 55 56 56 <div id="content-info"> 57 57 <h2>{{tpl:lang Tag}} - {{tpl:TagID}}</h2> … … 69 69 <tpl:Entries> 70 70 {{tpl:ductileEntriesList default="short"}} 71 71 72 72 <tpl:EntriesFooter> 73 73 {{tpl:include src="_pagination.html"}} 74 74 </tpl:EntriesFooter> 75 75 76 76 </tpl:Entries> 77 77 </div> <!-- End #content-inner --> 78 78 </div> <!-- End #content --> 79 79 </div> <!-- End #main --> 80 80 81 81 {{tpl:include src="_sidebar.html"}} 82 82 83 83 </div> <!-- End #wrapper --> 84 84 85 85 {{tpl:include src="_footer.html"}} 86 86 </div> <!-- End #page --> -
themes/ductile/tpl/tags.html
r803 r2566 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 7 7 8 8 <title>{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 25 25 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 26 26 27 27 {{tpl:include src="_head.html"}} 28 28 </head> … … 30 30 <div id="page"> 31 31 {{tpl:include src="_top.html"}} 32 32 33 33 <div id="wrapper"> 34 34 35 35 <div id="main"> 36 36 <div id="content"> 37 37 38 38 <div id="content-info"> 39 39 <h2>{{tpl:lang Tags}}</h2> 40 40 </div> 41 42 <div class="content-inner"> 41 42 <div class="content-inner"> 43 43 <ul class="tags"> 44 44 <tpl:Tags> … … 47 47 </ul> 48 48 </div> 49 49 50 50 </div> 51 51 </div> <!-- End #main --> 52 52 53 53 {{tpl:include src="_sidebar.html"}} 54 54 55 55 </div> <!-- End #wrapper --> 56 56 57 57 {{tpl:include src="_footer.html"}} 58 58 </div> <!-- End #page -->
Note: See TracChangeset
for help on using the changeset viewer.