Skip to content
Extraits de code Groupes Projets
Valider 55d31236 rédigé par Fil's avatar Fil
Parcourir les fichiers

les logos de referer aussi pour les moteurs connus (google etc)

parent 6a420d41
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<div class="contenu" id="principal"> <div class="contenu" id="principal">
<div class="cartouche"> <div class="cartouche">
[(#LOGO_SITE|right||sinon{<img src="http://open.thumbshots.org/image.pxf?url=#URL_SITE" style="float: right;" alt="[(#NOM_SITE|addslashes)]" />})] [(#LOGO_SITE|right||sinon{<img src="http://open.thumbshots.org/image.pxf?url=[(#URL_SITE|urlencode)]" style="float: right;" alt="[(#NOM_SITE|entites_html)]" />})]
<h1 class="titre-texte"><a href="#URL_SITE">#NOM_SITE</a></h1> <h1 class="titre-texte"><a href="#URL_SITE">#NOM_SITE</a></h1>
......
...@@ -197,7 +197,7 @@ function aff_referers ($query, $limit=10, $plus) { ...@@ -197,7 +197,7 @@ function aff_referers ($query, $limit=10, $plus) {
$visites = pos($nbvisites); $visites = pos($nbvisites);
$ret = "\n<div style='clear: $spip_lang_right;'></div><a href=\"http://".$lesdomaines[$numero]."\"><img src=\"http://open.thumbshots.org/image.pxf?url=http://".$lesdomaines[$numero]."\" style=\"float: $spip_lang_right;\" /></a>"; $ret = "\n<div style='clear: $spip_lang_right;'></div><a href=\"http://".$lesurls[$numero]."\"><img src=\"http://open.thumbshots.org/image.pxf?url=http://".urlencode($lesurls[$numero])."\" style=\"float: $spip_lang_right; border: 0;\" /></a>";
$ret .= "\n<li>"; $ret .= "\n<li>";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter