Browse Source

Uniformisation et optimisation des boutons de partage qui mélangeaient allègrement SDK, boutons intrusifs et boutons moins intrusifs + de vieilles coquilles qui trainaient depuis des années

+ Du coup on gicle les SDK qui pourront être appelés SI BESOIN par les plugins ad-hoc : MagicLogin, Twitter, ... (on conserve qd même le inclure/sdk.html parce que je suis pas convaincu de devoir y revenir à un moment ou un autre, pour ajouter des compteurs de partage par exemple ...)

+ Au passage on en profite pour faire un peu de ménage dans des fichiers devenus inutiles

+ on déploie z_apl sur tout sauf header et content
svn/root/trunk
l.oiseau2nuit@gmail.com 5 years ago
parent
commit
a3f5f3b388
  1. 9
      .gitattributes
  2. 1
      body.html
  3. BIN
      css/img/descendre.png
  4. BIN
      css/img/remonter.png
  5. 15
      css/zktx.css.html
  6. 10
      extra1/z_apl.html
  7. 10
      extra2/z_apl.html
  8. 10
      extra3/z_apl.html
  9. 10
      footer/z_apl.html
  10. 2
      inclure/head.html
  11. 2
      inclure/remonter.html
  12. 1
      modeles/remonter.html
  13. 4
      modeles/social.html
  14. 16
      social/article.html
  15. 9
      social/auteur.html
  16. 9
      social/dist.html
  17. 13
      social/mot.html
  18. 3
      social/page.html
  19. 22
      social/rubrique.html
  20. 15
      social/site.html
  21. 9
      social/sommaire.html

9
.gitattributes vendored

@ -25,8 +25,6 @@ content/recherche.html -text
content/rubrique.html -text
content/site.html -text
content/sommaire.html -text
css/img/descendre.png -text
css/img/remonter.png -text
css/zktx.css.html -text
extra1/article.html -text
extra1/auteur.html -text
@ -37,9 +35,11 @@ extra1/plan.html -text
extra1/rubrique.html -text
extra1/site.html -text
extra1/sommaire.html -text
extra1/z_apl.html -text
extra2/404.html -text
extra2/auteur.html -text
extra2/dist.html -text
extra2/z_apl.html -text
extra3/article.html -text
extra3/auteur.html -text
extra3/breve.html -text
@ -49,11 +49,13 @@ extra3/plan.html -text
extra3/rubrique.html -text
extra3/site.html -text
extra3/sommaire.html -text
extra3/z_apl.html -text
/favicon.ico -text
foot_js/dist.html -text
foot_js/sommaire.html -text
foot_js/z_apl.html -text
footer/dist.html -text
footer/z_apl.html -text
formulaires/contact.html -text
formulaires/ecrire_auteur.html -text
formulaires/recherche.html -text
@ -115,8 +117,6 @@ modeles/pagination.html -text
modeles/pagination_page_precedent_suivant.html -text
modeles/pagination_precedent_suivant.html -text
modeles/paginationitem.html -text
modeles/remonter.html -text
modeles/social.html -text
modeles/sommaire.html -text
/paquet.xml -text
prive/TODO.txt -text
@ -127,7 +127,6 @@ social/article.html -text
social/auteur.html -text
social/dist.html -text
social/mot.html -text
social/page.html -text
social/rubrique.html -text
social/site.html -text
social/sommaire.html -text

1
body.html

