session.lifetime = 31536000 ;1 year
session.adapter = cache
+session.cookieDomain = fluidbook.com
database.adapter = pdo_mysql
database.params.host = localhost
$social = new Fluidbook_Form_CMS_Sub_Social_Networks();
$social->setLegend('Réseaux Sociaux');
$this->addSubFormLocalized($social, 'social_networks');
+
+ $e404 = new CubeIT_Form_Element_Markitup('e404');
+ $e404->setLabel('Erreur 404');
+ $this->addElementLocalized($e404);
}
}
\ No newline at end of file
echo '<main>';\r
echo '<div id="contentWrapper">'; // Needed because FullPage.js doesn't work when the wrapper is a <main> element\r
echo $content;\r
-echo $this->render('common/footer.phtml');\r
+\r
echo '</div>';\r
echo '</main>';\r
+echo $this->render('common/footer.phtml');\r
echo '</div>';\r
<?php
$translations = array (
-
+ 'Prénom' => 'First name',
+ 'Nom' => 'Last name',
+ 'Veuillez indiquer votre nom' => 'Please indicate your name',
+ 'Nom de la société' => 'Company name',
+ 'Veuillez indiquer le nom de votre société' => 'Please indicate the name of your company',
+ 'Vous êtes' => 'You are',
+ 'Une agence de communication' => 'A communication agency',
+ 'Un créatif freelance' => 'A freelancer',
+ 'Une société' => 'A company',
+ 'Autre' => 'Other',
+ 'Veuillez indiquer le type de votre société' => 'Please indicate your company sector',
+ 'Email professionnel' => 'Work email',
+ 'Veuillez indiquer une adresse e-mail valide' => 'Please enter a valid email address',
+ 'Téléphone' => 'Telephone',
+ 'Commentaires sur votre projet' => 'Remarks about your project',
+ 'Envoyer la demande' => 'Send the request',
+ 'Tél :' => 'Tel:',
+ 'email :' => 'email:',
+ 'Tél.' => 'Tel.',
+ 'Plan du site' => 'Site map',
+ 'Demander un devis' => 'Ask for a quote',
+ 'Contactez-nous' => 'Contact us',
+ 'Voir le Fluidbook' => 'See the Fluidbook',
+ 'Demandez un devis' => 'Ask for a quote',
+ 'Contact' => 'Contact',
);
\ No newline at end of file
\r
var mainHeight = wh;\r
$("footer").each(function () {\r
- mainHeight -= $(this).outerHeight();\r
+ mainHeight -= $(this).outerHeight()*zoom;\r
});\r
\r
- $('main').css('min-height', mainHeight);\r
+ $('main').css('min-height', mainHeight/zoom);\r
\r
// Handle divs with background images that must have a proportional min-height\r
$('body:not(.home) [data-bg-ratio]').each(function () {\r
}\r
\r
$('#z,header').css('transform', transform);\r
- if(Modernizr.ie10 || Modernizr.ie11){\r
- if(zoom>1) {\r
+ if (Modernizr.ie10 || Modernizr.ie11) {\r
+ if (zoom > 1) {\r
$("#mm-0").css('height', h + 60);\r
}\r
- $("#footerHolder").css('transform',transform);\r
+ $("#footerHolder").css('transform', transform);\r
}\r
}\r
\r
function setHeaderAnimation() {\r
var h = $('#h');\r
home = $('body').hasClass('home');\r
+ var error = $('#error').length > 0;\r
var fullPages = $('body').hasClass('fullpages'); // Are we in full page mode?\r
\r
if (htl !== undefined) {\r
// Background-color & height\r
htl.add(TweenMax.fromTo(h, 1.5, {height: 90}, {height: 75}), 0);\r
\r
- if (home && (isMobile() || !fullPages)) {\r
- htl.add(TweenMax.fromTo($("#h,#nav-icon"), 1, {className: $("main section:first").data('headerstyle')}, {className: "-=light"}), 1);\r
+ if ((home || error) && (isMobile() || !fullPages)) {\r
+ var c;\r
+ if (home) {\r
+ c = $("main section:first").data('headerstyle');\r
+ } else if (error) {\r
+ c = 'light';\r
+ }\r
+ htl.add(TweenMax.fromTo($("#h,#nav-icon"), 1, {className: c}, {className: "-=light"}), 1);\r
}\r
if (fullPages && !isMobile()) {\r
htl.add(TweenMax.fromTo(h, 0.75, {backgroundColor: 'transparent', boxShadow: '0 0 0 rgba(0,0,0,0)'}, {backgroundColor: 'transparent', boxShadow: '0 0 0 rgba(0,0,0,0)'}), 0);\r
@import "000-imports";\r
\r
+::selection {\r
+ background: #8AAB41;\r
+ color: #fff;\r
+}\r
+\r
+::-moz-selection {\r
+ background: #8AAB41;\r
+ color: #fff;\r
+}\r
+\r
+\r
html {\r
box-sizing: border-box;\r
}\r