1er commit
WP theme
This commit is contained in:
1251
-timthumb.php
Normal file
1251
-timthumb.php
Normal file
File diff suppressed because it is too large
Load Diff
216
_/SlideshowJmpress/css/_style.css
Executable file
216
_/SlideshowJmpress/css/_style.css
Executable file
@@ -0,0 +1,216 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 260px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 240px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 1200px;
|
||||
/*width: 900px;*/
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 300px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
216
_/SlideshowJmpress/css/_style.css-ok.css
Executable file
216
_/SlideshowJmpress/css/_style.css-ok.css
Executable file
@@ -0,0 +1,216 @@
|
||||
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 260px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 240px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 220px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
122
_/SlideshowJmpress/css/demo.css
Executable file
122
_/SlideshowJmpress/css/demo.css
Executable file
@@ -0,0 +1,122 @@
|
||||
@import url('normalize.css');
|
||||
/* General Demo Style */
|
||||
body{
|
||||
font-family: 'Open Sans Condensed','Arial Narrow', serif;
|
||||
background: #ddd url(../images/fabric_plaid.png) repeat top left;
|
||||
font-weight: 400;
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
}
|
||||
a{
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
}
|
||||
.container{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
min-height: 750px;
|
||||
}
|
||||
.clr{
|
||||
clear: both;
|
||||
padding: 0;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.container > header{
|
||||
margin: 10px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
position: relative;
|
||||
display: block;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
||||
text-align: center;
|
||||
}
|
||||
.container > header h1{
|
||||
font-size: 40px;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
font-weight: 300;
|
||||
color: #777;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
|
||||
}
|
||||
.container > header h1 span{
|
||||
font-weight: 700;
|
||||
}
|
||||
.container > header h2{
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
padding: 15px 0 5px 0;
|
||||
color: #6190ca;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
|
||||
}
|
||||
/* Header Style */
|
||||
.codrops-top{
|
||||
line-height: 24px;
|
||||
font-size: 11px;
|
||||
background: #fff;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
text-transform: uppercase;
|
||||
z-index: 9999;
|
||||
position: relative;
|
||||
font-family: Cambria, Georgia, serif;
|
||||
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
|
||||
}
|
||||
.codrops-top a{
|
||||
padding: 0px 10px;
|
||||
letter-spacing: 1px;
|
||||
color: #333;
|
||||
display: inline-block;
|
||||
}
|
||||
.codrops-top a:hover{
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
.codrops-top span.right{
|
||||
float: right;
|
||||
}
|
||||
.codrops-top span.right a{
|
||||
float: left;
|
||||
display: block;
|
||||
}
|
||||
/* Demo Buttons Style */
|
||||
.codrops-demos{
|
||||
text-align:center;
|
||||
display: block;
|
||||
line-height: 30px;
|
||||
padding: 5px 0px;
|
||||
}
|
||||
.codrops-demos a{
|
||||
display: inline-block;
|
||||
margin: 0px 4px;
|
||||
padding: 0px 6px;
|
||||
color: #aaa;
|
||||
line-height: 20px;
|
||||
font-size: 13px;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
border: 1px solid #ddd;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.codrops-demos a:hover{
|
||||
color: #333;
|
||||
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.codrops-demos a:active{
|
||||
background: #fff;
|
||||
}
|
||||
.codrops-demos a.current-demo,
|
||||
.codrops-demos a.current-demo:hover{
|
||||
background: #f6f6f6;
|
||||
}
|
||||
504
_/SlideshowJmpress/css/normalize.css
vendored
Executable file
504
_/SlideshowJmpress/css/normalize.css
vendored
Executable file
@@ -0,0 +1,504 @@
|
||||
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents modern browsers from displaying 'audio' without controls
|
||||
* Remove excess height in iOS5 devices
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
||||
* Known issue: no IE6 support
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Base
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
||||
* http://clagnut.com/blog/348/#c790
|
||||
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
||||
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
||||
*/
|
||||
|
||||
html {
|
||||
font-size: 100%; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
||||
*/
|
||||
|
||||
html,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins handled incorrectly in IE6/7
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Links
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses outline displayed oddly in Chrome
|
||||
*/
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability when focused and also mouse hovered in all browsers
|
||||
* people.opera.com/patrickl/experiments/keyboard/test
|
||||
*/
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses font sizes and margins set differently in IE6/7
|
||||
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin: 0.83em 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.17em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
margin: 1.33em 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.83em;
|
||||
margin: 1.67em 0;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.75em;
|
||||
margin: 2.33em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE7/8/9, S5, Chrome
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in S5, Chrome
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE6/7/8/9
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
p,
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects font family set oddly in IE6, S4/5, Chrome
|
||||
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
||||
*/
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
_font-family: 'courier new', monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability of pre-formatted text in all browsers
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses CSS quotes not supported in IE6/7
|
||||
* 2. Addresses quote property not supported in S4
|
||||
*/
|
||||
|
||||
/* 1 */
|
||||
|
||||
q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
/* 2 */
|
||||
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents sub and sup affecting line-height in all browsers
|
||||
* gist.github.com/413930
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Lists
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
dl,
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses paddings set differently in IE6/7
|
||||
*/
|
||||
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
padding: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects list images handled incorrectly in IE7
|
||||
*/
|
||||
|
||||
nav ul,
|
||||
nav ol {
|
||||
list-style: none;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
||||
* 2. Improves image quality when scaled in IE7
|
||||
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0; /* 1 */
|
||||
-ms-interpolation-mode: bicubic; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects overflow displayed oddly in IE9
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Figures
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margin not present in IE6/7/8/9, S5, O11
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects margin displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Define consistent border, margin, and padding
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects color not being inherited in IE6/7/8/9
|
||||
* 2. Corrects text not wrapping in FF3
|
||||
* 3. Corrects alignment displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0;
|
||||
white-space: normal; /* 2 */
|
||||
*margin-left: -7px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects font size not being inherited in all browsers
|
||||
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
||||
* 3. Improves appearance and consistency in all browsers
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-size: 100%; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
vertical-align: baseline; /* 3 */
|
||||
*vertical-align: middle; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
line-height: normal; /* 1 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
||||
* 2. Corrects inability to style clickable 'input' types in iOS
|
||||
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
||||
* Known issue: inner spacing remains in IE6
|
||||
*/
|
||||
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
cursor: pointer; /* 1 */
|
||||
-webkit-appearance: button; /* 2 */
|
||||
*overflow: visible; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Re-set default cursor for disabled elements
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses box sizing set to content-box in IE8/9
|
||||
* 2. Removes excess padding in IE8/9
|
||||
* 3. Removes excess padding in IE7
|
||||
Known issue: excess padding remains in IE6
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
*height: 13px; /* 3 */
|
||||
*width: 13px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses appearance set to searchfield in S5, Chrome
|
||||
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-decoration,
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and border in FF3+
|
||||
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
||||
* 2. Improves readability and alignment in all browsers
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Tables
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Remove most spacing between table cells
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
215
_/SlideshowJmpress/css/style.css
Executable file
215
_/SlideshowJmpress/css/style.css
Executable file
@@ -0,0 +1,215 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 460px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 440px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
215
_/SlideshowJmpress/css/style_alt.css
Executable file
215
_/SlideshowJmpress/css/style_alt.css
Executable file
@@ -0,0 +1,215 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 460px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 440px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border-top: 10px solid #fff;
|
||||
border-bottom: 10px solid #fff;
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: 0px;
|
||||
border-radius: 0px 3px 3px 0px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: 0px;
|
||||
border-radius: 3px 0px 0px 3px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
9
_/SlideshowJmpress/css/style_ie.css
Executable file
9
_/SlideshowJmpress/css/style_ie.css
Executable file
@@ -0,0 +1,9 @@
|
||||
.jms-slideshow, .step{
|
||||
width: 1000px;
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 390px 0px 60px;
|
||||
}
|
||||
.step img{
|
||||
right: 40px;
|
||||
}
|
||||
6
_/SlideshowJmpress/images/ImageAttribution.txt
Executable file
6
_/SlideshowJmpress/images/ImageAttribution.txt
Executable file
@@ -0,0 +1,6 @@
|
||||
Background Pattern from http://subtlepatterns.com/
|
||||
|
||||
Artcore Icons by Artcore Illustration http://blog.artcore-illustrations.de/aicons/
|
||||
Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)
|
||||
http://creativecommons.org/licenses/by-nc-nd/3.0/
|
||||
|
||||
BIN
_/SlideshowJmpress/images/Thumbs.db
Executable file
BIN
_/SlideshowJmpress/images/Thumbs.db
Executable file
Binary file not shown.
118
_/SlideshowJmpress/index.html
Executable file
118
_/SlideshowJmpress/index.html
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a class="current-demo" href="index.html">Default</a>
|
||||
<a href="index2.html">Autoplay</a>
|
||||
<a href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-1">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-2" data-y="500" data-scale="0.4" data-rotate-x="30">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-x="2000" data-z="3000" data-rotate="170">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="3000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="4500" data-z="1000" data-rotate-y="45">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow();
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
126
_/SlideshowJmpress/index2.html
Executable file
126
_/SlideshowJmpress/index2.html
Executable file
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a href="index.html">Default</a>
|
||||
<a class="current-demo" href="index2.html">Autoplay</a>
|
||||
<a href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-2">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-y="900" data-rotate-x="80">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="-100" data-z="1500" data-rotate="170">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="3000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-1" data-x="4500" data-z="1000" data-rotate-y="45">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
var jmpressOpts = {
|
||||
animation : { transitionDuration : '0.8s' }
|
||||
};
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, {
|
||||
autoplay : true,
|
||||
bgColorSpeed: '0.8s',
|
||||
arrows : false
|
||||
}));
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
118
_/SlideshowJmpress/index3.html
Executable file
118
_/SlideshowJmpress/index3.html
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style_alt.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a href="index.html">Default</a>
|
||||
<a href="index2.html">Autoplay</a>
|
||||
<a class="current-demo" href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-1" data-x="2000" data-y="1000" data-z="3000" data-rotate="-20">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-2" data-x="1000" data-z="2000" data-rotate="20">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-x="2000" data-y="1500" data-z="1000" data-rotate="20">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="3000" data-y="2000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="4000" data-y="1500" data-z="1000" data-rotate="-20">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow();
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
2387
_/SlideshowJmpress/js/jmpress.js
Executable file
2387
_/SlideshowJmpress/js/jmpress.js
Executable file
File diff suppressed because it is too large
Load Diff
13
_/SlideshowJmpress/js/jmpress.min.js
vendored
Executable file
13
_/SlideshowJmpress/js/jmpress.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
326
_/SlideshowJmpress/js/jquery.jmslideshow.js
Executable file
326
_/SlideshowJmpress/js/jquery.jmslideshow.js
Executable file
@@ -0,0 +1,326 @@
|
||||
(function( $, undefined ) {
|
||||
|
||||
/*
|
||||
* JMSlideshow object
|
||||
*/
|
||||
$.JMSlideshow = function( options, element ) {
|
||||
|
||||
// the jms-slideshow
|
||||
this.$el = $( element );
|
||||
|
||||
this._init( options );
|
||||
|
||||
};
|
||||
|
||||
$.JMSlideshow.defaults = {
|
||||
// options for the jmpress plugin.
|
||||
// you can add much more options here. Check http://shama.github.com/jmpress.js/
|
||||
jmpressOpts : {
|
||||
// set the viewport
|
||||
viewPort : {
|
||||
height : 400,
|
||||
width : 1000,
|
||||
maxScale: 1
|
||||
},
|
||||
fullscreen : false,
|
||||
hash : { use : false },
|
||||
mouse : { clickSelects : false },
|
||||
keyboard : { use : false },
|
||||
animation : { transitionDuration : '1s' }
|
||||
},
|
||||
// for this specific plugin we will have the following options:
|
||||
// shows/hides navigation arrows
|
||||
arrows : true,
|
||||
// shows/hides navigation dots/pages
|
||||
dots : true,
|
||||
// each step's bgcolor transition speed
|
||||
bgColorSpeed: '1s',
|
||||
// slideshow on / off
|
||||
autoplay : false,
|
||||
// time between transitions for the slideshow
|
||||
interval : 3500
|
||||
};
|
||||
|
||||
$.JMSlideshow.prototype = {
|
||||
_init : function( options ) {
|
||||
|
||||
this.options = $.extend( true, {}, $.JMSlideshow.defaults, options );
|
||||
|
||||
// each one of the slides
|
||||
this.$slides = $('#jms-slideshow').children('div');
|
||||
// total number of slides
|
||||
this.slidesCount = this.$slides.length;
|
||||
// step's bgcolor
|
||||
this.colors = $.map( this.$slides, function( el, i ) { return $( el ).data( 'color' ); } ).join( ' ' );
|
||||
// build the necessary structure to run jmpress
|
||||
this._layout();
|
||||
// initialize the jmpress plugin
|
||||
this._initImpress();
|
||||
// if support (function implemented in jmpress plugin)
|
||||
if( this.support ) {
|
||||
|
||||
// load some events
|
||||
this._loadEvents();
|
||||
// if autoplay is true start the slideshow
|
||||
if( this.options.autoplay ) {
|
||||
|
||||
this._startSlideshow();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// wraps all the slides in the jms-wrapper div;
|
||||
// adds the navigation options ( arrows and dots ) if set to true
|
||||
_layout : function() {
|
||||
|
||||
// adds a specific class to each one of the steps
|
||||
this.$slides.each( function( i ) {
|
||||
|
||||
$(this).addClass( 'jmstep' + ( i + 1 ) );
|
||||
|
||||
} );
|
||||
|
||||
// wrap the slides. This wrapper will be the element on which we will call the jmpress plugin
|
||||
this.$jmsWrapper = this.$slides.wrapAll( '<div class="jms-wrapper"/>' ).parent();
|
||||
|
||||
// transition speed for the wrapper bgcolor
|
||||
this.$jmsWrapper.css( {
|
||||
'-webkit-transition-duration' : this.options.bgColorSpeed,
|
||||
'-moz-transition-duration' : this.options.bgColorSpeed,
|
||||
'-ms-transition-duration' : this.options.bgColorSpeed,
|
||||
'-o-transition-duration' : this.options.bgColorSpeed,
|
||||
'transition-duration' : this.options.bgColorSpeed
|
||||
} );
|
||||
|
||||
// add navigation arrows
|
||||
if( this.options.arrows ) {
|
||||
|
||||
this.$arrows = $( '<nav class="jms-arrows"></nav>' );
|
||||
|
||||
if( this.slidesCount > 1 ) {
|
||||
|
||||
this.$arrowPrev = $( '<span class="jms-arrows-prev"/>' ).appendTo( this.$arrows );
|
||||
this.$arrowNext = $( '<span class="jms-arrows-next"/>' ).appendTo( this.$arrows );
|
||||
|
||||
}
|
||||
|
||||
this.$el.append( this.$arrows )
|
||||
|
||||
}
|
||||
|
||||
// add navigation dots
|
||||
if( this.options.dots ) {
|
||||
|
||||
this.$dots = $( '<nav class="jms-dots"></nav>' );
|
||||
|
||||
for( var i = this.slidesCount + 1; --i; ) {
|
||||
|
||||
this.$dots.append( ( i === this.slidesCount ) ? '<span class="jms-dots-current"/>' : '<span/>' );
|
||||
|
||||
}
|
||||
|
||||
if( this.options.jmpressOpts.start ) {
|
||||
|
||||
this.$start = this.$jmsWrapper.find( this.options.jmpressOpts.start ), idxSelected = 0;
|
||||
|
||||
( this.$start.length ) ? idxSelected = this.$start.index() : this.options.jmpressOpts.start = null;
|
||||
|
||||
this.$dots.children().removeClass( 'jms-dots-current' ).eq( idxSelected ).addClass( 'jms-dots-current' );
|
||||
|
||||
}
|
||||
|
||||
this.$el.append( this.$dots )
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// initialize the jmpress plugin
|
||||
_initImpress : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
this.$jmsWrapper.jmpress( this.options.jmpressOpts );
|
||||
// check if supported (function from jmpress.js):
|
||||
// it adds the class not-suported to the wrapper
|
||||
this.support = !this.$jmsWrapper.hasClass( 'not-supported' );
|
||||
|
||||
// if not supported remove unnecessary elements
|
||||
if( !this.support ) {
|
||||
|
||||
if( this.$arrows ) {
|
||||
|
||||
this.$arrows.remove();
|
||||
|
||||
}
|
||||
|
||||
if( this.$dots ) {
|
||||
|
||||
this.$dots.remove();
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
// redefine the jmpress setActive method
|
||||
this.$jmsWrapper.jmpress( 'setActive', function( slide, eventData ) {
|
||||
|
||||
// change the pagination dot active class
|
||||
if( _self.options.dots ) {
|
||||
|
||||
// adds the current class to the current dot/page
|
||||
_self.$dots
|
||||
.children()
|
||||
.removeClass( 'jms-dots-current' )
|
||||
.eq( slide.index() )
|
||||
.addClass( 'jms-dots-current' );
|
||||
|
||||
}
|
||||
|
||||
// delete all current bg colors
|
||||
this.removeClass( _self.colors );
|
||||
// add bg color class
|
||||
this.addClass( slide.data( 'color' ) );
|
||||
|
||||
} );
|
||||
|
||||
// add step's bg color to the wrapper
|
||||
this.$jmsWrapper.addClass( this.$jmsWrapper.jmpress('active').data( 'color' ) );
|
||||
|
||||
},
|
||||
// start slideshow if autoplay is true
|
||||
_startSlideshow : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
this.slideshow = setTimeout( function() {
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'next' );
|
||||
|
||||
if( _self.options.autoplay ) {
|
||||
|
||||
_self._startSlideshow();
|
||||
|
||||
}
|
||||
|
||||
}, this.options.interval );
|
||||
|
||||
},
|
||||
// stops the slideshow
|
||||
_stopSlideshow : function() {
|
||||
|
||||
if( this.options.autoplay ) {
|
||||
|
||||
clearTimeout( this.slideshow );
|
||||
this.options.autoplay = false;
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
_loadEvents : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
// navigation arrows
|
||||
if( this.$arrowPrev && this.$arrowNext ) {
|
||||
|
||||
this.$arrowPrev.on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'prev' );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
this.$arrowNext.on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'next' );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
// navigation dots
|
||||
if( this.$dots ) {
|
||||
|
||||
this.$dots.children().on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'goTo', '.jmstep' + ( $(this).index() + 1 ) );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
// the touchend event is already defined in the jmpress plugin.
|
||||
// we just need to make sure the slideshow stops if the event is triggered
|
||||
this.$jmsWrapper.on( 'touchend.jmslideshow', function() {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
var logError = function( message ) {
|
||||
if ( this.console ) {
|
||||
console.error( message );
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.jmslideshow = function( options ) {
|
||||
|
||||
if ( typeof options === 'string' ) {
|
||||
|
||||
var args = Array.prototype.slice.call( arguments, 1 );
|
||||
|
||||
this.each(function() {
|
||||
|
||||
var instance = $.data( this, 'jmslideshow' );
|
||||
|
||||
if ( !instance ) {
|
||||
logError( "cannot call methods on jmslideshow prior to initialization; " +
|
||||
"attempted to call method '" + options + "'" );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !$.isFunction( instance[options] ) || options.charAt(0) === "_" ) {
|
||||
logError( "no such method '" + options + "' for jmslideshow instance" );
|
||||
return;
|
||||
}
|
||||
|
||||
instance[ options ].apply( instance, args );
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
this.each(function() {
|
||||
|
||||
var instance = $.data( this, 'jmslideshow' );
|
||||
if ( !instance ) {
|
||||
$.data( this, 'jmslideshow', new $.JMSlideshow( options, this ) );
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
})( jQuery );
|
||||
4
_/SlideshowJmpress/js/modernizr.custom.48780.js
vendored
Executable file
4
_/SlideshowJmpress/js/modernizr.custom.48780.js
vendored
Executable file
File diff suppressed because one or more lines are too long
28
_/Swipe/Gruntfile.js
Executable file
28
_/Swipe/Gruntfile.js
Executable file
@@ -0,0 +1,28 @@
|
||||
/*global module */
|
||||
module.exports = function( grunt ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
uglify: {
|
||||
options: {
|
||||
mangle: {
|
||||
except: ['Swipe']
|
||||
}
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'build/swipe.min.js': 'swipe.js'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// build
|
||||
grunt.loadNpmTasks('grunt-contrib');
|
||||
grunt.registerTask('build', 'uglify');
|
||||
grunt.registerTask('default', 'build');
|
||||
|
||||
};
|
||||
103
_/Swipe/README.md
Executable file
103
_/Swipe/README.md
Executable file
@@ -0,0 +1,103 @@
|
||||
## Usage
|
||||
Swipe only needs to follow a simple pattern. Here is an example:
|
||||
|
||||
``` html
|
||||
<div id='slider' class='swipe'>
|
||||
<div class='swipe-wrap'>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
Above is the initial required structure– a series of elements wrapped in two containers. Place any content you want within the items. The containing div will need to be passed to the Swipe function like so:
|
||||
|
||||
``` js
|
||||
window.mySwipe = Swipe(document.getElementById('slider'));
|
||||
```
|
||||
|
||||
I always place this at the bottom of the page, externally, to verify the page is ready.
|
||||
|
||||
Also Swipe needs just a few styles added to your stylesheet:
|
||||
|
||||
``` css
|
||||
.swipe {
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap > div {
|
||||
float:left;
|
||||
width:100%;
|
||||
position: relative;
|
||||
}
|
||||
```
|
||||
|
||||
## Config Options
|
||||
|
||||
Swipe can take an optional second parameter– an object of key/value settings:
|
||||
|
||||
- **startSlide** Integer *(default:0)* - index position Swipe should start at
|
||||
|
||||
- **speed** Integer *(default:300)* - speed of prev and next transitions in milliseconds.
|
||||
|
||||
- **auto** Integer - begin with auto slideshow (time in milliseconds between slides)
|
||||
|
||||
- **continuous** Boolean *(default:true)* - create an infinite feel with no endpoints
|
||||
|
||||
- **disableScroll** Boolean *(default:false)* - stop any touches on this container from scrolling the page
|
||||
|
||||
- **stopPropagation** Boolean *(default:false)* - stop event propagation
|
||||
|
||||
- **callback** Function - runs at slide change.
|
||||
|
||||
- **transitionEnd** Function - runs at the end slide transition.
|
||||
|
||||
### Example
|
||||
|
||||
``` js
|
||||
|
||||
window.mySwipe = new Swipe(document.getElementById('slider'), {
|
||||
startSlide: 2,
|
||||
speed: 400,
|
||||
auto: 3000,
|
||||
continuous: true,
|
||||
disableScroll: false,
|
||||
stopPropagation: false,
|
||||
callback: function(index, elem) {},
|
||||
transitionEnd: function(index, elem) {}
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
## Swipe API
|
||||
|
||||
Swipe exposes a few functions that can be useful for script control of your slider.
|
||||
|
||||
`prev()` slide to prev
|
||||
|
||||
`next()` slide to next
|
||||
|
||||
`getPos()` returns current slide index position
|
||||
|
||||
`getNumSlides()` returns the total amount of slides
|
||||
|
||||
`slide(index, duration)` slide to set index position (duration: speed of transition in milliseconds)
|
||||
|
||||
## Browser Support
|
||||
Swipe is now compatible with all browsers, including IE7+. Swipe works best on devices that support CSS transforms and touch, but can be used without these as well. A few helper methods determine touch and CSS transition support and choose the proper animation methods accordingly.
|
||||
|
||||
## Who's using Swipe
|
||||
<img src='http://swipejs.com/assets/swipe-cnn.png' width='170'>
|
||||
<img src='http://swipejs.com/assets/swipe-airbnb.png' width='170'>
|
||||
<img src='http://swipejs.com/assets/swipe-nhl.png' width='170'>
|
||||
<img src='http://swipejs.com/assets/swipe-htc.png' width='170'>
|
||||
<img src='http://swipejs.com/assets/swipe-thinkgeek.png' width='170'>
|
||||
<img src='http://swipejs.com/assets/swipe-snapguide.png' width='170'>
|
||||
|
||||
Shoot me a [note](mailto:brad@birdsall.co) if you want your logo here
|
||||
12
_/Swipe/component.json
Executable file
12
_/Swipe/component.json
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "Swipe",
|
||||
"version": "2.0.0",
|
||||
"main": ["./swipe.js"],
|
||||
"author": "Brad Birdsall",
|
||||
"license": "MIT",
|
||||
"ignore": [
|
||||
"**/*.html",
|
||||
"**/*.css",
|
||||
"Gruntfile.js"
|
||||
]
|
||||
}
|
||||
95
_/Swipe/index.html
Executable file
95
_/Swipe/index.html
Executable file
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Swipe 2</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=8">
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
|
||||
<link href='style.css' rel='stylesheet'/>
|
||||
<style>
|
||||
|
||||
/* Swipe 2 required styles */
|
||||
|
||||
.swipe {
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap > div {
|
||||
float:left;
|
||||
width:100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* END required styles */
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Swipe 2</h1>
|
||||
|
||||
|
||||
|
||||
<div id='mySwipe' style='max-width:500px;margin:0 auto' class='swipe'>
|
||||
<div class='swipe-wrap'>
|
||||
<div><b>0</b></div>
|
||||
<div><b>1</b></div>
|
||||
<div><b>2</b></div>
|
||||
<div><b>3</b></div>
|
||||
<div><b>4</b></div>
|
||||
<div><b>5</b></div>
|
||||
<div><b>6</b></div>
|
||||
<div><b>7</b></div>
|
||||
<div><b>8</b></div>
|
||||
<div><b>9</b></div>
|
||||
<div><b>10</b></div>
|
||||
<div><b>11</b></div>
|
||||
<div><b>12</b></div>
|
||||
<div><b>13</b></div>
|
||||
<div><b>14</b></div>
|
||||
<div><b>15</b></div>
|
||||
<div><b>16</b></div>
|
||||
<div><b>17</b></div>
|
||||
<div><b>18</b></div>
|
||||
<div><b>19</b></div>
|
||||
<div><b>20</b></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div style='text-align:center;padding-top:20px;'>
|
||||
|
||||
<button onclick='mySwipe.prev()'>prev</button>
|
||||
<button onclick='mySwipe.next()'>next</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
<script src='swipe.js'></script>
|
||||
<script>
|
||||
|
||||
// pure JS
|
||||
var elem = document.getElementById('mySwipe');
|
||||
window.mySwipe = Swipe(elem, {
|
||||
// startSlide: 4,
|
||||
// auto: 3000,
|
||||
// continuous: true,
|
||||
// disableScroll: true,
|
||||
// stopPropagation: true,
|
||||
// callback: function(index, element) {},
|
||||
// transitionEnd: function(index, element) {}
|
||||
});
|
||||
|
||||
// with jQuery
|
||||
// window.mySwipe = $('#mySwipe').Swipe().data('Swipe');
|
||||
|
||||
</script>
|
||||
66
_/Swipe/style.css
Executable file
66
_/Swipe/style.css
Executable file
@@ -0,0 +1,66 @@
|
||||
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, del, dfn, em, img, ins, kbd, q, samp, small, strong, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, footer, header, nav, section {
|
||||
margin:0;
|
||||
padding:0;
|
||||
border:0;
|
||||
outline:0;
|
||||
font-size:100%;
|
||||
vertical-align:baseline;
|
||||
background:transparent;
|
||||
}
|
||||
body {
|
||||
-webkit-text-size-adjust:none;
|
||||
font-family:sans-serif;
|
||||
min-height:416px;
|
||||
}
|
||||
h1 {
|
||||
font-size:33px;
|
||||
margin:50px 0 15px;
|
||||
text-align:center;
|
||||
color:#212121;
|
||||
}
|
||||
h2 {
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
color:#3c3c3c;
|
||||
margin:20px 10px 10px;
|
||||
}
|
||||
small {
|
||||
margin:0 10px 30px;
|
||||
display:block;
|
||||
font-size:12px;
|
||||
}
|
||||
a {
|
||||
margin:0 0 0 10px;
|
||||
font-size:12px;
|
||||
color:#3c3c3c;
|
||||
}
|
||||
|
||||
|
||||
html, body {
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
#console {
|
||||
font-size: 12px;
|
||||
font-family:"Inconsolata", "Monaco", "Consolas", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
||||
color: #999;
|
||||
line-height: 18px;
|
||||
margin-top: 20px;
|
||||
max-height: 150px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#mySwipe div b {
|
||||
display:block;
|
||||
font-weight:bold;
|
||||
color:#14ADE5;
|
||||
font-size:20px;
|
||||
text-align:center;
|
||||
margin:10px;
|
||||
padding:100px 10px;
|
||||
box-shadow: 0 1px #EBEBEB;
|
||||
background: #fff;
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
border-color: #E5E5E5 #D3D3D3 #B9C1C6;
|
||||
}
|
||||
564
_/Swipe/swipe.js
Executable file
564
_/Swipe/swipe.js
Executable file
@@ -0,0 +1,564 @@
|
||||
/*
|
||||
* Swipe 2.0
|
||||
*
|
||||
* Brad Birdsall
|
||||
* Copyright 2013, MIT License
|
||||
*
|
||||
*/
|
||||
|
||||
function Swipe(container, options) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// utilities
|
||||
var noop = function() {}; // simple no operation function
|
||||
var offloadFn = function(fn) { setTimeout(fn || noop, 0) }; // offload a functions execution
|
||||
|
||||
// check browser capabilities
|
||||
var browser = {
|
||||
addEventListener: !!window.addEventListener,
|
||||
touch: ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch,
|
||||
transitions: (function(temp) {
|
||||
var props = ['transitionProperty', 'WebkitTransition', 'MozTransition', 'OTransition', 'msTransition'];
|
||||
for ( var i in props ) if (temp.style[ props[i] ] !== undefined) return true;
|
||||
return false;
|
||||
})(document.createElement('swipe'))
|
||||
};
|
||||
|
||||
// quit if no root element
|
||||
if (!container) return;
|
||||
var element = container.children[0];
|
||||
var slides, slidePos, width, length;
|
||||
options = options || {};
|
||||
var index = parseInt(options.startSlide, 10) || 0;
|
||||
var speed = options.speed || 300;
|
||||
options.continuous = options.continuous !== undefined ? options.continuous : true;
|
||||
|
||||
function setup() {
|
||||
|
||||
// cache slides
|
||||
slides = element.children;
|
||||
length = slides.length;
|
||||
|
||||
// set continuous to false if only one slide
|
||||
if (slides.length < 2) options.continuous = false;
|
||||
|
||||
//special case if two slides
|
||||
if (browser.transitions && options.continuous && slides.length < 3) {
|
||||
element.appendChild(slides[0].cloneNode(true));
|
||||
element.appendChild(element.children[1].cloneNode(true));
|
||||
slides = element.children;
|
||||
}
|
||||
|
||||
// create an array to store current positions of each slide
|
||||
slidePos = new Array(slides.length);
|
||||
|
||||
// determine width of each slide
|
||||
width = container.getBoundingClientRect().width || container.offsetWidth;
|
||||
|
||||
element.style.width = (slides.length * width) + 'px';
|
||||
|
||||
// stack elements
|
||||
var pos = slides.length;
|
||||
while(pos--) {
|
||||
|
||||
var slide = slides[pos];
|
||||
|
||||
slide.style.width = width + 'px';
|
||||
slide.setAttribute('data-index', pos);
|
||||
|
||||
if (browser.transitions) {
|
||||
slide.style.left = (pos * -width) + 'px';
|
||||
move(pos, index > pos ? -width : (index < pos ? width : 0), 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// reposition elements before and after index
|
||||
if (options.continuous && browser.transitions) {
|
||||
move(circle(index-1), -width, 0);
|
||||
move(circle(index+1), width, 0);
|
||||
}
|
||||
|
||||
if (!browser.transitions) element.style.left = (index * -width) + 'px';
|
||||
|
||||
container.style.visibility = 'visible';
|
||||
|
||||
}
|
||||
|
||||
function prev() {
|
||||
|
||||
if (options.continuous) slide(index-1);
|
||||
else if (index) slide(index-1);
|
||||
|
||||
}
|
||||
|
||||
function next() {
|
||||
|
||||
if (options.continuous) slide(index+1);
|
||||
else if (index < slides.length - 1) slide(index+1);
|
||||
|
||||
}
|
||||
|
||||
function circle(index) {
|
||||
|
||||
// a simple positive modulo using slides.length
|
||||
return (slides.length + (index % slides.length)) % slides.length;
|
||||
|
||||
}
|
||||
|
||||
function slide(to, slideSpeed) {
|
||||
|
||||
// do nothing if already on requested slide
|
||||
if (index == to) return;
|
||||
|
||||
if (browser.transitions) {
|
||||
|
||||
var direction = Math.abs(index-to) / (index-to); // 1: backward, -1: forward
|
||||
|
||||
// get the actual position of the slide
|
||||
if (options.continuous) {
|
||||
var natural_direction = direction;
|
||||
direction = -slidePos[circle(to)] / width;
|
||||
|
||||
// if going forward but to < index, use to = slides.length + to
|
||||
// if going backward but to > index, use to = -slides.length + to
|
||||
if (direction !== natural_direction) to = -direction * slides.length + to;
|
||||
|
||||
}
|
||||
|
||||
var diff = Math.abs(index-to) - 1;
|
||||
|
||||
// move all the slides between index and to in the right direction
|
||||
while (diff--) move( circle((to > index ? to : index) - diff - 1), width * direction, 0);
|
||||
|
||||
to = circle(to);
|
||||
|
||||
move(index, width * direction, slideSpeed || speed);
|
||||
move(to, 0, slideSpeed || speed);
|
||||
|
||||
if (options.continuous) move(circle(to - direction), -(width * direction), 0); // we need to get the next in place
|
||||
|
||||
} else {
|
||||
|
||||
to = circle(to);
|
||||
animate(index * -width, to * -width, slideSpeed || speed);
|
||||
//no fallback for a circular continuous if the browser does not accept transitions
|
||||
}
|
||||
|
||||
index = to;
|
||||
offloadFn(options.callback && options.callback(index, slides[index]));
|
||||
}
|
||||
|
||||
function move(index, dist, speed) {
|
||||
|
||||
translate(index, dist, speed);
|
||||
slidePos[index] = dist;
|
||||
|
||||
}
|
||||
|
||||
function translate(index, dist, speed) {
|
||||
|
||||
var slide = slides[index];
|
||||
var style = slide && slide.style;
|
||||
|
||||
if (!style) return;
|
||||
|
||||
style.webkitTransitionDuration =
|
||||
style.MozTransitionDuration =
|
||||
style.msTransitionDuration =
|
||||
style.OTransitionDuration =
|
||||
style.transitionDuration = speed + 'ms';
|
||||
|
||||
style.webkitTransform = 'translate(' + dist + 'px,0)' + 'translateZ(0)';
|
||||
style.msTransform =
|
||||
style.MozTransform =
|
||||
style.OTransform = 'translateX(' + dist + 'px)';
|
||||
|
||||
}
|
||||
|
||||
function animate(from, to, speed) {
|
||||
|
||||
// if not an animation, just reposition
|
||||
if (!speed) {
|
||||
|
||||
element.style.left = to + 'px';
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
var start = +new Date;
|
||||
|
||||
var timer = setInterval(function() {
|
||||
|
||||
var timeElap = +new Date - start;
|
||||
|
||||
if (timeElap > speed) {
|
||||
|
||||
element.style.left = to + 'px';
|
||||
|
||||
if (delay) begin();
|
||||
|
||||
options.transitionEnd && options.transitionEnd.call(event, index, slides[index]);
|
||||
|
||||
clearInterval(timer);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
element.style.left = (( (to - from) * (Math.floor((timeElap / speed) * 100) / 100) ) + from) + 'px';
|
||||
|
||||
}, 4);
|
||||
|
||||
}
|
||||
|
||||
// setup auto slideshow
|
||||
var delay = options.auto || 0;
|
||||
var interval;
|
||||
|
||||
function begin() {
|
||||
|
||||
interval = setTimeout(next, delay);
|
||||
|
||||
}
|
||||
|
||||
function stop() {
|
||||
|
||||
delay = 0;
|
||||
clearTimeout(interval);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// setup initial vars
|
||||
var start = {};
|
||||
var delta = {};
|
||||
var isScrolling;
|
||||
|
||||
// setup event capturing
|
||||
var events = {
|
||||
|
||||
handleEvent: function(event) {
|
||||
|
||||
switch (event.type) {
|
||||
case 'touchstart': this.start(event); break;
|
||||
case 'touchmove': this.move(event); break;
|
||||
case 'touchend': offloadFn(this.end(event)); break;
|
||||
case 'webkitTransitionEnd':
|
||||
case 'msTransitionEnd':
|
||||
case 'oTransitionEnd':
|
||||
case 'otransitionend':
|
||||
case 'transitionend': offloadFn(this.transitionEnd(event)); break;
|
||||
case 'resize': offloadFn(setup.call()); break;
|
||||
}
|
||||
|
||||
if (options.stopPropagation) event.stopPropagation();
|
||||
|
||||
},
|
||||
start: function(event) {
|
||||
|
||||
var touches = event.touches[0];
|
||||
|
||||
// measure start values
|
||||
start = {
|
||||
|
||||
// get initial touch coords
|
||||
x: touches.pageX,
|
||||
y: touches.pageY,
|
||||
|
||||
// store time to determine touch duration
|
||||
time: +new Date
|
||||
|
||||
};
|
||||
|
||||
// used for testing first move event
|
||||
isScrolling = undefined;
|
||||
|
||||
// reset delta and end measurements
|
||||
delta = {};
|
||||
|
||||
// attach touchmove and touchend listeners
|
||||
element.addEventListener('touchmove', this, false);
|
||||
element.addEventListener('touchend', this, false);
|
||||
|
||||
},
|
||||
move: function(event) {
|
||||
|
||||
// ensure swiping with one touch and not pinching
|
||||
if ( event.touches.length > 1 || event.scale && event.scale !== 1) return
|
||||
|
||||
if (options.disableScroll) event.preventDefault();
|
||||
|
||||
var touches = event.touches[0];
|
||||
|
||||
// measure change in x and y
|
||||
delta = {
|
||||
x: touches.pageX - start.x,
|
||||
y: touches.pageY - start.y
|
||||
}
|
||||
|
||||
// determine if scrolling test has run - one time test
|
||||
if ( typeof isScrolling == 'undefined') {
|
||||
isScrolling = !!( isScrolling || Math.abs(delta.x) < Math.abs(delta.y) );
|
||||
}
|
||||
|
||||
// if user is not trying to scroll vertically
|
||||
if (!isScrolling) {
|
||||
|
||||
// prevent native scrolling
|
||||
event.preventDefault();
|
||||
|
||||
// stop slideshow
|
||||
stop();
|
||||
|
||||
// increase resistance if first or last slide
|
||||
if (options.continuous) { // we don't add resistance at the end
|
||||
|
||||
translate(circle(index-1), delta.x + slidePos[circle(index-1)], 0);
|
||||
translate(index, delta.x + slidePos[index], 0);
|
||||
translate(circle(index+1), delta.x + slidePos[circle(index+1)], 0);
|
||||
|
||||
} else {
|
||||
|
||||
delta.x =
|
||||
delta.x /
|
||||
( (!index && delta.x > 0 // if first slide and sliding left
|
||||
|| index == slides.length - 1 // or if last slide and sliding right
|
||||
&& delta.x < 0 // and if sliding at all
|
||||
) ?
|
||||
( Math.abs(delta.x) / width + 1 ) // determine resistance level
|
||||
: 1 ); // no resistance if false
|
||||
|
||||
// translate 1:1
|
||||
translate(index-1, delta.x + slidePos[index-1], 0);
|
||||
translate(index, delta.x + slidePos[index], 0);
|
||||
translate(index+1, delta.x + slidePos[index+1], 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
end: function(event) {
|
||||
|
||||
// measure duration
|
||||
var duration = +new Date - start.time;
|
||||
|
||||
// determine if slide attempt triggers next/prev slide
|
||||
var isValidSlide =
|
||||
Number(duration) < 250 // if slide duration is less than 250ms
|
||||
&& Math.abs(delta.x) > 20 // and if slide amt is greater than 20px
|
||||
|| Math.abs(delta.x) > width/2; // or if slide amt is greater than half the width
|
||||
|
||||
// determine if slide attempt is past start and end
|
||||
var isPastBounds =
|
||||
!index && delta.x > 0 // if first slide and slide amt is greater than 0
|
||||
|| index == slides.length - 1 && delta.x < 0; // or if last slide and slide amt is less than 0
|
||||
|
||||
if (options.continuous) isPastBounds = false;
|
||||
|
||||
// determine direction of swipe (true:right, false:left)
|
||||
var direction = delta.x < 0;
|
||||
|
||||
// if not scrolling vertically
|
||||
if (!isScrolling) {
|
||||
|
||||
if (isValidSlide && !isPastBounds) {
|
||||
|
||||
if (direction) {
|
||||
|
||||
if (options.continuous) { // we need to get the next in this direction in place
|
||||
|
||||
move(circle(index-1), -width, 0);
|
||||
move(circle(index+2), width, 0);
|
||||
|
||||
} else {
|
||||
move(index-1, -width, 0);
|
||||
}
|
||||
|
||||
move(index, slidePos[index]-width, speed);
|
||||
move(circle(index+1), slidePos[circle(index+1)]-width, speed);
|
||||
index = circle(index+1);
|
||||
|
||||
} else {
|
||||
if (options.continuous) { // we need to get the next in this direction in place
|
||||
|
||||
move(circle(index+1), width, 0);
|
||||
move(circle(index-2), -width, 0);
|
||||
|
||||
} else {
|
||||
move(index+1, width, 0);
|
||||
}
|
||||
|
||||
move(index, slidePos[index]+width, speed);
|
||||
move(circle(index-1), slidePos[circle(index-1)]+width, speed);
|
||||
index = circle(index-1);
|
||||
|
||||
}
|
||||
|
||||
options.callback && options.callback(index, slides[index]);
|
||||
|
||||
} else {
|
||||
|
||||
if (options.continuous) {
|
||||
|
||||
move(circle(index-1), -width, speed);
|
||||
move(index, 0, speed);
|
||||
move(circle(index+1), width, speed);
|
||||
|
||||
} else {
|
||||
|
||||
move(index-1, -width, speed);
|
||||
move(index, 0, speed);
|
||||
move(index+1, width, speed);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// kill touchmove and touchend event listeners until touchstart called again
|
||||
element.removeEventListener('touchmove', events, false)
|
||||
element.removeEventListener('touchend', events, false)
|
||||
|
||||
},
|
||||
transitionEnd: function(event) {
|
||||
|
||||
if (parseInt(event.target.getAttribute('data-index'), 10) == index) {
|
||||
|
||||
if (delay) begin();
|
||||
|
||||
options.transitionEnd && options.transitionEnd.call(event, index, slides[index]);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// trigger setup
|
||||
setup();
|
||||
|
||||
// start auto slideshow if applicable
|
||||
if (delay) begin();
|
||||
|
||||
|
||||
// add event listeners
|
||||
if (browser.addEventListener) {
|
||||
|
||||
// set touchstart event on element
|
||||
if (browser.touch) element.addEventListener('touchstart', events, false);
|
||||
|
||||
if (browser.transitions) {
|
||||
element.addEventListener('webkitTransitionEnd', events, false);
|
||||
element.addEventListener('msTransitionEnd', events, false);
|
||||
element.addEventListener('oTransitionEnd', events, false);
|
||||
element.addEventListener('otransitionend', events, false);
|
||||
element.addEventListener('transitionend', events, false);
|
||||
}
|
||||
|
||||
// set resize event on window
|
||||
window.addEventListener('resize', events, false);
|
||||
|
||||
} else {
|
||||
|
||||
window.onresize = function () { setup() }; // to play nice with old IE
|
||||
|
||||
}
|
||||
|
||||
// expose the Swipe API
|
||||
return {
|
||||
setup: function() {
|
||||
|
||||
setup();
|
||||
|
||||
},
|
||||
slide: function(to, speed) {
|
||||
|
||||
// cancel slideshow
|
||||
stop();
|
||||
|
||||
slide(to, speed);
|
||||
|
||||
},
|
||||
prev: function() {
|
||||
|
||||
// cancel slideshow
|
||||
stop();
|
||||
|
||||
prev();
|
||||
|
||||
},
|
||||
next: function() {
|
||||
|
||||
// cancel slideshow
|
||||
stop();
|
||||
|
||||
next();
|
||||
|
||||
},
|
||||
getPos: function() {
|
||||
|
||||
// return current index position
|
||||
return index;
|
||||
|
||||
},
|
||||
getNumSlides: function() {
|
||||
|
||||
// return total number of slides
|
||||
return length;
|
||||
},
|
||||
kill: function() {
|
||||
|
||||
// cancel slideshow
|
||||
stop();
|
||||
|
||||
// reset element
|
||||
element.style.width = 'auto';
|
||||
element.style.left = 0;
|
||||
|
||||
// reset slides
|
||||
var pos = slides.length;
|
||||
while(pos--) {
|
||||
|
||||
var slide = slides[pos];
|
||||
slide.style.width = '100%';
|
||||
slide.style.left = 0;
|
||||
|
||||
if (browser.transitions) translate(pos, 0, 0);
|
||||
|
||||
}
|
||||
|
||||
// removed event listeners
|
||||
if (browser.addEventListener) {
|
||||
|
||||
// remove current event listeners
|
||||
element.removeEventListener('touchstart', events, false);
|
||||
element.removeEventListener('webkitTransitionEnd', events, false);
|
||||
element.removeEventListener('msTransitionEnd', events, false);
|
||||
element.removeEventListener('oTransitionEnd', events, false);
|
||||
element.removeEventListener('otransitionend', events, false);
|
||||
element.removeEventListener('transitionend', events, false);
|
||||
window.removeEventListener('resize', events, false);
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
window.onresize = null;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ( window.jQuery || window.Zepto ) {
|
||||
(function($) {
|
||||
$.fn.Swipe = function(params) {
|
||||
return this.each(function() {
|
||||
$(this).data('Swipe', new Swipe($(this)[0], params));
|
||||
});
|
||||
}
|
||||
})( window.jQuery || window.Zepto )
|
||||
}
|
||||
72
_/comments-livre_.php
Normal file
72
_/comments-livre_.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Comments.
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentytwelve_comment() which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* If the current post is protected by a password and
|
||||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() )
|
||||
return;
|
||||
?>
|
||||
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
||||
<?php // You can start editing here -- including this comment! ?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
//echo '<span id="soumettre">Afficher</span> ';
|
||||
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentytwelve' ),
|
||||
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<div class="commentaires">
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ) ); ?>
|
||||
</ol><!-- .commentlist -->
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-below" class="navigation" role="navigation">
|
||||
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentytwelve' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentytwelve' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<?php
|
||||
/* If there are no comments and comments are closed, let's leave a note.
|
||||
* But we only want the note on posts and pages that had comments in the first place.
|
||||
*/
|
||||
if ( ! comments_open() && get_comments_number() ) : ?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
</div><!-- #commentaires-->
|
||||
<?php else: ?>
|
||||
|
||||
|
||||
|
||||
<?php no_comment_form(); ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
|
||||
|
||||
</div><!-- #comments .comments-area -->
|
||||
136
_/index-jmpress.php
Normal file
136
_/index-jmpress.php
Normal file
@@ -0,0 +1,136 @@
|
||||
<?php
|
||||
/**
|
||||
* The main template file.
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* For example, it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (is_home() && !is_paged()) { ?>
|
||||
|
||||
<div class="slider">
|
||||
<?php
|
||||
|
||||
//echo get_bloginfo( 'template_url' ); // http://alubook.local/wordpress/wp-content/themes/twentytwelve
|
||||
//echo bloginfo('stylesheet_directory'); // http://alubook.local/wordpress/wp-content/themes/twentytwelve-child
|
||||
|
||||
$args = array( 'orderby' => 'rand', 'posts_per_page' => 8 );
|
||||
$rand_query = new WP_Query( $args );
|
||||
|
||||
echo '<section id="jms-slideshow" class="jms-slideshow">';
|
||||
|
||||
$i=10;
|
||||
/*-----------------------------*/
|
||||
while ( $rand_query->have_posts() ) : $rand_query->the_post();
|
||||
|
||||
$format = get_post_format();
|
||||
if ( false === $format ) {
|
||||
|
||||
$first_img = first_image(get_the_ID());
|
||||
|
||||
//echo '<div class="step" style="background:url(' . $first_img . ') center no-repeat;">' . "\r\n";
|
||||
//echo '<div class="step" style="background:url(' . get_bloginfo('stylesheet_directory') . '/timthumb.php?w=1200&src=' . $first_img . ') center no-repeat;">' . "\r\n";
|
||||
echo '<div class="step" style="background:url(' . get_bloginfo('stylesheet_directory') . '/timthumb.php?w=1200&src=' . $first_img . ') center no-repeat;">' . "\r\n";
|
||||
|
||||
echo '<div class="jms-content">' . "\r\n";
|
||||
echo '<h3>' . get_the_title() . '</h3>' . "\r\n";
|
||||
//echo '<p>' . get_the_excerpt() . '</p>' . "\r\n";
|
||||
echo '<p>' . the_excerpt_max_charlength(240) . '</p>' . "\r\n";
|
||||
echo '<a href="' . get_permalink() . '" title="' . get_the_title() . '" class="jms-link">' . __('Read more', 'twentytwelve-child') . '</a>' . "\r\n";
|
||||
|
||||
echo '</div>' . "\r\n";
|
||||
echo '</div>' . "\r\n";
|
||||
|
||||
} // if
|
||||
|
||||
endwhile;
|
||||
|
||||
/*-----------------------------*/
|
||||
|
||||
echo '</section>';
|
||||
?>
|
||||
|
||||
</div> <!-- slider -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
var jmpressOpts = {
|
||||
animation : { transitionDuration : '0.8s' }
|
||||
};
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, {
|
||||
autoplay : true,
|
||||
bgColorSpeed: '0.8s',
|
||||
arrows : false,
|
||||
// time between transitions for the slideshow
|
||||
interval : 6000
|
||||
}));
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php } // is_front_page ?>
|
||||
|
||||
<?php //if ( function_exists( "easingsliderlite" ) ) { easingsliderlite(); } ?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentytwelve_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
|
||||
<?php if ( current_user_can( 'edit_posts' ) ) :
|
||||
// Show a different message to a logged-in user who can add posts.
|
||||
?>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?></p>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php else :
|
||||
// Show the default message to everyone else.
|
||||
?>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; // end current_user_can() check ?>
|
||||
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; // end have_posts() check ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
21
_/template-encours.php
Normal file
21
_/template-encours.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: En Cours
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content', 'encours' ); ?>
|
||||
<?php comments_template( '', true ); ?>
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
322
_livre-comments.php
Normal file
322
_livre-comments.php
Normal file
@@ -0,0 +1,322 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Comments.
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentyten_comment which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Ten
|
||||
* @since Twenty Ten 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<div id="comments">
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten-child' ); ?></p>
|
||||
</div><!-- #comments -->
|
||||
<?php
|
||||
/* Stop the rest of comments.php from being processed,
|
||||
* but don't kill the script entirely -- we still have
|
||||
* to fully load the template.
|
||||
*/
|
||||
return;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php
|
||||
// You can start editing here -- including this comment!
|
||||
?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h3 id="comments-title"><?php /*
|
||||
printf( _n( 'One guestbook entries to %2$s', '%1$s guestbook entries to %2$s', get_comments_number(), 'twentyten' ),
|
||||
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); */
|
||||
?></h3>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten-child' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten-child' ) ); ?></div>
|
||||
</div> <!-- .navigation -->
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php
|
||||
/* Loop through and list the comments. Tell wp_list_comments()
|
||||
* to use twentyten_comment() to format the comments.
|
||||
* If you want to overload this in a child theme then you can
|
||||
* define twentyten_comment() and that will be used instead.
|
||||
* See twentyten_comment() in twentyten/functions.php for more.
|
||||
*/
|
||||
wp_list_comments( array( 'callback' => 'twentyten_comment_guestbook' ) );
|
||||
?>
|
||||
</ol>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten-child' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten-child' ) ); ?></div>
|
||||
</div><!-- .navigation -->
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<?php else : // or, if we don't have comments:
|
||||
|
||||
/* If there are no comments and comments are closed,
|
||||
* let's leave a little note, shall we?
|
||||
*/
|
||||
if ( ! comments_open() ) :
|
||||
?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten-child' ); ?></p>
|
||||
<?php endif; // end ! comments_open() ?>
|
||||
|
||||
<?php endif; // end have_comments() ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
$fields = array(
|
||||
'author' => '<p class="comment-form-author">' .
|
||||
'<label for="author">' . __( 'Name','twentyten-child' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />' .'</p>',
|
||||
'email' => '<p class="comment-form-email">' .
|
||||
'<label for="email">' . __( 'Email','twentyten-child' ) . __( ' (not be published).','twentyten-child' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' />' . '</p>',
|
||||
'url' => '<p class="comment-form-url">' .
|
||||
'<label for="url">' . __( 'Website','twentyten-child' ) . '</label>' . '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',
|
||||
|
||||
'city' => '<p class="comment-form-city">' .
|
||||
'<label for="city">' . __( 'City','twentyten-child' ) . '</label>' . '<input id="city" name="city" type="text" value="' . esc_attr( $commenter['comment_author_city'] ) . '" size="30" /></p>',
|
||||
'pays' => '<p class="comment-form-pays">' .
|
||||
'<label for="pays">' . __( 'State','twentyten-child' ) . '</label>' . '<input id="pays" name="pays" type="text" value="' . esc_attr( $commenter['comment_author_pays'] ) . '" size="30" /></p>',
|
||||
);
|
||||
*/
|
||||
$fields = array(
|
||||
'author' => '<p class="comment-form-author">' .
|
||||
'<label for="author">' . __( 'Name','twentyten-child' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' />' .'</p>',
|
||||
'email' => '<p class="comment-form-email">' .
|
||||
'<label for="email">' . __( 'Email','twentyten-child' ) . __( ' (not be published).','twentyten-child' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' />' . '</p>',
|
||||
'url' => '<p class="comment-form-url">' .
|
||||
'<label for="url">' . __( 'Website','twentyten-child' ) . '</label>' . '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',
|
||||
|
||||
'city' => '<p class="comment-form-city">' .
|
||||
'<label for="city">' . __( 'City','twentyten-child' ) . '</label>' . '<input id="city" name="city" type="text" value="' . esc_attr( $commenter['comment_author_city'] ) . '" size="30" /></p>',
|
||||
'pays' => '<p class="comment-form-pays">' .
|
||||
'<label for="pays">' . __( 'State','twentyten-child' ) . '</label><br />' . '<select id="pays" name="pays">
|
||||
<option value="Afghanistan">Afghanistan</option>
|
||||
<option value="Afrique_du_Sud">Afrique du Sud</option>
|
||||
<option value="Albanie">Albanie</option>
|
||||
<option value="Algerie">Algérie</option>
|
||||
<option value="Allemagne">Allemagne</option>
|
||||
<option value="Andorre">Andorre</option>
|
||||
<option value="Angola">Angola</option>
|
||||
<option value="Antigua-et-Barbuda">Antigua-et-Barbuda</option>
|
||||
<option value="Arabie_saoudite">Arabie saoudite</option>
|
||||
<option value="Argentine">Argentine</option>
|
||||
<option value="Armenie">Arménie</option>
|
||||
<option value="Australie">Australie</option>
|
||||
<option value="Autriche">Autriche</option>
|
||||
<option value="Azerbaidjan">Azerbaïdjan</option>
|
||||
<option value="Bahamas">Bahamas</option>
|
||||
<option value="Bahrein">Bahreïn</option>
|
||||
<option value="Bangladesh">Bangladesh</option>
|
||||
<option value="Barbade">Barbade</option>
|
||||
<option value="Belau">Belau</option>
|
||||
<option value="Belgique">Belgique</option>
|
||||
<option value="Belize">Belize</option>
|
||||
<option value="Benin">Bénin</option>
|
||||
<option value="Bhoutan">Bhoutan</option>
|
||||
<option value="Bielorussie">Biélorussie</option>
|
||||
<option value="Birmanie">Birmanie</option>
|
||||
<option value="Bolivie">Bolivie</option>
|
||||
<option value="Bosnie-Herzégovine">Bosnie-Herzégovine</option>
|
||||
<option value="Botswana">Botswana</option>
|
||||
<option value="Bresil">Brésil</option>
|
||||
<option value="Brunei">Brunei</option>
|
||||
<option value="Bulgarie">Bulgarie</option>
|
||||
<option value="Burkina">Burkina</option>
|
||||
<option value="Burundi">Burundi</option>
|
||||
<option value="Cambodge">Cambodge</option>
|
||||
<option value="Cameroun">Cameroun</option>
|
||||
<option value="Canada">Canada</option>
|
||||
<option value="Cap-Vert">Cap-Vert</option>
|
||||
<option value="Chili">Chili</option>
|
||||
<option value="Chine">Chine</option>
|
||||
<option value="Chypre">Chypre</option>
|
||||
<option value="Colombie">Colombie</option>
|
||||
<option value="Comores">Comores</option>
|
||||
<option value="Congo">Congo</option>
|
||||
<option value="Cook">Cook</option>
|
||||
<option value="Coree_du_Nord">Corée du Nord</option>
|
||||
<option value="Coree_du_Sud">Corée du Sud</option>
|
||||
<option value="Costa_Rica">Costa Rica</option>
|
||||
<option value="Cote_Ivoire">Côte d\'Ivoire</option>
|
||||
<option value="Croatie">Croatie</option>
|
||||
<option value="Cuba">Cuba</option>
|
||||
<option value="Danemark">Danemark</option>
|
||||
<option value="Djibouti">Djibouti</option>
|
||||
<option value="Dominique">Dominique</option>
|
||||
<option value="Egypte">Égypte</option>
|
||||
<option value="Emirats_arabes_unis">Émirats arabes unis</option>
|
||||
<option value="Equateur">Équateur</option>
|
||||
<option value="Erythree">Érythrée</option>
|
||||
<option value="Espagne">Espagne</option>
|
||||
<option value="Estonie">Estonie</option>
|
||||
<option value="Etats-Unis">États-Unis</option>
|
||||
<option value="Ethiopie">Éthiopie</option>
|
||||
<option value="Fidji">Fidji</option>
|
||||
<option value="Finlande">Finlande</option>
|
||||
<option value="France" selected>France</option>
|
||||
<option value="Gabon">Gabon</option>
|
||||
<option value="Gambie">Gambie</option>
|
||||
<option value="Georgie">Géorgie</option>
|
||||
<option value="Ghana">Ghana</option>
|
||||
<option value="Grèce">Grèce</option>
|
||||
<option value="Grenade">Grenade</option>
|
||||
<option value="Guatemala">Guatemala</option>
|
||||
<option value="Guinee">Guinée</option>
|
||||
<option value="Guinee-Bissao">Guinée-Bissao</option>
|
||||
<option value="Guinee_equatoriale">Guinée équatoriale</option>
|
||||
<option value="Guyana">Guyana</option>
|
||||
<option value="Haiti">Haïti</option>
|
||||
<option value="Honduras">Honduras</option>
|
||||
<option value="Hongrie">Hongrie</option>
|
||||
<option value="Inde">Inde</option>
|
||||
<option value="Indonesie">Indonésie</option>
|
||||
<option value="Iran">Iran</option>
|
||||
<option value="Iraq">Iraq</option>
|
||||
<option value="Irlande">Irlande</option>
|
||||
<option value="Islande">Islande</option>
|
||||
<option value="Israël">Israël</option>
|
||||
<option value="Italie">Italie</option>
|
||||
<option value="Jamaique">Jamaïque</option>
|
||||
<option value="Japon">Japon</option>
|
||||
<option value="Jordanie">Jordanie</option>
|
||||
<option value="Kazakhstan">Kazakhstan</option>
|
||||
<option value="Kenya">Kenya</option>
|
||||
<option value="Kirghizistan">Kirghizistan</option>
|
||||
<option value="Kiribati">Kiribati</option>
|
||||
<option value="Koweit">Koweït</option>
|
||||
<option value="Laos">Laos</option>
|
||||
<option value="Lesotho">Lesotho</option>
|
||||
<option value="Lettonie">Lettonie</option>
|
||||
<option value="Liban">Liban</option>
|
||||
<option value="Liberia">Liberia</option>
|
||||
<option value="Libye">Libye</option>
|
||||
<option value="Liechtenstein">Liechtenstein</option>
|
||||
<option value="Lituanie">Lituanie</option>
|
||||
<option value="Luxembourg">Luxembourg</option>
|
||||
<option value="Macedoine">Macédoine</option>
|
||||
<option value="Madagascar">Madagascar</option>
|
||||
<option value="Malaisie">Malaisie</option>
|
||||
<option value="Malawi">Malawi</option>
|
||||
<option value="Maldives">Maldives</option>
|
||||
<option value="Mali">Mali</option>
|
||||
<option value="Malte">Malte</option>
|
||||
<option value="Maroc">Maroc</option>
|
||||
<option value="Marshall">Marshall</option>
|
||||
<option value="Maurice">Maurice</option>
|
||||
<option value="Mauritanie">Mauritanie</option>
|
||||
<option value="Mexique">Mexique</option>
|
||||
<option value="Micronesie">Micronésie</option>
|
||||
<option value="Moldavie">Moldavie</option>
|
||||
<option value="Monaco">Monaco</option>
|
||||
<option value="Mongolie">Mongolie</option>
|
||||
<option value="Mozambique">Mozambique</option>
|
||||
<option value="Namibie">Namibie</option>
|
||||
<option value="Nauru">Nauru</option>
|
||||
<option value="Nepal">Népal</option>
|
||||
<option value="Nicaragua">Nicaragua</option>
|
||||
<option value="Niger">Niger</option>
|
||||
<option value="Nigeria">Nigeria</option>
|
||||
<option value="Niue">Niue</option>
|
||||
<option value="Norvège">Norvège</option>
|
||||
<option value="Nouvelle-Zelande">Nouvelle-Zélande</option>
|
||||
<option value="Oman">Oman</option>
|
||||
<option value="Ouganda">Ouganda</option>
|
||||
<option value="Ouzbekistan">Ouzbékistan</option>
|
||||
<option value="Pakistan">Pakistan</option>
|
||||
<option value="Panama">Panama</option>
|
||||
<option value="Papouasie-Nouvelle_Guinee">Papouasie - Nouvelle Guinée</option>
|
||||
<option value="Paraguay">Paraguay</option>
|
||||
<option value="Pays-Bas">Pays-Bas</option>
|
||||
<option value="Perou">Pérou</option>
|
||||
<option value="Philippines">Philippines</option>
|
||||
<option value="Pologne">Pologne</option>
|
||||
<option value="Portugal">Portugal</option>
|
||||
<option value="Qatar">Qatar</option>
|
||||
<option value="Republique_centrafricaine">République centrafricaine</option>
|
||||
<option value="Republique_dominicaine">République dominicaine</option>
|
||||
<option value="Republique_tcheque">République tchèque</option>
|
||||
<option value="Roumanie">Roumanie</option>
|
||||
<option value="Royaume-Uni">Royaume-Uni</option>
|
||||
<option value="Russie">Russie</option>
|
||||
<option value="Rwanda">Rwanda</option>
|
||||
<option value="Saint-Christophe-et-Nieves">Saint-Christophe-et-Niévès</option>
|
||||
<option value="Sainte-Lucie">Sainte-Lucie</option>
|
||||
<option value="Saint-Marin">Saint-Marin </option>
|
||||
<option value="Saint-Siège">Saint-Siège, ou leVatican</option>
|
||||
<option value="Saint-Vincent-et-les_Grenadines">Saint-Vincent-et-les Grenadines</option>
|
||||
<option value="Salomon">Salomon</option>
|
||||
<option value="Salvador">Salvador</option>
|
||||
<option value="Samoa_occidentales">Samoa occidentales</option>
|
||||
<option value="Sao_Tome-et-Principe">Sao Tomé-et-Principe</option>
|
||||
<option value="Senegal">Sénégal</option>
|
||||
<option value="Seychelles">Seychelles</option>
|
||||
<option value="Sierra_Leone">Sierra Leone</option>
|
||||
<option value="Singapour">Singapour</option>
|
||||
<option value="Slovaquie">Slovaquie</option>
|
||||
<option value="Slovenie">Slovénie</option>
|
||||
<option value="Somalie">Somalie</option>
|
||||
<option value="Soudan">Soudan</option>
|
||||
<option value="Sri_Lanka">Sri Lanka</option>
|
||||
<option value="Sued">Suède</option>
|
||||
<option value="Suisse">Suisse</option>
|
||||
<option value="Suriname">Suriname</option>
|
||||
<option value="Swaziland">Swaziland</option>
|
||||
<option value="Syrie">Syrie</option>
|
||||
<option value="Tadjikistan">Tadjikistan</option>
|
||||
<option value="Tanzanie">Tanzanie</option>
|
||||
<option value="Tchad">Tchad</option>
|
||||
<option value="Thailande">Thaïlande</option>
|
||||
<option value="Togo">Togo</option>
|
||||
<option value="Tonga">Tonga</option>
|
||||
<option value="Trinite-et-Tobago">Trinité-et-Tobago</option>
|
||||
<option value="Tunisie">Tunisie</option>
|
||||
<option value="Turkmenistan">Turkménistan</option>
|
||||
<option value="Turquie">Turquie</option>
|
||||
<option value="Tuvalu">Tuvalu</option>
|
||||
<option value="Ukraine">Ukraine</option>
|
||||
<option value="Uruguay">Uruguay</option>
|
||||
<option value="Vanuatu">Vanuatu</option>
|
||||
<option value="Venezuela">Venezuela</option>
|
||||
<option value="Viet_Nam">Viêt Nam</option>
|
||||
<option value="Yemen">Yémen</option>
|
||||
<option value="Yougoslavie">Yougoslavie</option>
|
||||
<option value="Zaire">Zaïre</option>
|
||||
<option value="Zambie">Zambie</option>
|
||||
<option value="Zimbabwe">Zimbabwe</option>
|
||||
</select></p>',
|
||||
);
|
||||
|
||||
$guestbook = array(
|
||||
'fields' => apply_filters( 'comment_form_default_fields', $fields ),
|
||||
//'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
|
||||
'comment_field' => '<br /><p class="comment-form-comment"><label for="comment">' . __( 'Your message','twentyten-child' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
|
||||
'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.','twentyten-child' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
|
||||
'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>','twentyten-child' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
|
||||
//'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
|
||||
'comment_notes_before' => '',
|
||||
//'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
|
||||
'comment_notes_after' => '',
|
||||
'id_form' => 'commentform',
|
||||
'id_submit' => 'submit',
|
||||
//'title_reply' => __( 'Leave a Reply' ),
|
||||
'title_reply' => __( 'Leave a Message','twentyten-child' ),
|
||||
'title_reply_to' => __( 'Leave a Reply to %s','twentyten-child' ),
|
||||
'cancel_reply_link' => __( 'Cancel reply','twentyten-child' ),
|
||||
'label_submit' => __( 'Sign Guestbook','twentyten-child' )
|
||||
);
|
||||
|
||||
comment_form($guestbook); ?>
|
||||
|
||||
</div><!-- #comments -->
|
||||
72
_livre-d-or.php
Normal file
72
_livre-d-or.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Guestbook
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Ten
|
||||
* @since Twenty Ten 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="container2">
|
||||
<div id="content2" role="main">
|
||||
|
||||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
||||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php //twentyten_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten-child' ), 'after' => '</div>' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
|
||||
<div id="entry-author-info">
|
||||
<div id="author-avatar">
|
||||
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>
|
||||
</div><!-- #author-avatar -->
|
||||
<div id="author-description">
|
||||
<h2><?php printf( esc_attr__( 'About %s', 'twentyten-child' ), get_the_author() ); ?></h2>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<div id="author-link">
|
||||
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
|
||||
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyten-child' ), get_the_author() ); ?>
|
||||
</a>
|
||||
</div><!-- #author-link -->
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- #entry-author-info -->
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="entry-utility">
|
||||
<?php //twentyten_posted_in(); ?>
|
||||
<?php //edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
|
||||
<?php
|
||||
$imagesDir = '../zenphoto/albums/photos-du-mois';
|
||||
$imageURL = getRandomFile($imagesDir);
|
||||
$RandomImage = '../' . $imagesDir . '/' . $imageURL;
|
||||
echo '<div id="randomImg"><img src="' . $RandomImage . '" alt="" title="" /></div>';
|
||||
?>
|
||||
|
||||
|
||||
<?php //comments_template( '', true );
|
||||
comments_template('/livre-comments.php');
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #container -->
|
||||
|
||||
<?php //get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
76
author.php
Normal file
76
author.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Author Archive pages.
|
||||
*
|
||||
* Used to display archive-type pages for posts by an author.
|
||||
*
|
||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php
|
||||
/* Queue the first post, that way we know
|
||||
* what author we're dealing with (if that is the case).
|
||||
*
|
||||
* We reset this later so we can run the loop
|
||||
* properly with a call to rewind_posts().
|
||||
*/
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<!--header class="archive-header">
|
||||
<!--h1 class="archive-title"><?php //printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1-->
|
||||
<!--/header--><!-- .archive-header -->
|
||||
|
||||
<?php
|
||||
/* Since we called the_post() above, we need to
|
||||
* rewind the loop back to the beginning that way
|
||||
* we can run the loop properly, in full.
|
||||
*/
|
||||
rewind_posts();
|
||||
?>
|
||||
|
||||
<?php //twentytwelve_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// If a user has filled out their description, show a bio on their entries.
|
||||
if ( get_the_author_meta( 'description' ) ) : ?>
|
||||
<div class="author-info">
|
||||
<div class="author-avatar">
|
||||
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 60 ) ); ?>
|
||||
</div><!-- .author-avatar -->
|
||||
<div class="author-description">
|
||||
<h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>
|
||||
<p><?php the_author_meta( 'description' ); ?></p>
|
||||
</div><!-- .author-description -->
|
||||
</div><!-- .author-info -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentytwelve_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
53
category.php
Normal file
53
category.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Category pages.
|
||||
*
|
||||
* Used to display archive-type pages for posts in a category.
|
||||
*
|
||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<header class="archive-header">
|
||||
<!--h1 class="archive-title"><?php //printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . //single_cat_title( '', false ) . '</span>' ); ?></h1-->
|
||||
|
||||
<?php if ( category_description() ) : // Show an optional category description ?>
|
||||
<div class="archive-meta"><?php echo category_description(); ?></div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .archive-header -->
|
||||
|
||||
<?php
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) : the_post();
|
||||
|
||||
/* Include the post format-specific template for the content. If you want to
|
||||
* this in a child theme then include a file called called content-___.php
|
||||
* (where ___ is the post format) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
endwhile;
|
||||
|
||||
twentytwelve_content_nav( 'nav-below' );
|
||||
?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
64
comments-livre.php
Normal file
64
comments-livre.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Comments.
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentytwelve_comment() which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* If the current post is protected by a password and
|
||||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() )
|
||||
return;
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
||||
<?php // You can start editing here -- including this comment! ?>
|
||||
|
||||
<?php //comment_form();
|
||||
comment_form_livredor();
|
||||
?>
|
||||
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentytwelve' ),
|
||||
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ) ); ?>
|
||||
</ol><!-- .commentlist -->
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-below" class="navigation" role="navigation">
|
||||
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentytwelve' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentytwelve' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<?php
|
||||
/* If there are no comments and comments are closed, let's leave a note.
|
||||
* But we only want the note on posts and pages that had comments in the first place.
|
||||
*/
|
||||
if ( ! comments_open() && get_comments_number() ) : ?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
|
||||
</div><!-- #comments .comments-area -->
|
||||
73
comments.php
Normal file
73
comments.php
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Comments.
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentytwelve_comment() which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* If the current post is protected by a password and
|
||||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() )
|
||||
return;
|
||||
?>
|
||||
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
||||
<?php // You can start editing here -- including this comment! ?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title bouton">
|
||||
<span id="soumettre"><?php _e( 'Display' , 'twentytwelve-child' ); ?></span>
|
||||
<?php
|
||||
//echo '<span id="soumettre">Afficher</span> ';
|
||||
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentytwelve' ),
|
||||
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<div class="commentaires <?php if (get_option( 'display_comment' ) != ('1')) echo 'masquer'; ?>">
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ) ); ?>
|
||||
</ol><!-- .commentlist -->
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-below" class="navigation" role="navigation">
|
||||
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentytwelve' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentytwelve' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<?php
|
||||
/* If there are no comments and comments are closed, let's leave a note.
|
||||
* But we only want the note on posts and pages that had comments in the first place.
|
||||
*/
|
||||
if ( ! comments_open() && get_comments_number() ) : ?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
</div><!-- #commentaires-->
|
||||
<?php else: ?>
|
||||
|
||||
|
||||
|
||||
<?php no_comment_form(); ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
|
||||
|
||||
</div><!-- #comments .comments-area -->
|
||||
28
content-aside.php
Normal file
28
content-aside.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Aside post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="aside">
|
||||
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||||
<div class="entry-content">
|
||||
<?php the_content();
|
||||
//the_content( __( ' ', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</div><!-- .aside -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php date_auteur_meta_post_format(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php comments_popup_link( __('No comments yet', 'twentytwelve-child' ), __('1 comment', 'twentytwelve-child' ), __('% comments', 'twentytwelve-child' ), 'comments-link', __('Comments are off for this post', 'twentytwelve-child' )); ?>
|
||||
<?php endif; // comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post -->
|
||||
29
content-image.php
Normal file
29
content-image.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Image post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark">
|
||||
<h1><?php the_title(); ?></h1>
|
||||
</a>
|
||||
<?php date_auteur_meta_post_format(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php comments_popup_link( __('No comments yet', 'twentytwelve-child' ), __('1 comment', 'twentytwelve-child' ), __('% comments', 'twentytwelve-child' ), 'comments-link', __('Comments are off for this post', 'twentytwelve-child' )); ?>
|
||||
<?php endif; // comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
|
||||
|
||||
</article><!-- #post -->
|
||||
24
content-link.php
Normal file
24
content-link.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Link post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header><?php _e( 'Link', 'twentytwelve' ); ?></header>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content();
|
||||
//the_content( __( ' ', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php date_auteur_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
|
||||
</article><!-- #post -->
|
||||
41
content-livre.php
Normal file
41
content-livre.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* The template used for displaying page content in page.php
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
<?php $imagesDir = '../zenphoto/albums/photos-du-mois';
|
||||
$imageURL = getRandomFile($imagesDir);
|
||||
// depuis le template
|
||||
$RandomImage = '../' . $imagesDir . '/' . $imageURL;
|
||||
// depuis watermark2.php
|
||||
$RandomImage2 = $imagesDir . '/' . $imageURL;
|
||||
|
||||
echo '<div class="cadre"><img src="../../photoblog/watermark2.php?src=' . $RandomImage2 .'" alt="Livre d\'Or" title="" /></div>';
|
||||
//echo '<div class="cadre"><img src="' . $RandomImage .'" alt="Livre d\'Or" title="" /></div>';
|
||||
?>
|
||||
|
||||
<?php //wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post -->
|
||||
|
||||
|
||||
|
||||
|
||||
29
content-quote.php
Normal file
29
content-quote.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Quote post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header></header>
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content();
|
||||
//the_content( __( ' ', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php date_auteur_meta(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php comments_popup_link( __('No comments yet', 'twentytwelve-child' ), __('1 comment', 'twentytwelve-child' ), __('% comments', 'twentytwelve-child' ), 'comments-link', __('Comments are off for this post', 'twentytwelve-child' )); ?>
|
||||
<?php endif; // comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
|
||||
|
||||
</article><!-- #post -->
|
||||
33
content-status.php
Normal file
33
content-status.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying posts in the Status post format
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="entry-header">
|
||||
<header>
|
||||
<h1><?php the_author(); ?></h1>
|
||||
<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?></h2>
|
||||
</header>
|
||||
<?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="thecomment">
|
||||
<?php comments_popup_link( '<span>' . '0' . '</span>', '1', '%' ); ?>
|
||||
<?php //comments_popup_link( '<span>' . __( '0', 'twentytwelve' ) . '</span>', __( '1', 'twentytwelve' ), __( '%', 'twentytwelve' ) ); ?>
|
||||
</span>
|
||||
<?php endif; // comments_open() ?>
|
||||
</div><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post -->
|
||||
188
content.php
Normal file
188
content.php
Normal file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
/**
|
||||
* The default template for displaying content. Used for both single and index/archive/search.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
git
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php if ( is_sticky() && is_home() && ! is_paged() ) : ?>
|
||||
<div class="featured-post">
|
||||
<?php _e( 'Featured post', 'twentytwelve' ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<header class="entry-header">
|
||||
<?php //the_post_thumbnail(); ?>
|
||||
|
||||
<h1 class="entry-title">
|
||||
<?php if ( is_single() ) : ?>
|
||||
<?php the_title(); ?>
|
||||
<?php else : ?>
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<?php endif; // is_single() ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="thecomment">
|
||||
<?php //comments_popup_link( '<span>' . __( '0', 'twentytwelve' ) . '</span>', __( '1', 'twentytwelve' ), __( '%', 'twentytwelve' ) ); ?>
|
||||
<?php comments_popup_link( '<span>' . '0' . '</span>', '1', '%' ); ?>
|
||||
</span>
|
||||
<?php endif; // comments_open() ?>
|
||||
</h1>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php //twentytwelve_entry_meta(); ?>
|
||||
<?php date_auteur_meta();
|
||||
// POSTED IN FACEBOOK BY MYTHEMESHOP ON MAY 16, 2012 ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '(<span class="edit-link">', '</span>)' ); ?>
|
||||
</div>
|
||||
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php $tags = wp_get_post_tags($post->ID); ?>
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
||||
<?php //the_content(' '); ?>
|
||||
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php //twentytwelve_entry_meta(); ?>
|
||||
<?php //edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<!--div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
|
||||
</div--><!-- .comments-link -->
|
||||
<?php endif; // comments_open() ?>
|
||||
|
||||
<?php if (function_exists("st_related_posts") && !is_home()) {
|
||||
//st_related_posts('title=<h4 class="st-related-title">'.__( 'Related posts','unnamed').'</h4>&nopoststext='. __('','unnamed'). '&number=10&orderby=post_date&order=DESC');
|
||||
$arg = array(
|
||||
'xformat' => __('<a href="%post_permalink%" title="%post_title% (%post_date%)">%post_title%</a>', 'simpletags')
|
||||
);
|
||||
//st_related_posts($arg);
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- articles relatifs -->
|
||||
<?php
|
||||
//if ( !is_home() && (get_option( 'similar' ) == ('1')) ) {
|
||||
if ( is_singular() && (get_option( 'similar' ) == ('1')) ) {
|
||||
$orig_post = $post;
|
||||
global $post;
|
||||
//$tags = wp_get_post_tags($post->ID);
|
||||
|
||||
if ($tags) {
|
||||
$tag_ids = array();
|
||||
foreach ($tags as $individual_tag) {
|
||||
$tag_ids[] = $individual_tag->term_id;
|
||||
//print_r($individual_tag);
|
||||
}
|
||||
//echo $tag_ids[0] . " - "; // 22 GP - 1
|
||||
//echo $tag_ids[1]; // 30 moto - 5
|
||||
$args = array(
|
||||
'tag__in' => $tag_ids,
|
||||
'post__not_in' => array($post->ID),
|
||||
'posts_per_page' => 4,
|
||||
'caller_get_posts' => 1
|
||||
);
|
||||
|
||||
$my_query= new wp_query($args);
|
||||
|
||||
if( $my_query->have_posts() ) {
|
||||
?>
|
||||
<div class="relatedposts">
|
||||
<h3><?php _e('Related posts', 'twentytwelve-child'); ?>:</h3>
|
||||
<?php
|
||||
while ( $my_query->have_posts() ) {
|
||||
$my_query->the_post();
|
||||
?>
|
||||
<div class="relatedthumb">
|
||||
<?php $vignette = first_image(get_the_ID());
|
||||
//echo $vignette;
|
||||
/*
|
||||
$attr = array(
|
||||
'src' => $vignette,
|
||||
'class' => "",
|
||||
'alt' => "",
|
||||
);
|
||||
the_post_thumbnail('similar-thumbnail', $attr);
|
||||
<!--img src="<?php //echo get_post_meta($post->ID, 'thumb', true) ?>" alt="<?php //the_title(); ?>" /-->
|
||||
*/
|
||||
|
||||
$vignette = get_bloginfo('stylesheet_directory') . "/timthumb.php?w=150&h=100&src=" . $vignette;
|
||||
?>
|
||||
<a rel="external" href="<?php the_permalink() ?>">
|
||||
<img src="<?php echo $vignette; ?>" alt="<?php the_title(); ?>" />
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php
|
||||
} // /while
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
} // /if $my_query
|
||||
} // if ($tags)
|
||||
$post = $orig_post;
|
||||
wp_reset_query();
|
||||
|
||||
} // !is_home()
|
||||
?>
|
||||
<!-- /articles relatifs -->
|
||||
|
||||
|
||||
<p class="cls"></p>
|
||||
|
||||
<?php if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() && (get_option( 'description' ) == ('1')) ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. ?>
|
||||
<div class="author-info">
|
||||
<div class="author-avatar">
|
||||
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ) ); ?>
|
||||
</div><!-- .author-avatar -->
|
||||
<div class="author-description">
|
||||
<h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>
|
||||
<p><?php the_author_meta( 'description' ); ?></p>
|
||||
<div class="author-link">
|
||||
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); ?>
|
||||
</a>
|
||||
</div><!-- .author-link -->
|
||||
</div><!-- .author-description -->
|
||||
</div><!-- .author-info -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if(!empty($tags) || !is_singular()) : ?>
|
||||
<div class="below-content tagged">
|
||||
<?php if(has_tag()) : ?>
|
||||
<div class="tags">
|
||||
<svg version="1.1" width="18px" height="18px" viewBox="0 0 48 48">
|
||||
<path d="M 41.29511 48 L 41.29511 .091884613 L 6.999998 .091884613 L 6.999998 47.78994 L 24.042513 30.74741 Z" />
|
||||
</svg>
|
||||
<div class="the_tags">
|
||||
<?php the_tags('') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<!--/div-->
|
||||
<?php endif ?>
|
||||
|
||||
<div class="update">
|
||||
<?php twentytwelve_post_updated(); ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div> <!-- /below-content -->
|
||||
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post -->
|
||||
46
footer.php
Normal file
46
footer.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying the footer.
|
||||
*
|
||||
* Contains footer content and the closing of the
|
||||
* #main and #page div elements.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?>
|
||||
</div><!-- #main .wrapper -->
|
||||
<footer id="colophon" role="contentinfo">
|
||||
|
||||
<?php
|
||||
/* footer sidebar */
|
||||
if ( ! is_404() ) : ?>
|
||||
<div id="footer-widgets" class="widget-area three">
|
||||
<?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
|
||||
<?php dynamic_sidebar( 'sidebar-4' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
|
||||
<?php dynamic_sidebar( 'sidebar-5' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-6' ) ) : ?>
|
||||
<?php dynamic_sidebar( 'sidebar-6' ); ?>
|
||||
<?php endif; ?>
|
||||
</div><!-- #footer-widgets -->
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="site-info">
|
||||
<?php do_action( 'twentytwelve_credits' ); ?>
|
||||
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
|
||||
<button id="btn_up">En haut</button>
|
||||
|
||||
<?php wp_footer(); ?><?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.
|
||||
</body>
|
||||
</html>
|
||||
1274
functions.php
Normal file
1274
functions.php
Normal file
File diff suppressed because it is too large
Load Diff
127
header.php
Normal file
127
header.php
Normal file
@@ -0,0 +1,127 @@
|
||||
<?php //define('SERVERPATH',$_SERVER['DOCUMENT_ROOT'].'/zenphoto');
|
||||
//define('WEBPATH','../zenphoto');
|
||||
//require_once(SERVERPATH.'/zp-core/template-functions.php');
|
||||
?><?php
|
||||
/**
|
||||
* The Header for our theme.
|
||||
*
|
||||
* Displays all of the <head> section and everything up till <div id="main">
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<!--[if IE 7]>
|
||||
<html class="ie ie7" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html class="ie ie8" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if !(IE 7) | !(IE 8) ]><!-->
|
||||
<html <?php language_attributes(); ?>>
|
||||
<!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>
|
||||
<?php /**/
|
||||
if ( is_404() ) printf( __('%1$s | %2$s', 'twentytwelve-child' ) , __( 'Page not Found' , 'twentytwelve-child' ), get_bloginfo('sitename'));
|
||||
elseif ( is_home() ) printf( __('%1$s | %2$s', 'twentytwelve-child' ) , get_bloginfo('description'), get_bloginfo('sitename'));
|
||||
elseif ( is_category() ) printf( __( 'Category Archives « %1$s » | %2$s', 'twentytwelve-child' ), single_cat_title( '', false ), get_bloginfo('sitename') );
|
||||
elseif ( is_tag() ) printf( __( 'Tag Archives « %s » | %2$s', 'twentytwelve-child' ), single_tag_title( '', false ), get_bloginfo('sitename') );
|
||||
elseif ( is_author() ) {
|
||||
$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
|
||||
printf( __( 'Author Archives « %1$s » | %2$s', 'twentytwelve-child' ), $curauth->display_name, get_bloginfo('sitename') );
|
||||
}
|
||||
else wp_title( '|', true, 'right' );
|
||||
?>
|
||||
</title>
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||
<?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/slider.js"></script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".bouton").click(function() {
|
||||
$(".commentaires").toggle();
|
||||
|
||||
/*$("#soumettre").val('Vous avez déjà fait un envoi');*/
|
||||
if ($("#soumettre").text() == 'Afficher') {
|
||||
$("#soumettre").text('Masquer');
|
||||
} else {
|
||||
$("#soumettre").text('Afficher');
|
||||
}
|
||||
|
||||
});
|
||||
/*
|
||||
$(".afficher").click(function() {
|
||||
$(this).toggle();
|
||||
});
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$('#btn_up').click(function() {
|
||||
$('html,body').animate({scrollTop: 0}, 'slow');
|
||||
});
|
||||
|
||||
$(window).scroll(function(){
|
||||
if($(window).scrollTop()<500){
|
||||
$('#btn_up').fadeOut();
|
||||
}else{
|
||||
$('#btn_up').fadeIn();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- SwipeBox http://brutaldesign.github.io/swipebox/
|
||||
Voir aussi FancyBox 3 http://fancyapps.com/fancybox/beta/
|
||||
-->
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/swipebox/jquery.swipebox.js"></script>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/js/swipebox/swipebox.css">
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$(".swipebox").swipebox({
|
||||
hideBarsDelay : 3000 // 0 to always show caption and action bar
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<div id="page" class="hfeed site">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<hgroup>
|
||||
<?php if ( is_front_page() ) : ?><h1><?php bloginfo( 'name' ); ?></h1><?php else : ?><H1><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></H1><?php endif ?>
|
||||
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
|
||||
<div class="header-search"><?php if ( !is_404() ) get_search_form(); ?></div>
|
||||
|
||||
</hgroup>
|
||||
|
||||
<nav id="site-navigation" class="main-navigation" role="navigation">
|
||||
<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
|
||||
<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
|
||||
</nav><!-- #site-navigation -->
|
||||
|
||||
<?php $header_image = get_header_image();
|
||||
if ( ! empty( $header_image ) ) : ?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
|
||||
<?php endif; ?>
|
||||
</header><!-- #masthead -->
|
||||
|
||||
<div id="main" class="wrapper">
|
||||
|
||||
127
index.php
Normal file
127
index.php
Normal file
@@ -0,0 +1,127 @@
|
||||
<?php
|
||||
/**
|
||||
* The main template file.
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* For example, it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (is_home() && !is_paged()) { ?>
|
||||
|
||||
<div class="slider">
|
||||
<ul class="slideshow">
|
||||
<?php
|
||||
$first = 1;
|
||||
//echo get_bloginfo( 'template_url' ); // http://alubook.local/wordpress/wp-content/themes/twentytwelve
|
||||
//echo bloginfo('stylesheet_directory'); // http://alubook.local/wordpress/wp-content/themes/twentytwelve-child
|
||||
|
||||
$args = array( 'orderby' => 'rand', 'posts_per_page' => 8 );
|
||||
$rand_query = new WP_Query( $args );
|
||||
|
||||
/*-----------------------------*/
|
||||
while ( $rand_query->have_posts() ) : $rand_query->the_post();
|
||||
|
||||
$format = get_post_format();
|
||||
// false => default format (standart)
|
||||
if ( false === $format ) {
|
||||
|
||||
$first_img = first_image(get_the_ID()); //functions.php - ligne 887
|
||||
|
||||
// if $first_img exist
|
||||
|
||||
$titre = get_the_title();
|
||||
$resume = the_excerpt_max_charlength(240);
|
||||
//( $req ? " aria-required='true'" : '' )
|
||||
echo '<li ' . (($first == 1) ? "class='show'" : '') . '>';
|
||||
//echo '<li class="show">';
|
||||
echo '<a href="' . get_permalink() . '" title="' . get_the_title() . '">';
|
||||
echo '<img src="'. get_bloginfo('stylesheet_directory') . '/timthumb.php?w=750&h=200&src=' . $first_img . '" title="' . $titre . '" alt="' . $resume . '" />';
|
||||
echo '</a>';
|
||||
echo '</li>';
|
||||
$first++;
|
||||
|
||||
} // if
|
||||
|
||||
endwhile;
|
||||
|
||||
/*-----------------------------
|
||||
<ul class="slideshow">
|
||||
<li class="show"><a href="http://www.google.com"><img src="images/1.jpg" width="800" height="534" title="Slide 1" alt="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor."/></a></li>
|
||||
<li><a href="http://www.yahoo.com"><img src="images/2.jpg" width="800" height="534" title="Slide 2" alt="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor."/></a></li>
|
||||
<li><a href="http://www.msn.com"><img src="images/3.jpg" width="800" height="534" title="Slide 3" alt="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor."/></a></li>
|
||||
</ul>
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
</ul>
|
||||
</div> <!-- slider -->
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
|
||||
<?php } // is_front_page ?>
|
||||
|
||||
<?php //if ( function_exists( "easingsliderlite" ) ) { easingsliderlite(); } ?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentytwelve_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
|
||||
<?php if ( current_user_can( 'edit_posts' ) ) :
|
||||
// Show a different message to a logged-in user who can add posts.
|
||||
?>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?></p>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php else :
|
||||
// Show the default message to everyone else.
|
||||
?>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; // end current_user_can() check ?>
|
||||
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; // end have_posts() check ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
1
js/jquery.touchwipe.min.js
vendored
Executable file
1
js/jquery.touchwipe.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
71
js/slider.js
Normal file
71
js/slider.js
Normal file
@@ -0,0 +1,71 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
//Execute the slideShow, set 4 seconds for each images
|
||||
slideShow(4000);
|
||||
|
||||
});
|
||||
|
||||
function slideShow(speed) {
|
||||
|
||||
//append a LI item to the UL list for displaying caption
|
||||
$('ul.slideshow').append('<li id="slideshow-caption" class="caption"><div class="slideshow-caption-container"><h3></h3><p></p></div></li>');
|
||||
|
||||
//Set the opacity of all images to 0
|
||||
$('ul.slideshow li').css({opacity: 0.0});
|
||||
|
||||
//Get the first image and display it (set it to full opacity)
|
||||
$('ul.slideshow li:first').css({opacity: 1.0}).addClass('show');
|
||||
|
||||
//Get the caption of the first image from REL attribute and display it
|
||||
$('#slideshow-caption h3').html($('ul.slideshow li.show').find('img').attr('title'));
|
||||
$('#slideshow-caption p').html($('ul.slideshow li.show').find('img').attr('alt'));
|
||||
|
||||
//Display the caption
|
||||
$('#slideshow-caption').css({opacity: 0.5, bottom:0});
|
||||
|
||||
//Call the gallery function to run the slideshow
|
||||
var timer = setInterval('gallery()',speed);
|
||||
|
||||
//pause the slideshow on mouse over
|
||||
$('ul.slideshow').hover(
|
||||
function () {
|
||||
clearInterval(timer);
|
||||
},
|
||||
function () {
|
||||
timer = setInterval('gallery()',speed);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
function gallery() {
|
||||
|
||||
//if no IMGs have the show class, grab the first image
|
||||
var current = ($('ul.slideshow li.show')? $('ul.slideshow li.show') : $('#ul.slideshow li:first'));
|
||||
|
||||
//trying to avoid speed issue
|
||||
if(current.queue('fx').length == 0) {
|
||||
|
||||
//Get next image, if it reached the end of the slideshow, rotate it back to the first image
|
||||
var next = ((current.next().length) ? ((current.next().attr('id') == 'slideshow-caption')? $('ul.slideshow li:first') :current.next()) : $('ul.slideshow li:first'));
|
||||
|
||||
//Get next image caption
|
||||
var title = next.find('img').attr('title');
|
||||
var desc = next.find('img').attr('alt');
|
||||
|
||||
//Set the fade in effect for the next image, show class has higher z-index
|
||||
next.css({opacity: 0.0}).addClass('show').animate({opacity: 1.0}, 1000);
|
||||
|
||||
//Hide the caption first, and then set and display the caption
|
||||
$('#slideshow-caption').slideToggle(300, function () {
|
||||
$('#slideshow-caption h3').html(title);
|
||||
$('#slideshow-caption p').html(desc);
|
||||
$('#slideshow-caption').slideToggle(500);
|
||||
});
|
||||
|
||||
//Hide the current image
|
||||
current.animate({opacity: 0.0}, 1000).removeClass('show');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
1
js/swipebox/img/icons.svg
Executable file
1
js/swipebox/img/icons.svg
Executable file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> <!-- Generator: IcoMoon.io --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="120" height="24" viewBox="0 0 120 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M 17.384,17.705q0.00,0.536 -0.375,0.911l-1.821,1.821q-0.375,0.375 -0.911,0.375t-0.911-0.375l-3.938-3.938l-3.938,3.938q-0.375,0.375 -0.911,0.375t-0.911-0.375l-1.821-1.821q-0.375-0.375 -0.375-0.911t 0.375-0.911l 3.938-3.938l-3.938-3.938q-0.375-0.375 -0.375-0.911t 0.375-0.911l 1.821-1.821q 0.375-0.375 0.911-0.375t 0.911,0.375l 3.938,3.938l 3.938-3.938q 0.375-0.375 0.911-0.375t 0.911,0.375l 1.821,1.821q 0.375,0.375 0.375,0.911 t-0.375,0.911l-3.938,3.938l 3.938,3.938q 0.375,0.375 0.375,0.911zM 57.938,21.067l-8.732-8.719q-0.496-0.496 -0.496-1.212t 0.496-1.212l 8.732-8.719q 0.496-0.496 1.212-0.496t 1.212,0.496l 1.004,1.004q 0.496,0.496 0.496,1.212t-0.496,1.212l-6.509,6.509l 6.509,6.496q 0.496,0.509 0.496,1.219t-0.496,1.205l-1.004,1.004q-0.496,0.496 -1.212,0.496t-1.212-0.496zM 110.719,11.143q0.00,0.696 -0.496,1.219l-8.732,8.719q-0.496,0.496 -1.205,0.496t-1.205-0.496l-1.018-1.004q-0.496-0.522 -0.496-1.219q0.00-0.71 0.496-1.205l 6.509-6.509l-6.509-6.496q-0.496-0.522 -0.496-1.219q0.00-0.71 0.496-1.205l 1.018-1.004q 0.482-0.509 1.205-0.509t 1.205,0.509l 8.732,8.719q 0.496,0.496 0.496,1.205z"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
594
js/swipebox/jquery.swipebox.js
Executable file
594
js/swipebox/jquery.swipebox.js
Executable file
@@ -0,0 +1,594 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
|
||||
@author Constantin Saguin - @brutaldesign
|
||||
@link http://csag.co
|
||||
@github http://github.com/brutaldesign/swipebox
|
||||
@version 1.2.1
|
||||
@license MIT License
|
||||
|
||||
----------------------------------------------------------------------------------------------*/
|
||||
|
||||
;(function (window, document, $, undefined) {
|
||||
|
||||
$.swipebox = function(elem, options) {
|
||||
|
||||
var defaults = {
|
||||
useCSS : true,
|
||||
initialIndexOnArray : 0,
|
||||
hideBarsDelay : 3000,
|
||||
videoMaxWidth : 1140,
|
||||
vimeoColor : 'CCCCCC',
|
||||
beforeOpen: null,
|
||||
afterClose: null
|
||||
},
|
||||
|
||||
plugin = this,
|
||||
elements = [], // slides array [{href:'...', title:'...'}, ...],
|
||||
elem = elem,
|
||||
selector = elem.selector,
|
||||
$selector = $(selector),
|
||||
isTouch = document.createTouch !== undefined || ('ontouchstart' in window) || ('onmsgesturechange' in window) || navigator.msMaxTouchPoints,
|
||||
supportSVG = !!(window.SVGSVGElement),
|
||||
winWidth = window.innerWidth ? window.innerWidth : $(window).width(),
|
||||
winHeight = window.innerHeight ? window.innerHeight : $(window).height(),
|
||||
html = '<div id="swipebox-overlay">\
|
||||
<div id="swipebox-slider"></div>\
|
||||
<div id="swipebox-caption"></div>\
|
||||
<div id="swipebox-action">\
|
||||
<a id="swipebox-close"></a>\
|
||||
<a id="swipebox-prev"></a>\
|
||||
<a id="swipebox-next"></a>\
|
||||
</div>\
|
||||
</div>';
|
||||
|
||||
plugin.settings = {}
|
||||
|
||||
plugin.init = function(){
|
||||
|
||||
plugin.settings = $.extend({}, defaults, options);
|
||||
|
||||
if ($.isArray(elem)) {
|
||||
|
||||
elements = elem;
|
||||
ui.target = $(window);
|
||||
ui.init(plugin.settings.initialIndexOnArray);
|
||||
|
||||
}else{
|
||||
|
||||
$selector.click(function(e){
|
||||
elements = [];
|
||||
var index , relType, relVal;
|
||||
|
||||
if (!relVal) {
|
||||
relType = 'rel';
|
||||
relVal = $(this).attr(relType);
|
||||
}
|
||||
|
||||
if (relVal && relVal !== '' && relVal !== 'nofollow') {
|
||||
$elem = $selector.filter('[' + relType + '="' + relVal + '"]');
|
||||
}else{
|
||||
$elem = $(selector);
|
||||
}
|
||||
|
||||
$elem.each(function(){
|
||||
|
||||
var title = null, href = null;
|
||||
|
||||
if( $(this).attr('title') )
|
||||
title = $(this).attr('title');
|
||||
|
||||
if( $(this).attr('href') )
|
||||
href = $(this).attr('href');
|
||||
|
||||
elements.push({
|
||||
href: href,
|
||||
title: title
|
||||
});
|
||||
});
|
||||
|
||||
index = $elem.index($(this));
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
ui.target = $(e.target);
|
||||
ui.init(index);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
plugin.refresh = function() {
|
||||
if (!$.isArray(elem)) {
|
||||
ui.destroy();
|
||||
$elem = $(selector);
|
||||
ui.actions();
|
||||
}
|
||||
}
|
||||
|
||||
var ui = {
|
||||
|
||||
init : function(index){
|
||||
if (plugin.settings.beforeOpen)
|
||||
plugin.settings.beforeOpen();
|
||||
this.target.trigger('swipebox-start');
|
||||
$.swipebox.isOpen = true;
|
||||
this.build();
|
||||
this.openSlide(index);
|
||||
this.openMedia(index);
|
||||
this.preloadMedia(index+1);
|
||||
this.preloadMedia(index-1);
|
||||
},
|
||||
|
||||
build : function(){
|
||||
var $this = this;
|
||||
|
||||
$('body').append(html);
|
||||
|
||||
if($this.doCssTrans()){
|
||||
$('#swipebox-slider').css({
|
||||
'-webkit-transition' : 'left 0.4s ease',
|
||||
'-moz-transition' : 'left 0.4s ease',
|
||||
'-o-transition' : 'left 0.4s ease',
|
||||
'-khtml-transition' : 'left 0.4s ease',
|
||||
'transition' : 'left 0.4s ease'
|
||||
});
|
||||
$('#swipebox-overlay').css({
|
||||
'-webkit-transition' : 'opacity 1s ease',
|
||||
'-moz-transition' : 'opacity 1s ease',
|
||||
'-o-transition' : 'opacity 1s ease',
|
||||
'-khtml-transition' : 'opacity 1s ease',
|
||||
'transition' : 'opacity 1s ease'
|
||||
});
|
||||
$('#swipebox-action, #swipebox-caption').css({
|
||||
'-webkit-transition' : '0.5s',
|
||||
'-moz-transition' : '0.5s',
|
||||
'-o-transition' : '0.5s',
|
||||
'-khtml-transition' : '0.5s',
|
||||
'transition' : '0.5s'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if(supportSVG){
|
||||
var bg = $('#swipebox-action #swipebox-close').css('background-image');
|
||||
bg = bg.replace('png', 'svg');
|
||||
$('#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close').css({
|
||||
'background-image' : bg
|
||||
});
|
||||
}
|
||||
|
||||
$.each( elements, function(){
|
||||
$('#swipebox-slider').append('<div class="slide"></div>');
|
||||
});
|
||||
|
||||
$this.setDim();
|
||||
$this.actions();
|
||||
$this.keyboard();
|
||||
$this.gesture();
|
||||
$this.animBars();
|
||||
$this.resize();
|
||||
|
||||
},
|
||||
|
||||
setDim : function(){
|
||||
|
||||
var width, height, sliderCss = {};
|
||||
|
||||
if( "onorientationchange" in window ){
|
||||
|
||||
window.addEventListener("orientationchange", function() {
|
||||
if( window.orientation == 0 ){
|
||||
width = winWidth;
|
||||
height = winHeight;
|
||||
}else if( window.orientation == 90 || window.orientation == -90 ){
|
||||
width = winHeight;
|
||||
height = winWidth;
|
||||
}
|
||||
}, false);
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
width = window.innerWidth ? window.innerWidth : $(window).width();
|
||||
height = window.innerHeight ? window.innerHeight : $(window).height();
|
||||
}
|
||||
|
||||
sliderCss = {
|
||||
width : width,
|
||||
height : height
|
||||
}
|
||||
|
||||
|
||||
$('#swipebox-overlay').css(sliderCss);
|
||||
|
||||
},
|
||||
|
||||
resize : function (){
|
||||
var $this = this;
|
||||
|
||||
$(window).resize(function() {
|
||||
$this.setDim();
|
||||
}).resize();
|
||||
},
|
||||
|
||||
supportTransition : function() {
|
||||
var prefixes = 'transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition'.split(' ');
|
||||
for(var i = 0; i < prefixes.length; i++) {
|
||||
if(document.createElement('div').style[prefixes[i]] !== undefined) {
|
||||
return prefixes[i];
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
doCssTrans : function(){
|
||||
if(plugin.settings.useCSS && this.supportTransition() ){
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
||||
gesture : function(){
|
||||
if ( isTouch ){
|
||||
var $this = this,
|
||||
distance = null,
|
||||
swipMinDistance = 10,
|
||||
startCoords = {},
|
||||
endCoords = {};
|
||||
var bars = $('#swipebox-caption, #swipebox-action');
|
||||
|
||||
bars.addClass('visible-bars');
|
||||
$this.setTimeout();
|
||||
|
||||
$('body').bind('touchstart', function(e){
|
||||
|
||||
$(this).addClass('touching');
|
||||
|
||||
endCoords = e.originalEvent.targetTouches[0];
|
||||
startCoords.pageX = e.originalEvent.targetTouches[0].pageX;
|
||||
|
||||
$('.touching').bind('touchmove',function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
endCoords = e.originalEvent.targetTouches[0];
|
||||
|
||||
});
|
||||
|
||||
return false;
|
||||
|
||||
}).bind('touchend',function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
distance = endCoords.pageX - startCoords.pageX;
|
||||
|
||||
if( distance >= swipMinDistance ){
|
||||
|
||||
// swipeLeft
|
||||
$this.getPrev();
|
||||
|
||||
}else if( distance <= - swipMinDistance ){
|
||||
|
||||
// swipeRight
|
||||
$this.getNext();
|
||||
|
||||
}else{
|
||||
// tap
|
||||
if(!bars.hasClass('visible-bars')){
|
||||
$this.showBars();
|
||||
$this.setTimeout();
|
||||
}else{
|
||||
$this.clearTimeout();
|
||||
$this.hideBars();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$('.touching').off('touchmove').removeClass('touching');
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
setTimeout: function(){
|
||||
if(plugin.settings.hideBarsDelay > 0){
|
||||
var $this = this;
|
||||
$this.clearTimeout();
|
||||
$this.timeout = window.setTimeout( function(){
|
||||
$this.hideBars() },
|
||||
plugin.settings.hideBarsDelay
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
clearTimeout: function(){
|
||||
window.clearTimeout(this.timeout);
|
||||
this.timeout = null;
|
||||
},
|
||||
|
||||
showBars : function(){
|
||||
var bars = $('#swipebox-caption, #swipebox-action');
|
||||
if(this.doCssTrans()){
|
||||
bars.addClass('visible-bars');
|
||||
}else{
|
||||
$('#swipebox-caption').animate({ top : 0 }, 500);
|
||||
$('#swipebox-action').animate({ bottom : 0 }, 500);
|
||||
setTimeout(function(){
|
||||
bars.addClass('visible-bars');
|
||||
}, 1000);
|
||||
}
|
||||
},
|
||||
|
||||
hideBars : function(){
|
||||
var bars = $('#swipebox-caption, #swipebox-action');
|
||||
if(this.doCssTrans()){
|
||||
bars.removeClass('visible-bars');
|
||||
}else{
|
||||
$('#swipebox-caption').animate({ top : '-50px' }, 500);
|
||||
$('#swipebox-action').animate({ bottom : '-50px' }, 500);
|
||||
setTimeout(function(){
|
||||
bars.removeClass('visible-bars');
|
||||
}, 1000);
|
||||
}
|
||||
},
|
||||
|
||||
animBars : function(){
|
||||
var $this = this;
|
||||
var bars = $('#swipebox-caption, #swipebox-action');
|
||||
|
||||
bars.addClass('visible-bars');
|
||||
$this.setTimeout();
|
||||
|
||||
$('#swipebox-slider').click(function(e){
|
||||
if(!bars.hasClass('visible-bars')){
|
||||
$this.showBars();
|
||||
$this.setTimeout();
|
||||
}
|
||||
});
|
||||
|
||||
$('#swipebox-action').hover(function() {
|
||||
$this.showBars();
|
||||
bars.addClass('force-visible-bars');
|
||||
$this.clearTimeout();
|
||||
|
||||
},function() {
|
||||
bars.removeClass('force-visible-bars');
|
||||
$this.setTimeout();
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
keyboard : function(){
|
||||
var $this = this;
|
||||
$(window).bind('keyup', function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
if (e.keyCode == 37){
|
||||
$this.getPrev();
|
||||
}
|
||||
else if (e.keyCode==39){
|
||||
$this.getNext();
|
||||
}
|
||||
else if (e.keyCode == 27) {
|
||||
$this.closeSlide();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
actions : function(){
|
||||
var $this = this;
|
||||
|
||||
if( elements.length < 2 ){
|
||||
$('#swipebox-prev, #swipebox-next').hide();
|
||||
}else{
|
||||
$('#swipebox-prev').bind('click touchend', function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
$this.getPrev();
|
||||
$this.setTimeout();
|
||||
});
|
||||
|
||||
$('#swipebox-next').bind('click touchend', function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
$this.getNext();
|
||||
$this.setTimeout();
|
||||
});
|
||||
}
|
||||
|
||||
$('#swipebox-close').bind('click touchend', function(e){
|
||||
$this.closeSlide();
|
||||
});
|
||||
},
|
||||
|
||||
setSlide : function (index, isFirst){
|
||||
isFirst = isFirst || false;
|
||||
|
||||
var slider = $('#swipebox-slider');
|
||||
|
||||
if(this.doCssTrans()){
|
||||
slider.css({ left : (-index*100)+'%' });
|
||||
}else{
|
||||
slider.animate({ left : (-index*100)+'%' });
|
||||
}
|
||||
|
||||
$('#swipebox-slider .slide').removeClass('current');
|
||||
$('#swipebox-slider .slide').eq(index).addClass('current');
|
||||
this.setTitle(index);
|
||||
|
||||
if( isFirst ){
|
||||
slider.fadeIn();
|
||||
}
|
||||
|
||||
$('#swipebox-prev, #swipebox-next').removeClass('disabled');
|
||||
if(index == 0){
|
||||
$('#swipebox-prev').addClass('disabled');
|
||||
}else if( index == elements.length - 1 ){
|
||||
$('#swipebox-next').addClass('disabled');
|
||||
}
|
||||
},
|
||||
|
||||
openSlide : function (index){
|
||||
$('html').addClass('swipebox');
|
||||
$(window).trigger('resize'); // fix scroll bar visibility on desktop
|
||||
this.setSlide(index, true);
|
||||
},
|
||||
|
||||
preloadMedia : function (index){
|
||||
var $this = this, src = null;
|
||||
|
||||
if( elements[index] !== undefined )
|
||||
src = elements[index].href;
|
||||
|
||||
if( !$this.isVideo(src) ){
|
||||
setTimeout(function(){
|
||||
$this.openMedia(index);
|
||||
}, 1000);
|
||||
}else{
|
||||
$this.openMedia(index);
|
||||
}
|
||||
},
|
||||
|
||||
openMedia : function (index){
|
||||
var $this = this, src = null;
|
||||
|
||||
if( elements[index] !== undefined )
|
||||
src = elements[index].href;
|
||||
|
||||
if(index < 0 || index >= elements.length){
|
||||
return false;
|
||||
}
|
||||
|
||||
if( !$this.isVideo(src) ){
|
||||
$this.loadMedia(src, function(){
|
||||
$('#swipebox-slider .slide').eq(index).html(this);
|
||||
});
|
||||
}else{
|
||||
$('#swipebox-slider .slide').eq(index).html($this.getVideo(src));
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
setTitle : function (index, isFirst){
|
||||
var title = null;
|
||||
|
||||
$('#swipebox-caption').empty();
|
||||
|
||||
if( elements[index] !== undefined )
|
||||
title = elements[index].title;
|
||||
|
||||
if(title){
|
||||
$('#swipebox-caption').append(title);
|
||||
}
|
||||
},
|
||||
|
||||
isVideo : function (src){
|
||||
|
||||
if( src ){
|
||||
if(
|
||||
src.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)
|
||||
|| src.match(/vimeo\.com\/([0-9]*)/)
|
||||
){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
getVideo : function(url){
|
||||
var iframe = '';
|
||||
var output = '';
|
||||
var youtubeUrl = url.match(/watch\?v=([a-zA-Z0-9\-_]+)/);
|
||||
var vimeoUrl = url.match(/vimeo\.com\/([0-9]*)/);
|
||||
if( youtubeUrl ){
|
||||
|
||||
iframe = '<iframe width="560" height="315" src="//www.youtube.com/embed/'+youtubeUrl[1]+'" frameborder="0" allowfullscreen></iframe>';
|
||||
|
||||
}else if(vimeoUrl){
|
||||
|
||||
iframe = '<iframe width="560" height="315" src="http://player.vimeo.com/video/'+vimeoUrl[1]+'?byline=0&portrait=0&color='+plugin.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
|
||||
|
||||
}
|
||||
|
||||
return '<div class="swipebox-video-container" style="max-width:'+plugin.settings.videomaxWidth+'px"><div class="swipebox-video">'+iframe+'</div></div>';
|
||||
},
|
||||
|
||||
loadMedia : function (src, callback){
|
||||
if( !this.isVideo(src) ){
|
||||
var img = $('<img>').on('load', function(){
|
||||
callback.call(img);
|
||||
});
|
||||
|
||||
img.attr('src',src);
|
||||
}
|
||||
},
|
||||
|
||||
getNext : function (){
|
||||
var $this = this;
|
||||
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
||||
if(index+1 < elements.length){
|
||||
index++;
|
||||
$this.setSlide(index);
|
||||
$this.preloadMedia(index+1);
|
||||
}
|
||||
else{
|
||||
|
||||
$('#swipebox-slider').addClass('rightSpring');
|
||||
setTimeout(function(){
|
||||
$('#swipebox-slider').removeClass('rightSpring');
|
||||
},500);
|
||||
}
|
||||
},
|
||||
|
||||
getPrev : function (){
|
||||
index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
|
||||
if(index > 0){
|
||||
index--;
|
||||
this.setSlide(index);
|
||||
this.preloadMedia(index-1);
|
||||
}
|
||||
else{
|
||||
|
||||
$('#swipebox-slider').addClass('leftSpring');
|
||||
setTimeout(function(){
|
||||
$('#swipebox-slider').removeClass('leftSpring');
|
||||
},500);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
closeSlide : function (){
|
||||
$('html').removeClass('swipebox');
|
||||
$(window).trigger('resize');
|
||||
this.destroy();
|
||||
},
|
||||
|
||||
destroy : function(){
|
||||
$(window).unbind('keyup');
|
||||
$('body').unbind('touchstart');
|
||||
$('body').unbind('touchmove');
|
||||
$('body').unbind('touchend');
|
||||
$('#swipebox-slider').unbind();
|
||||
$('#swipebox-overlay').remove();
|
||||
if (!$.isArray(elem))
|
||||
elem.removeData('_swipebox');
|
||||
if ( this.target )
|
||||
this.target.trigger('swipebox-destroy');
|
||||
$.swipebox.isOpen = false;
|
||||
if (plugin.settings.afterClose)
|
||||
plugin.settings.afterClose();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
plugin.init();
|
||||
|
||||
};
|
||||
|
||||
$.fn.swipebox = function(options){
|
||||
if (!$.data(this, "_swipebox")) {
|
||||
var swipebox = new $.swipebox(this, options);
|
||||
this.data('_swipebox', swipebox);
|
||||
}
|
||||
return this.data('_swipebox');
|
||||
}
|
||||
|
||||
}(window, document, jQuery));
|
||||
10
js/swipebox/jquery.swipebox.min.js
vendored
Executable file
10
js/swipebox/jquery.swipebox.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
264
js/swipebox/swipebox.css
Executable file
264
js/swipebox/swipebox.css
Executable file
@@ -0,0 +1,264 @@
|
||||
html.swipebox {
|
||||
overflow: hidden!important;
|
||||
}
|
||||
|
||||
#swipebox-overlay img {
|
||||
border: none!important;
|
||||
}
|
||||
|
||||
#swipebox-overlay {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 99999!important;
|
||||
overflow: hidden;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#swipebox-slider {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#swipebox-slider .slide {
|
||||
background: url("img/loader.gif") no-repeat center center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
line-height: 1px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#swipebox-slider .slide:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
height: 50%;
|
||||
width: 1px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
#swipebox-slider .slide img,
|
||||
#swipebox-slider .slide .swipebox-video-container {
|
||||
display: inline-block;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#swipebox-slider .slide .swipebox-video-container {
|
||||
background:none;
|
||||
max-width: 1140px;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
padding:5%;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
#swipebox-slider .slide .swipebox-video-container .swipebox-video{
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe{
|
||||
width: 100%!important;
|
||||
height: 100%!important;
|
||||
position: absolute;
|
||||
top: 0; left: 0;
|
||||
}
|
||||
|
||||
#swipebox-action, #swipebox-caption {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#swipebox-action {
|
||||
bottom: -50px;
|
||||
}
|
||||
#swipebox-action.visible-bars {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
#swipebox-action.force-visible-bars {
|
||||
bottom: 0!important;
|
||||
}
|
||||
|
||||
#swipebox-caption {
|
||||
top: -50px;
|
||||
text-align: center;
|
||||
}
|
||||
#swipebox-caption.visible-bars {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#swipebox-caption.force-visible-bars {
|
||||
top: 0!important;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next,
|
||||
#swipebox-action #swipebox-close {
|
||||
background-image: url("img/icons.png");
|
||||
background-repeat: no-repeat;
|
||||
border: none!important;
|
||||
text-decoration: none!important;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-close {
|
||||
background-position: 15px 12px;
|
||||
left: 40px;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-prev {
|
||||
background-position: -32px 13px;
|
||||
right: 100px;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-next {
|
||||
background-position: -78px 13px;
|
||||
right: 40px;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-prev.disabled,
|
||||
#swipebox-action #swipebox-next.disabled {
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
#swipebox-slider.rightSpring {
|
||||
-moz-animation: rightSpring 0.3s;
|
||||
-webkit-animation: rightSpring 0.3s;
|
||||
}
|
||||
|
||||
#swipebox-slider.leftSpring {
|
||||
-moz-animation: leftSpring 0.3s;
|
||||
-webkit-animation: leftSpring 0.3s;
|
||||
}
|
||||
|
||||
@-moz-keyframes rightSpring {
|
||||
0% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
50% {
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
100% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes leftSpring {
|
||||
0% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
50% {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
100% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes rightSpring {
|
||||
0% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
50% {
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
100% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes leftSpring {
|
||||
0% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
50% {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
100% {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
#swipebox-action #swipebox-close {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-prev {
|
||||
right: 60px;
|
||||
}
|
||||
|
||||
#swipebox-action #swipebox-next {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Skin
|
||||
--------------------------*/
|
||||
#swipebox-overlay {
|
||||
background: #0d0d0d;
|
||||
}
|
||||
|
||||
#swipebox-action, #swipebox-caption {
|
||||
text-shadow: 1px 1px 1px black;
|
||||
background-color: #0d0d0d;
|
||||
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0d0d0d), color-stop(100%, #000000));
|
||||
background-image: -webkit-linear-gradient(#0d0d0d, #000000);
|
||||
background-image: -moz-linear-gradient(#0d0d0d, #000000);
|
||||
background-image: -o-linear-gradient(#0d0d0d, #000000);
|
||||
background-image: linear-gradient(#0d0d0d, #000000);
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
#swipebox-action {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
#swipebox-caption {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
color: white!important;
|
||||
font-size: 18px;
|
||||
line-height: 43px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
41
js/zenphoto.js
Normal file
41
js/zenphoto.js
Normal file
@@ -0,0 +1,41 @@
|
||||
// JavaScript Document
|
||||
// [zenphoto album="sports-mecaniques/gp-france" image="2010-05-23_gp-france-2010_5321.jpg"]
|
||||
// ed.selection.setContent('[mylink]' + ed.selection.getContent() + '[/mylink]');
|
||||
//image : url+'/mylink.png',
|
||||
|
||||
tinymce.create('tinymce.plugins.zp', {
|
||||
init : function(editor, url) {
|
||||
editor.addButton('zp', {
|
||||
title : 'Zenphoto',
|
||||
image : url+'/zenphoto.gif',
|
||||
onclick : function() {
|
||||
editor.selection.setContent('[zenphoto album="" image=""]');
|
||||
editor.undoManager.add();
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
},
|
||||
});
|
||||
tinymce.PluginManager.add('zp', tinymce.plugins.zp);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
tinymce.create('tinymce.plugins.spoil',{
|
||||
init : function(editor,url){
|
||||
editor.addButton('spoiler',{
|
||||
title : 'Ajouter un Spoiler',
|
||||
image : url + '/zenphoto.gif',
|
||||
onclick : function(){
|
||||
editor.selection.setContent('[spoiler]'+editor.selection.getContent()+'[/spoiler]')
|
||||
}
|
||||
})
|
||||
},
|
||||
createControl : function(n,cm){
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('spoiler',tinymce.plugins.spoil);
|
||||
*/
|
||||
BIN
languages/Archive.zip
Normal file
BIN
languages/Archive.zip
Normal file
Binary file not shown.
695
languages/fr_FR 2.po
Normal file
695
languages/fr_FR 2.po
Normal file
@@ -0,0 +1,695 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2013-09-05 08:34+0100\n"
|
||||
"PO-Revision-Date: 2013-09-05 08:34+0100\n"
|
||||
"Last-Translator: Bruno <bruno@clicclac.info>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__;_n\n"
|
||||
"X-Poedit-Basepath: /Library/WebServer/Documents/wordpress/wp-content/themes/"
|
||||
"twentytwelve-child\n"
|
||||
"X-Poedit-SearchPath-0: /Library/WebServer/Documents/wordpress/wp-content/"
|
||||
"themes/twentytwelve-child\n"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:18
|
||||
msgid ""
|
||||
"This post is password protected. Enter the password to view any comments."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:41
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:60
|
||||
#, fuzzy
|
||||
msgid "<span class=\"meta-nav\">←</span> Older Comments"
|
||||
msgstr "Lire la suite <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:42
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:61
|
||||
#, fuzzy
|
||||
msgid "Newer Comments <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
"Afficher tous les articles de %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:72
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:58
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre_.php:57
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:58
|
||||
msgid "Comments are closed."
|
||||
msgstr "Les commentaires sont fermés."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:95
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:897
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:998
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1100
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:97
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:899
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1000
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1102
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:97
|
||||
msgid " (not be published)."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:99
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:901
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1002
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1104
|
||||
msgid "Website"
|
||||
msgstr "Site web"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:102
|
||||
msgid "City"
|
||||
msgstr "Ville"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:104
|
||||
msgid "State"
|
||||
msgstr "Etât"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:304
|
||||
msgid "Your message"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:305
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:909
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1010
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1112
|
||||
#, php-format
|
||||
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
|
||||
msgstr ""
|
||||
"Vous devez <a href=\"%s\">être connecté</a> pour rédiger un commentaire."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:306
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:910
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1011
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1113
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of "
|
||||
"this account\">Log out?</a>"
|
||||
msgstr ""
|
||||
"Connecté en tant que <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Se "
|
||||
"déconnecter de ce compte\">Se déconnecter ?</a>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:314
|
||||
#, fuzzy
|
||||
msgid "Leave a Message"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:315
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:916
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1017
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1119
|
||||
#, php-format
|
||||
msgid "Leave a Reply to %s"
|
||||
msgstr "Laisser une réponse à %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:316
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:917
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1018
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1120
|
||||
msgid "Cancel reply"
|
||||
msgstr "Annuler la réponse."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:317
|
||||
msgid "Sign Guestbook"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-d-or.php:28
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:53
|
||||
msgid "Pages:"
|
||||
msgstr "Pages :"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-d-or.php:41
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:156
|
||||
#, php-format
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
"Afficher tous les articles de %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/author.php:55
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:152
|
||||
#, php-format
|
||||
msgid "About %s"
|
||||
msgstr "A propos %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:36
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre_.php:33
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:34
|
||||
#, php-format
|
||||
msgid "One thought on “%2$s”"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:47
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre_.php:46
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:47
|
||||
msgid "Comment navigation"
|
||||
msgstr "Navigation des commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:48
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre_.php:47
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:48
|
||||
msgid "← Older Comments"
|
||||
msgstr "← Commentaire plus ancien"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:49
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre_.php:48
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:49
|
||||
msgid "Newer Comments →"
|
||||
msgstr "Commentaires plus récents →"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:31
|
||||
msgid "Display"
|
||||
msgstr "Afficher"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:15
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:15
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:21
|
||||
msgid "No comments yet"
|
||||
msgstr "Aucun commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:21
|
||||
msgid "1 comment"
|
||||
msgstr "1 commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:21
|
||||
#, php-format
|
||||
msgid "% comments"
|
||||
msgstr "% commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:21
|
||||
msgid "Comments are off for this post"
|
||||
msgstr "Les commentaires sont fermés pour cet article."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:25
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:25
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-link.php:20
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-livre.php:35
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:24
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:16
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:37
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:854
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:970
|
||||
msgid "Edit"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:13
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:27
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:50
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Lire la suite <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-link.php:12
|
||||
msgid "Link"
|
||||
msgstr "Lien"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:15
|
||||
#, php-format
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permalien vers %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:21
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:28
|
||||
msgid "0"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:21
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:28
|
||||
msgid "1"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:21
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:28
|
||||
msgid "%"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:14
|
||||
msgid "Featured post"
|
||||
msgstr "Article mis en avant"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:63
|
||||
msgid "Leave a reply"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:63
|
||||
msgid "1 Reply"
|
||||
msgstr "1 réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:63
|
||||
msgid "% Replies"
|
||||
msgstr "% réponses"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:70
|
||||
msgid ""
|
||||
"<a href=\"%post_permalink%\" title=\"%post_title% (%post_date%)\">%post_title"
|
||||
"%</a>"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:104
|
||||
msgid "Related posts"
|
||||
msgstr "Vous aimerez aussi ces articles"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/footer.php:36
|
||||
msgid "http://wordpress.org/"
|
||||
msgstr "http://wordpress.org/"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/footer.php:36
|
||||
#, php-format
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Fièrement propulsé par %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:135
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:206
|
||||
msgid "Footer Widget One"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:137
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:208
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Left Side."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:145
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:216
|
||||
msgid "Footer Widget Two"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:147
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:218
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Center."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:155
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:226
|
||||
msgid "Footer Widget Three"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:157
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:228
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Right Side."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:197
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:268
|
||||
msgid "Twentytwelve Child options"
|
||||
msgstr "Options de twenty twelve Child"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:224
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:295
|
||||
msgid "Zenphoto's URL"
|
||||
msgstr "URL de Zenphoto"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:229
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:300
|
||||
msgid "Images size"
|
||||
msgstr "Taille des images"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:234
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:305
|
||||
msgid "Display comments"
|
||||
msgstr "Afficher les commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:239
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:310
|
||||
msgid "Display author"
|
||||
msgstr "Afficher la description de l’auteur"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:243
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:314
|
||||
msgid "Display similar"
|
||||
msgstr "Afficher les articles similaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:247
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:318
|
||||
msgid "Add lightbox's class"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:378 2.php:429
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:489
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:540
|
||||
msgid "View all post from "
|
||||
msgstr "Afficher tous les articles de "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:388 2.php:390
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:499
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:501
|
||||
msgid "You are here"
|
||||
msgstr "Vous êtes ici"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:407
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:518
|
||||
msgid "Posts"
|
||||
msgstr "Articles"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:425
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:536
|
||||
msgid "Category"
|
||||
msgstr "Catégorie"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:436
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:547
|
||||
msgid " » Articles de l'auteur "
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:442
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:553
|
||||
msgid " » Articles sur le thème <b>"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:449 2.php:453 2.php:457
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:560
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:564
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:568
|
||||
msgid " » Archives for "
|
||||
msgstr " » Archives sur "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:475
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:586
|
||||
msgid " » Archives for \""
|
||||
msgstr " » Archives sur \""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:481
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:592
|
||||
msgid " » Search result <span>» "
|
||||
msgstr "» Résultats de votre recherche <span>» "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:487
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:598
|
||||
msgid " » 404 Page not found"
|
||||
msgstr "» 404 Page non trouvée"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:541 2.php:544 2.php:581 2.php:612
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:652
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:655
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:692
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:728
|
||||
msgid ", "
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:555 2.php:592 2.php:623
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:666
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:702
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:739
|
||||
#, php-format
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Afficher tous les articles de %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:561
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:672
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author"
|
||||
"\"> by %4$s</span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée dans %1$s, et marquée avec %2$s, le %3$s<span "
|
||||
"class=\"by-author\"> par %4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:563
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:674
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</"
|
||||
"span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée dans %1$s le %3$s<span class=\"by-author\"> par "
|
||||
"%4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:565
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:676
|
||||
#, php-format
|
||||
msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée le %3$s <span class=\"by-author\">par %4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:597 2.php:628
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:744
|
||||
#, php-format
|
||||
msgid "On %2$s<span class=\"by-author\"> by %3$s</span> - %1$s"
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span> - %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:599 2.php:630
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:746
|
||||
#, php-format
|
||||
msgid "On %2$s<span class=\"by-author\"> by %3$s</span>."
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:686
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:802
|
||||
#, php-format
|
||||
msgid "Article updated the %1$s"
|
||||
msgstr "Article mis-à-jour le %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:687
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:803
|
||||
msgid "%A, %B %e %Y @ %l:%M %p"
|
||||
msgstr "%e %B %Y @ %H:%M"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:818
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:934
|
||||
msgid "Pingback:"
|
||||
msgstr "Ping :"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:818
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:934
|
||||
msgid "(Edit)"
|
||||
msgstr "(Modifier)"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:833
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:949
|
||||
msgid "Post author"
|
||||
msgstr "Auteur"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:839
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:955
|
||||
#, php-format
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s à %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:845
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:961
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Votre commentaire est en attente de validation."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:855
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:971
|
||||
msgid "Reply"
|
||||
msgstr "Répondre"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:905
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1006
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1108
|
||||
#, php-format
|
||||
msgid "Required fields are marked %s"
|
||||
msgstr "Les champs obligatoires sont indiqués avec %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:911
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1012
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1114
|
||||
msgid "Your email address will not be published."
|
||||
msgstr "Votre adresse de messagerie ne sera pas publiée."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:912
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1013
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1115
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You may use these <abbr title=\"HyperText Markup Language\">HTML</abbr> tags "
|
||||
"and attributes: %s"
|
||||
msgstr ""
|
||||
"Vous pouvez utiliser ces balises et attributs <abbr title=\"HyperText Markup "
|
||||
"Language\">HTML</abbr> : %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:915
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1118
|
||||
msgid " → Leave a Reply"
|
||||
msgstr " → Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions
|
||||
#: 2.php:918
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1019
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1121
|
||||
msgid "Post Comment"
|
||||
msgstr "Laisser un commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:713
|
||||
#, fuzzy, php-format
|
||||
msgid "%2$s<span class=\"by-author\"> by %3$s</span> - %1$s"
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span> - %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:715
|
||||
#, fuzzy, php-format
|
||||
msgid "%2$s<span class=\"by-author\"> by %3$s</span>."
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1016
|
||||
msgid "Leave a Reply"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1202
|
||||
#, php-format
|
||||
msgid "%s min ago"
|
||||
msgstr "Il y a %s minutes"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1208
|
||||
#, php-format
|
||||
msgid "%s hour ago"
|
||||
msgstr "Il y a %s heures"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1213
|
||||
#, php-format
|
||||
msgid "%s day ago"
|
||||
msgstr "Il y a %s jours"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1218
|
||||
#, php-format
|
||||
msgid "%s week ago"
|
||||
msgstr "Il y a %s semaines"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1227
|
||||
msgid "The "
|
||||
msgstr "Le"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:29
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:30
|
||||
#, php-format
|
||||
msgid "%1$s | %2$s"
|
||||
msgstr "%1$s | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:29
|
||||
msgid "Page not Found"
|
||||
msgstr "Non trouvé"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:31
|
||||
#, php-format
|
||||
msgid "Category Archives « %1$s » | %2$s"
|
||||
msgstr "Archives pour la catégorie « %1$s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:32
|
||||
#, php-format
|
||||
msgid "Tag Archives « %s » | %2$s"
|
||||
msgstr "Archives du mot-clé « %s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:35
|
||||
#, php-format
|
||||
msgid "Author Archives « %1$s » | %2$s"
|
||||
msgstr "Archives pour l'auteur « %1$s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:115
|
||||
msgid "Menu"
|
||||
msgstr "Menu"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:116
|
||||
msgid "Skip to content"
|
||||
msgstr "Aller au contenu principal"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index-jmpress.php:53
|
||||
msgid "Read more"
|
||||
msgstr "Lire la suite"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index-jmpress.php:108
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:95
|
||||
msgid "No posts to display"
|
||||
msgstr "Aucun article à afficher"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index-jmpress.php:112
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:99
|
||||
#, php-format
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index-jmpress.php:119
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:106
|
||||
msgid "Nothing Found"
|
||||
msgstr "Rien n’a été trouvé"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index-jmpress.php:123
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:110
|
||||
msgid ""
|
||||
"Apologies, but no results were found. Perhaps searching will help find a "
|
||||
"related post."
|
||||
msgstr ""
|
||||
"Toutes nos excuses, mais votre requête n’a donné aucun résultat. Peut-"
|
||||
"être qu’une recherche peut vous indiquer un article lié."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/single.php:22
|
||||
msgid "Post navigation"
|
||||
msgstr "Navigation des articles"
|
||||
|
||||
#~ msgid "Continue Reading"
|
||||
#~ msgstr "Lire la suite"
|
||||
|
||||
#~ msgid "<div class=\"maj\"> Article updated the %1$s at %2$s </div>"
|
||||
#~ msgstr "<div class=\"maj\"> Article mis-à-jour le %1$s à %2$s </div>"
|
||||
BIN
languages/fr_FR.mo
Normal file
BIN
languages/fr_FR.mo
Normal file
Binary file not shown.
593
languages/fr_FR.po
Normal file
593
languages/fr_FR.po
Normal file
@@ -0,0 +1,593 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: ClicClac.info\n"
|
||||
"POT-Creation-Date: 2014-04-07 14:47+0100\n"
|
||||
"PO-Revision-Date: 2014-04-07 14:47+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: <bruno@clicclac.info>\n"
|
||||
"Language: fr_FR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.6.4\n"
|
||||
"X-Poedit-KeywordsList: _;gettext;gettext_noop;_e;__;_n:1,2\n"
|
||||
"X-Poedit-Basepath: /Library/WebServer/Documents/wordpress/wp-content/themes/"
|
||||
"twentytwelve-child\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-SearchPath-0: /Library/WebServer/Documents/wordpress/wp-content/"
|
||||
"themes/twentytwelve-child\n"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/comments-livre_.php:33
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:36
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:34
|
||||
#, php-format
|
||||
msgid "One thought on “%2$s”"
|
||||
msgid_plural "%1$s thoughts on “%2$s”"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/comments-livre_.php:46
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:47
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:47
|
||||
msgid "Comment navigation"
|
||||
msgstr "Navigation des commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/comments-livre_.php:47
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:48
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:48
|
||||
msgid "← Older Comments"
|
||||
msgstr "← Commentaire plus ancien"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/comments-livre_.php:48
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:49
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:49
|
||||
msgid "Newer Comments →"
|
||||
msgstr "Commentaires plus récents →"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/comments-livre_.php:57
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:72
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments-livre.php:58
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:58
|
||||
msgid "Comments are closed."
|
||||
msgstr "Les commentaires sont fermés."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/index-jmpress.php:53
|
||||
msgid "Read more"
|
||||
msgstr "Lire la suite"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/index-jmpress.php:108
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:95
|
||||
msgid "No posts to display"
|
||||
msgstr "Aucun article à afficher"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/index-jmpress.php:112
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:99
|
||||
#, php-format
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr ""
|
||||
"Prêt à public votre premier article ? <a href=\"%s\">Commencer ici</a>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/index-jmpress.php:119
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:106
|
||||
msgid "Nothing Found"
|
||||
msgstr "Rien n’a été trouvé"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_/index-jmpress.php:123
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/index.php:110
|
||||
msgid ""
|
||||
"Apologies, but no results were found. Perhaps searching will help find a "
|
||||
"related post."
|
||||
msgstr ""
|
||||
"Toutes nos excuses, mais votre requête n’a donné aucun résultat. Peut-"
|
||||
"être qu’une recherche peut vous indiquer un article lié."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:18
|
||||
msgid ""
|
||||
"This post is password protected. Enter the password to view any comments."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:41
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:60
|
||||
msgid "<span class=\"meta-nav\">←</span> Older Comments"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Commentaires plus anciens"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:42
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:61
|
||||
msgid "Newer Comments <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Commentaires plus réçents <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:95
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:998
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1100
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:97
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1000
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1102
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:97
|
||||
msgid " (not be published)."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:99
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1002
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1104
|
||||
msgid "Website"
|
||||
msgstr "Site web"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:102
|
||||
msgid "City"
|
||||
msgstr "Ville"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:104
|
||||
msgid "State"
|
||||
msgstr "Etât"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:304
|
||||
msgid "Your message"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:305
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1010
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1112
|
||||
#, php-format
|
||||
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
|
||||
msgstr ""
|
||||
"Vous devez <a href=\"%s\">être connecté</a> pour rédiger un commentaire."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:306
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1011
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1113
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Logged in as <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of "
|
||||
"this account\">Log out?</a>"
|
||||
msgstr ""
|
||||
"Connecté en tant que <a href=\"%1$s\">%2$s</a>. <a href=\"%3$s\" title=\"Se "
|
||||
"déconnecter de ce compte\">Se déconnecter ?</a>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:314
|
||||
msgid "Leave a Message"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:315
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1017
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1119
|
||||
#, php-format
|
||||
msgid "Leave a Reply to %s"
|
||||
msgstr "Laisser une réponse à %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:316
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1018
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1120
|
||||
msgid "Cancel reply"
|
||||
msgstr "Annuler la réponse."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-comments.php:317
|
||||
msgid "Sign Guestbook"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-d-or.php:28
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:54
|
||||
msgid "Pages:"
|
||||
msgstr "Pages :"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/_livre-d-or.php:41
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:157
|
||||
#, php-format
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
"Afficher tous les articles de %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/author.php:55
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:153
|
||||
#, php-format
|
||||
msgid "About %s"
|
||||
msgstr "A propos %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/comments.php:31
|
||||
msgid "Display"
|
||||
msgstr "Afficher"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:23
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:22
|
||||
msgid "No comments yet"
|
||||
msgstr "Aucun commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:23
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:22
|
||||
msgid "1 comment"
|
||||
msgstr "1 commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:23
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:22
|
||||
#, php-format
|
||||
msgid "% comments"
|
||||
msgstr "% commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:23
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:22
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:22
|
||||
msgid "Comments are off for this post"
|
||||
msgstr "Les commentaires sont fermés pour cet article."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-aside.php:26
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:25
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-link.php:21
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-livre.php:35
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-quote.php:25
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:16
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:38
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:970
|
||||
msgid "Edit"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-image.php:13
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:28
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:51
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Lire la suite <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-link.php:12
|
||||
msgid "Link"
|
||||
msgstr "Lien"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-status.php:15
|
||||
#, php-format
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permalien vers %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:14
|
||||
msgid "Featured post"
|
||||
msgstr "Article mis en avant"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:64
|
||||
msgid "Leave a reply"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:64
|
||||
msgid "1 Reply"
|
||||
msgstr "1 réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:64
|
||||
msgid "% Replies"
|
||||
msgstr "% réponses"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:71
|
||||
msgid ""
|
||||
"<a href=\"%post_permalink%\" title=\"%post_title% (%post_date%)\">%post_title"
|
||||
"%</a>"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content.php:105
|
||||
msgid "Related posts"
|
||||
msgstr "Vous aimerez aussi ces articles"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/footer.php:36
|
||||
msgid "http://wordpress.org/"
|
||||
msgstr "http://wordpress.org/"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/footer.php:36
|
||||
#, php-format
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Fièrement propulsé par %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:206
|
||||
msgid "Footer Widget One"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:208
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Left Side."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:216
|
||||
msgid "Footer Widget Two"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:218
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Center."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:226
|
||||
msgid "Footer Widget Three"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:228
|
||||
msgid ""
|
||||
"Found at the bottom of every page (except 404s, optional homepage and full "
|
||||
"width) as the footer. Right Side."
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:268
|
||||
msgid "Twentytwelve Child options"
|
||||
msgstr "Options de twenty twelve Child"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:295
|
||||
msgid "Zenphoto's URL"
|
||||
msgstr "URL de Zenphoto"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:300
|
||||
msgid "Images size"
|
||||
msgstr "Taille des images"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:305
|
||||
msgid "Display comments"
|
||||
msgstr "Afficher les commentaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:310
|
||||
msgid "Display author"
|
||||
msgstr "Afficher la description de l’auteur"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:314
|
||||
msgid "Display similar"
|
||||
msgstr "Afficher les articles similaires"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:318
|
||||
msgid "Add lightbox's class"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:489
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:540
|
||||
msgid "View all post from "
|
||||
msgstr "Afficher tous les articles de "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:499
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:501
|
||||
msgid "You are here"
|
||||
msgstr "Vous êtes ici"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:518
|
||||
msgid "Posts"
|
||||
msgstr "Articles"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:536
|
||||
msgid "Category"
|
||||
msgstr "Catégorie"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:547
|
||||
msgid " » Articles de l'auteur "
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:553
|
||||
msgid " » Articles sur le thème <b>"
|
||||
msgstr ""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:560
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:564
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:568
|
||||
msgid " » Archives for "
|
||||
msgstr " » Archives sur "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:586
|
||||
msgid " » Archives for \""
|
||||
msgstr " » Archives sur \""
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:592
|
||||
msgid " » Search result <span>» "
|
||||
msgstr "» Résultats de votre recherche <span>» "
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:598
|
||||
msgid " » 404 Page not found"
|
||||
msgstr "» 404 Page non trouvée"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:652
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:655
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:692
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:728
|
||||
msgid ", "
|
||||
msgstr ","
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:666
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:702
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:739
|
||||
#, php-format
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Afficher tous les articles de %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:672
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author"
|
||||
"\"> by %4$s</span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée dans %1$s, et marquée avec %2$s, le %3$s<span "
|
||||
"class=\"by-author\"> par %4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:674
|
||||
#, php-format
|
||||
msgid ""
|
||||
"This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</"
|
||||
"span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée dans %1$s le %3$s<span class=\"by-author\"> par "
|
||||
"%4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:676
|
||||
#, php-format
|
||||
msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>."
|
||||
msgstr ""
|
||||
"Cette entrée a été publiée le %3$s <span class=\"by-author\">par %4$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:713
|
||||
#, php-format
|
||||
msgid "%2$s<span class=\"by-author\"> by %3$s</span> - %1$s"
|
||||
msgstr "%2$s<span class=\"by-author\"> par %3$s</span> - %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:715
|
||||
#, php-format
|
||||
msgid "%2$s<span class=\"by-author\"> by %3$s</span>."
|
||||
msgstr "%2$s<span class=\"by-author\"> par %3$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:744
|
||||
#, php-format
|
||||
msgid "On %2$s<span class=\"by-author\"> by %3$s</span> - %1$s"
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span> - %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:746
|
||||
#, php-format
|
||||
msgid "On %2$s<span class=\"by-author\"> by %3$s</span>."
|
||||
msgstr "Le %2$s<span class=\"by-author\"> par %3$s</span>."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:802
|
||||
#, php-format
|
||||
msgid "Article updated the %1$s"
|
||||
msgstr "Article mis-à-jour le %1$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:803
|
||||
msgid "%A, %B %e %Y @ %l:%M %p"
|
||||
msgstr "%e %B %Y @ %H:%M"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:934
|
||||
msgid "Pingback:"
|
||||
msgstr "Ping :"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:934
|
||||
msgid "(Edit)"
|
||||
msgstr "(Modifier)"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:949
|
||||
msgid "Post author"
|
||||
msgstr "Auteur"
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:955
|
||||
#, php-format
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s à %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:961
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Votre commentaire est en attente de validation."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:971
|
||||
msgid "Reply"
|
||||
msgstr "Répondre"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1006
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1108
|
||||
#, php-format
|
||||
msgid "Required fields are marked %s"
|
||||
msgstr "Les champs obligatoires sont indiqués avec %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1012
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1114
|
||||
msgid "Your email address will not be published."
|
||||
msgstr "Votre adresse de messagerie ne sera pas publiée."
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1013
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1115
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You may use these <abbr title=\"HyperText Markup Language\">HTML</abbr> tags "
|
||||
"and attributes: %s"
|
||||
msgstr ""
|
||||
"Vous pouvez utiliser ces balises et attributs <abbr title=\"HyperText Markup "
|
||||
"Language\">HTML</abbr> : %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1016
|
||||
msgid "Leave a Reply"
|
||||
msgstr "Laisser une réponse"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1019
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1121
|
||||
msgid "Post Comment"
|
||||
msgstr "Laisser un commentaire"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1118
|
||||
msgid " → Leave a Reply"
|
||||
msgstr " → Laisser une réponse"
|
||||
|
||||
#. translators: min=minute
|
||||
#. $since = sprintf( _n( '%s min ago', '%s mins ago', $mins, 'twentytwelve-child' ), $mins );
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1203
|
||||
#, php-format
|
||||
msgid "%s min ago"
|
||||
msgid_plural "%s mins ago"
|
||||
msgstr[0] "Il y a %s minute"
|
||||
msgstr[1] "Il y a %s minutes"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1212
|
||||
#, php-format
|
||||
msgid "%s hour ago"
|
||||
msgid_plural "%s hours ago"
|
||||
msgstr[0] "Il y a %s heure"
|
||||
msgstr[1] "Il y a %s heures"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1217
|
||||
#, php-format
|
||||
msgid "%s day ago"
|
||||
msgid_plural "%s days ago"
|
||||
msgstr[0] "Il y a %s jour"
|
||||
msgstr[1] "Il y a %s jours"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1222
|
||||
#, php-format
|
||||
msgid "%s week ago"
|
||||
msgid_plural "%s weeks ago"
|
||||
msgstr[0] "Il y a %s semaine"
|
||||
msgstr[1] "Il y a %s semaines"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/functions.php:1234
|
||||
#, php-format
|
||||
msgid "The %s"
|
||||
msgstr "Le %s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:29
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:30
|
||||
#, php-format
|
||||
msgid "%1$s | %2$s"
|
||||
msgstr "%1$s | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:29
|
||||
msgid "Page not Found"
|
||||
msgstr "Non trouvé"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:31
|
||||
#, php-format
|
||||
msgid "Category Archives « %1$s » | %2$s"
|
||||
msgstr "Archives pour la catégorie « %1$s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:32
|
||||
#, php-format
|
||||
msgid "Tag Archives « %s » | %2$s"
|
||||
msgstr "Archives du mot-clé « %s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:35
|
||||
#, php-format
|
||||
msgid "Author Archives « %1$s » | %2$s"
|
||||
msgstr "Archives pour l'auteur « %1$s » | %2$s"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:115
|
||||
msgid "Menu"
|
||||
msgstr "Menu"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/header.php:116
|
||||
msgid "Skip to content"
|
||||
msgstr "Aller au contenu principal"
|
||||
|
||||
#: /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/single.php:22
|
||||
msgid "Post navigation"
|
||||
msgstr "Navigation des articles"
|
||||
|
||||
#~ msgid "The"
|
||||
#~ msgstr "Le"
|
||||
|
||||
#~ msgid "Thes"
|
||||
#~ msgstr "Le"
|
||||
|
||||
#~ msgid "Continue Reading"
|
||||
#~ msgstr "Lire la suite"
|
||||
|
||||
#~ msgid "<div class=\"maj\"> Article updated the %1$s at %2$s </div>"
|
||||
#~ msgstr "<div class=\"maj\"> Article mis-à-jour le %1$s à %2$s </div>"
|
||||
4
languages/log.txt
Normal file
4
languages/log.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
16:49:16: /Applications/Poedit.app/Contents/MacOS/xgettext: Non-ASCII comment at or before /Library/WebServer/Documents/wordpress/wp-content/themes/twentytwelve-child/content-encours.php:224.
|
||||
16:49:16: Please specify the source encoding through --from-code.
|
||||
16:49:16: Certains éléments du catalogue sont probablement incorrects.
|
||||
16:49:16: La mise à jour du catalogue a échoué. Cliquez sur « Détails >> » pour en savoir plus.
|
||||
31
page.php
Normal file
31
page.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying all pages.
|
||||
*
|
||||
* This is the template that displays all pages by default.
|
||||
* Please note that this is the WordPress construct of pages
|
||||
* and that other 'pages' on your WordPress site will use a
|
||||
* different template.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
<?php comments_template( '', true ); ?>
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
35
single.php
Normal file
35
single.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* The Template for displaying all single posts.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
|
||||
<nav class="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span>
|
||||
<span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span>
|
||||
</nav><!-- .nav-single -->
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
589
style.css
Executable file
589
style.css
Executable file
@@ -0,0 +1,589 @@
|
||||
/*
|
||||
Theme Name: Twentytwelve Child
|
||||
Description: Theme enfant pour Twentytwelve
|
||||
Author: Bruno Pesenti
|
||||
Template: twentytwelve
|
||||
*/
|
||||
|
||||
@import url("../twentytwelve/style.css");
|
||||
|
||||
|
||||
/* Minimum width of 960 pixels. */
|
||||
@media screen and (min-width: 960px) {
|
||||
body .site {
|
||||
/*
|
||||
margin-top: 3.428571429rem;
|
||||
margin-bottom: 3.428571429rem;
|
||||
*/
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===[ Footer Widget Areas ]=== */
|
||||
.site-info { clear: both; }
|
||||
#footer-widgets {
|
||||
width: 100%;
|
||||
border-top: none;
|
||||
}
|
||||
#footer-widgets .widget li { list-style-type: none; }
|
||||
.template-front-page #footer-widgets { padding-top: 0; }
|
||||
@media screen and (min-width: 600px) {
|
||||
#footer-widgets.three .widget {
|
||||
float: left;
|
||||
margin-right: 3.7%;
|
||||
width: 30.85%;
|
||||
clear: none;
|
||||
}
|
||||
#footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
|
||||
}
|
||||
/* for IE8 and IE7 */
|
||||
.ie #footer-widgets.three .widget {
|
||||
float: left;
|
||||
margin-right: 3.7%;
|
||||
width: 29.85%;
|
||||
clear: none;
|
||||
}
|
||||
.ie #footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
|
||||
/* Hide footer widgets Homepage Template*/
|
||||
.template-front-page #footer-widgets { display: none; }
|
||||
|
||||
|
||||
/* centrer le titre des photos */
|
||||
.wp-caption .wp-caption-text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
blockquote{
|
||||
|
||||
/*font-family:Georgia,Serif;*/
|
||||
font-size:15px;
|
||||
padding:0 10px 20px 27px;
|
||||
position:relative;
|
||||
margin-top: 25px;
|
||||
}
|
||||
blockquote:after{
|
||||
font-style:italic;
|
||||
font-weight:normal;
|
||||
position:absolute;
|
||||
content:'"';
|
||||
font-size:40px;
|
||||
color:#D0D9E0;
|
||||
width:50px;
|
||||
top:-5px;
|
||||
left:0;
|
||||
font-family:Georgia,Serif;
|
||||
margin-left: 25px;
|
||||
}
|
||||
blockquote p{
|
||||
margin-bottom:10px;
|
||||
padding-left: 25px;
|
||||
letter-spacing: 0.1em;
|
||||
font: italic 18px Georgia,Serif;
|
||||
}
|
||||
|
||||
/*
|
||||
article.format-aside .aside {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
article.format-aside h1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aside .entry-content {
|
||||
font-size: 100%;
|
||||
}
|
||||
*/
|
||||
#mybread {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.site-content article {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
.entry-meta {
|
||||
margin-left: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* =Logo : Search Form
|
||||
-------------------------------------------------------------- */
|
||||
.header-search {
|
||||
float: right;
|
||||
margin-top: -50px;
|
||||
}
|
||||
@media (max-width: 650px) {
|
||||
.header-search {
|
||||
margin-top:5px;
|
||||
text-align:center;
|
||||
float:none;
|
||||
}
|
||||
.main-navigation {
|
||||
clear:both;
|
||||
}
|
||||
}
|
||||
|
||||
/* Search form */
|
||||
/*
|
||||
.header-search #searchform {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
|
||||
margin-top: -12px;
|
||||
}
|
||||
*/
|
||||
.header-search #searchform label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-search #searchform #searchsubmit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-search #searchform #s {
|
||||
width: 28px;
|
||||
|
||||
background: #F9F9F9 url(images/mag.png) no-repeat 10px center;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-width: 0 0 1px 0;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: #777;
|
||||
font-size: 0.9em;
|
||||
font-weight: 200;
|
||||
padding: 4px;
|
||||
padding-left: 30px;
|
||||
-webkit-transition: all 0.275s ease-in-out;
|
||||
-moz-transition: all 0.275s ease-in-out;
|
||||
-o-transition: all 0.275s ease-in-out;
|
||||
-ms-transition: all 0.275s ease-in-out;
|
||||
transition: all 0.275s ease-in-out;
|
||||
}
|
||||
|
||||
.header-search #searchform #s:focus {
|
||||
width: 180px;
|
||||
|
||||
}
|
||||
|
||||
/* Maj article */
|
||||
|
||||
.maj {
|
||||
font-style: italic;
|
||||
font-size: x-small;
|
||||
color: #9e9e9e;
|
||||
text-align: right;
|
||||
margin-right: 3em;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
|
||||
/* Articles relatifs */
|
||||
|
||||
.relatedposts {width: 640px; margin: 40px auto 20px; font-size: 12px;}
|
||||
.relatedposts h3 { margin: 0 0 5px 0;
|
||||
font: 20px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
|
||||
}
|
||||
.relatedthumb {margin: 0 1px 0 1px; float: left; }
|
||||
.relatedthumb img {margin: 0 0 3px 0; padding: 0;}
|
||||
.relatedthumb a {color :#333; text-decoration: none; display:block; padding: 4px; width: 150px;
|
||||
text-align: center;
|
||||
}
|
||||
.relatedthumb a:hover {background-color: #ddd; color: #000;}
|
||||
|
||||
.cls {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* /Articles relatifs */
|
||||
|
||||
|
||||
/* Comment bubble */
|
||||
|
||||
.thecomment {
|
||||
width: 47px;
|
||||
height: 48px;
|
||||
float: right;
|
||||
margin-top: -6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.thecomment a {
|
||||
background: url(images/bubble_image.png) no-repeat 0px -1px;
|
||||
color: #666;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
height: 48px;
|
||||
line-height: 45px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
/* /Comment bubble */
|
||||
|
||||
|
||||
/* =Post : Bar below content
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.post .below-content {
|
||||
background: #FAFAFA;
|
||||
background: #F9F9F9;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-style: solid;
|
||||
border-width: 1px 0;
|
||||
color: #666;
|
||||
margin-top: 30px;
|
||||
padding: 20px 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.post .below-content svg {
|
||||
display: inline-block;
|
||||
fill: #999;
|
||||
margin-bottom: -4px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.post .below-content a {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post .below-content p {
|
||||
height: 1em;
|
||||
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* =Post : Bar below content : Tags
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.post .below-content .tags {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.post .below-content .tags .the_tags {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.post .below-content .tags .the_tags a:last-child:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.post .below-content .read-more {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/* Swipe */
|
||||
|
||||
.swipe {
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap > div {
|
||||
float:left;
|
||||
width:100%;
|
||||
position: relative;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
/*-------Commentaires---------*/
|
||||
|
||||
.masquer {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* My Comment */
|
||||
.bouton:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.depth-2 {
|
||||
border-left: medium solid #929292;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.depth-3 {
|
||||
border-left: medium solid #cbcbcb;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.thread-alt {
|
||||
/*background-color: #fafafa;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;*/
|
||||
|
||||
background: #F9F9F9;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-style: solid;
|
||||
border-width: 1px 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.thread-even {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/*------- /Commentaires---------*/
|
||||
|
||||
|
||||
/*-------Slider---------*/
|
||||
|
||||
.slider {
|
||||
padding: 10px;
|
||||
width: 750px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
ul.slideshow {
|
||||
list-style:none;
|
||||
width:750px; /*450*/
|
||||
height:200px;
|
||||
overflow:hidden;
|
||||
position:relative;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ul.slideshow li {
|
||||
position:absolute;
|
||||
left:0;
|
||||
right:0;
|
||||
}
|
||||
|
||||
ul.slideshow li.show {
|
||||
z-index:500;
|
||||
}
|
||||
|
||||
ul img {
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
||||
#slideshow-caption {
|
||||
width:750px; /*450*/
|
||||
height:90px; /*70*/
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
left:0;
|
||||
color:#fff;
|
||||
background:#000;
|
||||
z-index:500;
|
||||
}
|
||||
|
||||
#slideshow-caption .slideshow-caption-container {
|
||||
padding:5px 10px;
|
||||
z-index:1000;
|
||||
}
|
||||
|
||||
#slideshow-caption h3 {
|
||||
margin:0;
|
||||
padding:0;
|
||||
font: italic 24px "Lucida Grande", Lucida, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
#slideshow-caption p {
|
||||
margin:5px 0 0 0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
/*------- /Slider---------*/
|
||||
|
||||
/*-------Photo du mois... ---------*/
|
||||
|
||||
.main-navigation .current-menu-item > a {
|
||||
color: #636363;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cadre {
|
||||
text-align: center;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.cadre img {
|
||||
padding: 10px;
|
||||
background-color: #fff;
|
||||
/*border: 1px solid #818181;*/
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
max-width: 95%;
|
||||
height: auto;
|
||||
}
|
||||
/*
|
||||
|
||||
|
||||
.imgLivre {
|
||||
padding: 10px;
|
||||
width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
*/
|
||||
#archive {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#archive h1 {
|
||||
font-size: 20px;
|
||||
font-size: 1.428571429rem;
|
||||
line-height: 1.2;
|
||||
font-weight: normal;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.cadre .titrePhoto {
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
text-decoration: underline;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cadre .legendePhoto {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.thumb {
|
||||
/*float: left;
|
||||
line-height: 200px;*/
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
/**/
|
||||
border: 1px solid #d7d8d4;
|
||||
background-color: #f8f8f4;
|
||||
|
||||
}
|
||||
|
||||
.albumdesc {
|
||||
float: right;
|
||||
text-align:center;
|
||||
width: 200px;
|
||||
padding: 6px 0 0 0;
|
||||
text-align:center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.album {
|
||||
float: left;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
text-align:center;
|
||||
margin-top: 0;
|
||||
margin-right: auto;
|
||||
/* entre 2 rangées d'albums */
|
||||
margin-bottom: 25px;
|
||||
margin-left: auto;
|
||||
padding: 0px 20px 20px;
|
||||
}
|
||||
|
||||
/*------- /Photo du mois... ---------*/
|
||||
|
||||
|
||||
/*------- ToolTip ---------*/
|
||||
|
||||
#tooltip {
|
||||
text-align: left;
|
||||
color: #909090;
|
||||
background: -webkit-gradient( linear, left top, left bottom, from( rgba(248, 248, 244, .6) ), to( rgba(248, 248, 244, .8) ) );
|
||||
background: -webkit-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: -moz-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: -ms-radial-gradient( top, rgba(248, 248, 244, .6), rrgba(248, 248, 244, .8) );
|
||||
background: -o-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
padding: 15px;
|
||||
border: thin solid #d7d8d4;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
font: x-small "Lucida Grande", Lucida, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
/* triangle decoration */
|
||||
#tooltip:after {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 10px solid #d7d8d4;
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
#tooltip.top:after {
|
||||
border-top-color: transparent;
|
||||
border-bottom: 10px solid #d7d8d4;
|
||||
top: -20px;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
#tooltip.left:after {
|
||||
left: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#tooltip.right:after {
|
||||
right: 10px;
|
||||
left: auto;
|
||||
margin: 0;
|
||||
}
|
||||
.aide {
|
||||
font-size: x-large;
|
||||
color: #fefb4e;
|
||||
border: thin solid #a0966c;
|
||||
text-align: center;
|
||||
padding-left: 10px;
|
||||
margin-right: 6px;
|
||||
background-color: #e7e7e2;
|
||||
}
|
||||
|
||||
/*------- /ToolTip ---------*/
|
||||
|
||||
|
||||
/*------- Livre d'Or ---------*/
|
||||
|
||||
.imgLivre {
|
||||
padding: 10px;
|
||||
width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.navPage {
|
||||
text-align: center;
|
||||
}
|
||||
53
tag.php
Normal file
53
tag.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Tag pages.
|
||||
*
|
||||
* Used to display archive-type pages for posts in a tag.
|
||||
*
|
||||
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twelve
|
||||
* @since Twenty Twelve 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<header class="archive-header">
|
||||
<!--h1 class="archive-title"><?php //printf( __( 'Tag Archives: %s', 'twentytwelve' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?></h1-->
|
||||
|
||||
<?php if ( tag_description() ) : // Show an optional tag description ?>
|
||||
<div class="archive-meta"><?php echo tag_description(); ?></div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .archive-header -->
|
||||
|
||||
<?php
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) : the_post();
|
||||
|
||||
/* Include the post format-specific template for the content. If you want to
|
||||
* this in a child theme then include a file called called content-___.php
|
||||
* (where ___ is the post format) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
endwhile;
|
||||
|
||||
twentytwelve_content_nav( 'nav-below' );
|
||||
?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
25
template-livre-d-or.php
Normal file
25
template-livre-d-or.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Livre d'Or
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if (function_exists('mybread')) mybread();?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php get_template_part( 'content', 'livre' ); ?>
|
||||
|
||||
<?php //comments_template( '', true );
|
||||
comments_template('/comments-livre.php'); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
1264
timthumb.php
Normal file
1264
timthumb.php
Normal file
File diff suppressed because it is too large
Load Diff
18
watermark2.php
Normal file
18
watermark2.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php header('content-type: image/jpeg');
|
||||
$watermark = @imagecreatefrompng('watermark.png') or exit('Cannot open the watermark file.');
|
||||
imageAlphaBlending($watermark, false);
|
||||
imageSaveAlpha($watermark, true);
|
||||
$image_string = @file_get_contents($_GET['src']) or exit('Cannot open image file.');
|
||||
$image = @imagecreatefromstring($image_string) or exit('Not a valid image format.');
|
||||
$imageWidth=imageSX($image);
|
||||
$imageHeight=imageSY($image);
|
||||
$watermarkWidth=imageSX($watermark);
|
||||
$watermarkHeight=imageSY($watermark);
|
||||
$coordinate_X = ( $imageWidth - 25) - ( $watermarkWidth);
|
||||
$coordinate_Y = ( $imageHeight - 25) - ( $watermarkHeight);
|
||||
imagecopy($image, $watermark, $coordinate_X, $coordinate_Y, 0, 0, $watermarkWidth, $watermarkHeight);
|
||||
imagejpeg ($image, NULL, 100);
|
||||
imagedestroy($image);
|
||||
imagedestroy($watermark);
|
||||
echo '<span style="color: #aaa;">cool'.$image . $imageWidth . $imageHeight.'</span>';
|
||||
?>
|
||||
Reference in New Issue
Block a user