@ -1,5 +1,4 @@
<body id="top" role="document">
<INCLURE{fond=inclure/sdk,env} />
<INCLURE{fond=header/#ENV{type-page},env} />
<section class="bs-content" id="content" role="main">
<div class="container"><INCLURE{fond=content/#ENV{type-page},env} /></div>

BIN
css/img/descendre.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

BIN
css/img/remonter.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

15
css/zktx.css.html

@ -28,6 +28,17 @@ a:active, a:hover, a:focus {
);]
}
a.btn, a.fa { text-decoration:none!important; }
[(#REM) Cas particulier des btn/liens pour les réseaux sociaux avec les icones font-awesome
Selon les fa- utilisés (fa-* ou fa-*-square) la couleur devra être appliqué sur le background plutôt que sur le lien lui même
couleurs et charte officielle de chaque réseau sur : https://www.blogdumoderateur.com/logos-reseaux-sociaux/ ]
a.color-fb {color:#47639E;}
a.color-tw {color:#55ACEE;}
a.color-li {color:#0077B5;}
a.color-gp {color:#DD4B39;}
[h2, .h2 {
color: #(#ID_RUBRIQUE
@ -42,7 +53,7 @@ p { margin:0 0 1em 0; }
.pull-left {margin-right:1em;}
.pull-right {margin-left:1em;}
a.btn { text-decoration:none!important; }
[(#SET{grad, [#(#ID_RUBRIQUE|couleur_rubrique|sinon{[(#ID_RUBRIQUE|couleur_site)]})] })]
[(#SET{grad_foncer, [#(#ID_RUBRIQUE|couleur_rubrique|sinon{[(#ID_RUBRIQUE|couleur_site)]}|couleur_foncer)] })]
@ -67,7 +78,7 @@ a.btn { text-decoration:none!important; }
.navbar-brand {padding:10px 15px;}
.remonter { position:fixed; bottom:0.85em; right:0.85em;}
a.top { position:fixed; bottom:1em; right:1em;}
[.breadcrumb {
background-color: #(#ID_RUBRIQUE
|couleur_rubrique

10
extra1/z_apl.html

@ -0,0 +1,10 @@
[(#REM)
Squelette Big_Pipe
http://www.facebook.com/notes/facebook-engineering/bigpipe-pipelining-web-pages-for-high-performance/389414033919
(c) 2010 Cedric Morin
Distribue sous licence GPL
]#CACHE{0}
#INCLURE{fond=inclure/ajax_parallel_load,bloc=#SQUELETTE}

10
extra2/z_apl.html

@ -0,0 +1,10 @@
[(#REM)
Squelette Big_Pipe
http://www.facebook.com/notes/facebook-engineering/bigpipe-pipelining-web-pages-for-high-performance/389414033919
(c) 2010 Cedric Morin
Distribue sous licence GPL
]#CACHE{0}
#INCLURE{fond=inclure/ajax_parallel_load,bloc=#SQUELETTE}

10
extra3/z_apl.html

@ -0,0 +1,10 @@
[(#REM)
Squelette Big_Pipe
http://www.facebook.com/notes/facebook-engineering/bigpipe-pipelining-web-pages-for-high-performance/389414033919
(c) 2010 Cedric Morin
Distribue sous licence GPL
]#CACHE{0}
#INCLURE{fond=inclure/ajax_parallel_load,bloc=#SQUELETTE}

10
footer/z_apl.html

@ -0,0 +1,10 @@
[(#REM)
Squelette Big_Pipe
http://www.facebook.com/notes/facebook-engineering/bigpipe-pipelining-web-pages-for-high-performance/389414033919
(c) 2010 Cedric Morin
Distribue sous licence GPL
]#CACHE{0}
#INCLURE{fond=inclure/ajax_parallel_load,bloc=#SQUELETTE}

2
inclure/head.html

@ -30,7 +30,7 @@
[(#REM) INSERT_HEAD_CSS ]
#INSERT_HEAD
[(#REM) CSS Boostrap, Bootswatch + font-awesome / compilées et minifiées ]
[(#REM) CSS Boostrap + font-awesome / compilées et minifiées ]
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

2
inclure/remonter.html

@ -1 +1 @@
<a class="btn btn-primary remonter" rel="nofollow" href="#top" title="<:skiplink:remonter:>"><span class="glyphicon glyphicon-arrow-up"></span> <span class="sr-only"><:skiplink:haut:></span></a>
<a class="top" rel="nofollow" href="#top" title="<:zktx:back_to_top:>"><i class="fa fa-4x fa-arrow-circle-up"></i></a>

1
modeles/remonter.html

@ -1 +0,0 @@
<nav class="nettoyeur">[<a class="skiplink remonter" rel="nofollow" href="(#SELF|ancre_url{top})" title="<:skiplink:remonter:>"><:skiplink:haut:></a>]</nav>

4
modeles/social.html

@ -1,4 +0,0 @@
<a href="https://twitter.com/Loiseau2nuit" rel="me" class="submit metal social twitter" title="@Loiseau2nuit sur Twitter"><span>Twitter</span></a></li>
<a href="https://spip.org/user/Loiseau2nuit" rel="me" class="submit metal social" title="@Loiseau2nuit sur Spip.org"><span>@Spip.org</span></a></li>
<a href="https://twitter.com/Loiseau2nuit" rel="me" class="submit metal social" title="Loiseau2nuit sur SPIP Contrib"><span>SPIP Contrib</span></a></li>

16
social/article.html

@ -1,12 +1,8 @@
[(#REM)
Copie du 2017-03-11 23:23:52 par Loiseau2nuit
Fichier original plugins/zktx-kore/trunk/social/article.html
]
<BOUCLE_social(ARTICLES){id_article}>
<BOUCLE_social_ar(ARTICLES){id_article}>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline" style="color:#55ACEE;" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_ARTICLE|url_absolue)]&text=[(#TITRE|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" style="color:#47639E;" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_ARTICLE|url_absolue)]&t=[(#TITRE|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" style="color:#DD4B39;" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_ARTICLE|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" style="color:#0077B5;" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_ARTICLE|url_absolue)]&title=[(#TITRE|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i></a></li>
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_ARTICLE|url_absolue)]&text=[(#TITRE|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_ARTICLE|url_absolue)]&t=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_ARTICLE|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_ARTICLE|url_absolue)]&title=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
</BOUCLE_social>
</BOUCLE_social_ar>

9
social/auteur.html

@ -1 +1,8 @@
[(#INCLURE{fond=modeles/social})]
<BOUCLE_social_au(AUTEURS){id_auteur}>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_AUTEUR|url_absolue)]&text=[(#NOM|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_AUTEUR|url_absolue)]&t=[(#NOM|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_AUTEUR|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_AUTEUR|url_absolue)]&title=[(#NOM|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
</BOUCLE_social_au>

9
social/dist.html

@ -1,3 +1,6 @@
<div class="share fb-like" data-href="#URL_SITE_SPIP" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-action="recommend" data-font="arial"></div>
<div class="share g-plusone" data-size="medium"></div>
<div class="share twitter-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="VSInet" data-lang="fr" data-related="VSInet" data-hashtags="webdev">Tweeter</a></div>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_SITE_SPIP)]&text=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_SITE_SPIP)]&t=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_SITE_SPIP)][&hl=(#LANG)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_SITE_SPIP)]&title=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>

13
social/mot.html

@ -1,5 +1,8 @@
<BOUCLE_social(MOTS){id_mot}>
<div class="share fb-like" data-href="[(#URL_MOT|url_absolue)]" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-action="recommend" data-font="arial"></div>
<div class="share g-plusone" data-size="medium"></div>
<div class="share twitter-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="VSInet" data-lang="fr" data-related="VSInet" data-hashtags="webdev">Tweeter</a></div>
</BOUCLE_social>
<BOUCLE_social_m(MOTS){id_mot}>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_MOT|url_absolue)]&text=[(#TITRE|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_MOT|url_absolue)]&t=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_MOT|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_MOT|url_absolue)]&title=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
</BOUCLE_social_m>

3
social/page.html

@ -1,3 +0,0 @@
<div class="share fb-like" data-href="#URL_SITE_SPIP" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-action="recommend" data-font="arial"></div>
<div class="share g-plusone" data-size="medium"></div>
<div class="share twitter-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="VSInet" data-lang="fr" data-related="VSInet" data-hashtags="webdev">Tweeter</a></div>

22
social/rubrique.html

@ -1,18 +1,8 @@
<BOUCLE_social(RUBRIQUES){id_rubrique}>
[(#REM)
Copie du 2017-03-11 23:23:52 par Loiseau2nuit
Fichier original plugins/zktx-kore/trunk/social/article.html
]
<BOUCLE_social_r(RUBRIQUES){id_rubrique}>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_RUBRIQUE|url_absolue)]&text=[(#TITRE|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_RUBRIQUE|url_absolue)]&t=[(#TITRE|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_RUBRIQUE|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i></a></li>
<li><a class="btn btn-sm btn-outline" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_RUBRIQUE|url_absolue)]&title=[(#TITRE|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i></a></li>
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_RUBRIQUE|url_absolue)]&text=[(#TITRE|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_RUBRIQUE|url_absolue)]&t=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_RUBRIQUE|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_RUBRIQUE|url_absolue)]&title=[(#TITRE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
</BOUCLE_social>
</BOUCLE_social_r>

15
social/site.html

@ -1,5 +1,10 @@
<BOUCLE_social(SITES){id_syndic}>
<div class="share fb-like" data-href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT}|url_absolue)]" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-action="recommend" data-font="arial"></div>
<div class="share g-plusone" data-size="medium"></div>
<div class="share twitter-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="VSInet" data-lang="fr" data-related="VSInet" data-hashtags="webdev">Tweeter</a></div>
</BOUCLE_social>
<BOUCLE_social_s(SITES){id_syndic}>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT}|url_absolue)]&text=[(#NOM_SITE|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT}|url_absolue)]&t=[(#NOM_SITE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT}|url_absolue)]&hl=fr" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT}|url_absolue)]&title=[(#NOM_SITE|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
</BOUCLE_social_s>

9
social/sommaire.html

@ -1,3 +1,6 @@
<div class="share fb-like" data-href="#URL_SITE_SPIP" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-action="recommend" data-font="arial"></div>
<div class="share g-plusone" data-size="medium"></div>
<div class="share twitter-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="VSInet" data-lang="fr" data-related="VSInet" data-hashtags="webdev">Tweeter</a></div>
<ul class="list-inline">
<li><a class="btn btn-sm btn-outline color-tw" target="_blank" title="Twitter" href="https://twitter.com/share?url=[(#URL_SITE_SPIP)]&text=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]&via=[(#URL_SITE_SPIP)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;"><i class="fa fa-3x fa-twitter-square"></i><span class="hidden-xs"> Twitter</span></a></li>
<li><a class="btn btn-sm btn-outline color-fb" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u=[(#URL_SITE_SPIP)]&t=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=700');return false;"><i class="fa fa-3x fa-facebook-square"></i><span class="hidden-xs"> Facebook</span></a></li>
<li><a class="btn btn-sm btn-outline color-gp" target="_blank" title="Google +" href="https://plus.google.com/share?url=[(#URL_SITE_SPIP)][&hl=(#LANG)]" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-google-plus-square"></i><span class="hidden-xs"> Google +</span></a></li>
<li><a class="btn btn-sm btn-outline color-li" target="_blank" title="Linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[(#URL_SITE_SPIP)]&title=[(#NOM_SITE_SPIP|supprimer_tags|textebrut)]" rel="nofollow" onclick="javascript:window.open(this.href, '','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=650');return false;"><i class="fa fa-3x fa-linkedin-square"></i><span class="hidden-xs"> Linked In</span></a></li>
</ul>
Loading…
Cancel
Save