This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pour afficher les réseaux sociaux sur la fiche Google My Business, code à mettre dans la partie <head> | |
* | |
* @category Référencement | |
* @author Joffrey HABAI <jh@ice-dev.com> | |
* @date 2015 02 03 | |
*/ | |
<script type="application/ld+json"> | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteRule ^une-url-propre-pour-ma-page$ /ma_page.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteRule ^une-url-propre-pour-ma-page$ /ma_page.php [L,E=NOM_DE_MA_VAR:1] | |
RewriteCond %{ENV:REDIRECT_NOM_DE_MA_VAR} !=1 | |
RewriteRule ^ma_page.php /une-url-propre-pour-ma-page [R=301] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var div_cliquable = $('#ma_div'); | |
$(document.body).click(function(e) { | |
// Si ce n'est pas #ma_div ni un de ses enfants | |
if( !$(e.target).is(div_cliquable) && !$.contains(div_cliquable[0],e.target) ) { | |
div_cliquable.fadeOut(); // masque #ma_div en fondu | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ================================================================================= | |
* @date : 15/01/2016 | |
* @version : 1.2 | |
* @company : Ice-Development | |
* @see : https://github.com/reficedev/alert-old-browser-detection | |
* edit jh 18/03/2016 : detection safari < 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if IE]><?php include("alert-ie.php"); ?><![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
<javascriptresource> | |
<name>Save as SVG</name> | |
<about>Name a layer or layerset with .svg to convert it.</about> | |
</javascriptresource> | |
*/ | |
var SvgWiz = SvgWiz || { | |
settings : { | |
scriptName : 'svgexport', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function newsDetailAction($slug) | |
{ | |
$request = $this->getRequest(); | |
$currentRoute = $request->attributes->get('_route'); | |
$currentUrl = $this->get('router')->generate($currentRoute, array('slug' => $slug), true); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mentions Légales | |
Ce site est édité par la société {nom_société}. | |
Siège social : {nom_société} {nom_adresse} | |
Capital social : XXXXX euros | |
Téléphone : +33 (0)4.74.00.00.00 | |
Responsable de la rédaction : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modèle de CGV | |
1. Acceptation des Conditions Générales de Vente | |
Les présentes Conditions Générales de Vente régissent contractuellement les relations commerciales entre {nom_société} et le client du site {nom_de_domaine_du_site}. | |
Le client déclare avoir pris connaissance des dispositions suivantes avant de passer commande de produits. En choisissant d'acheter des produits sur {nom_de_domaine_du_site}, le client accepte expressément les termes énoncés ci-après. | |
En cas de contradiction entre les présentes conditions générales de vente et tout autre document figurant sur le site, y compris charte de qualité ou document équivalent, les présentes conditions générales prévalent. | |
2. Prix |
OlderNewer