Browse Source

tarteaucitron_actif() était KO + amélioration des modèles

pull/19/head
Chancellier Pierre-Jean 9 months ago
parent
commit
c424fef8c4
  1. 19
      action/tarteaucitron_referencer_services.php
  2. 3
      inc/tarteaucitron.php
  3. 2
      json/services.json
  4. 2
      lang/tarteaucitron_fr.php
  5. 2
      modeles/tac_acast.html
  6. 2
      modeles/tac_adform.html
  7. 2
      modeles/tac_adsense.html
  8. 2
      modeles/tac_adsensesearchform.html
  9. 2
      modeles/tac_aduptech_ads.html
  10. 4
      modeles/tac_aduptech_conversion.html
  11. 4
      modeles/tac_aduptech_retargeting.html
  12. 2
      modeles/tac_amazon.html
  13. 2
      modeles/tac_artetv.html
  14. 2
      modeles/tac_ausha.html
  15. 2
      modeles/tac_bandcamp.html
  16. 2
      modeles/tac_bingads.html
  17. 2
      modeles/tac_calameo.html
  18. 2
      modeles/tac_canalu.html
  19. 2
      modeles/tac_clicmanager.html
  20. 2
      modeles/tac_criteo.html
  21. 2
      modeles/tac_dailymotion.html
  22. 2
      modeles/tac_datingaffiliation.html
  23. 2
      modeles/tac_datingaffiliationpopup.html
  24. 2
      modeles/tac_deezer.html
  25. 2
      modeles/tac_discord.html
  26. 2
      modeles/tac_facebooklikebox.html
  27. 2
      modeles/tac_facebookpost.html
  28. 2
      modeles/tac_fculture.html
  29. 2
      modeles/tac_ferankpub.html
  30. 2
      modeles/tac_gagenda.html
  31. 2
      modeles/tac_gdocs.html
  32. 2
      modeles/tac_genially.html
  33. 2
      modeles/tac_gforms.html
  34. 2
      modeles/tac_googleadwordsconversion.html
  35. 2
      modeles/tac_googlemaps.html
  36. 2
      modeles/tac_googlemapssearch.html
  37. 2
      modeles/tac_googlepartners.html
  38. 2
      modeles/tac_gplusbadge.html
  39. 2
      modeles/tac_gsheets.html
  40. 2
      modeles/tac_gslides.html
  41. 2
      modeles/tac_helloasso.html
  42. 2
      modeles/tac_instagram.html
  43. 2
      modeles/tac_issuu.html
  44. 2
      modeles/tac_maps_noapi.html
  45. 2
      modeles/tac_mixcloud.html
  46. 2
      modeles/tac_outbrain.html
  47. 2
      modeles/tac_podcloud.html
  48. 2
      modeles/tac_prelinker.html
  49. 2
      modeles/tac_prezi.html
  50. 2
      modeles/tac_pubdirecte.html
  51. 2
      modeles/tac_recaptcha.html
  52. 2
      modeles/tac_shareaholic.html
  53. 2
      modeles/tac_shareasale.html
  54. 2
      modeles/tac_sharethis.html
  55. 2
      modeles/tac_slideshare.html
  56. 2
      modeles/tac_soundcloud.html
  57. 2
      modeles/tac_spotify.html
  58. 2
      modeles/tac_timelinejs.html
  59. 2
      modeles/tac_twenga.html
  60. 2
      modeles/tac_twitter.html
  61. 2
      modeles/tac_twitterembed.html
  62. 2
      modeles/tac_twittertimeline.html
  63. 2
      modeles/tac_vimeo.html
  64. 2
      modeles/tac_vshop.html
  65. 2
      modeles/tac_webtvnu.html
  66. 2
      modeles/tac_xandrconversion.html
  67. 2
      modeles/tac_xandrsegment.html
  68. 2
      modeles/tac_youtube.html
  69. 2
      tarteaucitron_pipelines.php

19
action/tarteaucitron_referencer_services.php

@ -89,7 +89,7 @@ function action_tarteaucitron_referencer_services_dist(){
while ($j > -1) {
$param = $param_list[$j];
$nom_param = "ptac_" . str_replace(" ","_",$param->textContent);
$newelement = $doc->createTextNode("'" . $nom_param . "'");
$newelement = $doc->createTextNode("'" . $nom_param . "'");
$span->replaceChild($newelement,$param);
array_unshift($list_services[$service]['params'],$nom_param);
$j--;
@ -104,6 +104,7 @@ function action_tarteaucitron_referencer_services_dist(){
// Récupère le modèle HTML
} elseif (($i!=$nb_items-1) && (!$is_modele_found)) {
$is_modele_found = true;
$pattern = array();
$param_list = $span->getElementsByTagName('b');
$nb_params = $param_list->length;
$j = $nb_params -1;
@ -111,6 +112,10 @@ function action_tarteaucitron_referencer_services_dist(){
while ($j > -1) {
$param = $param_list[$j];
$nom_param = str_replace(" ","_",$param->textContent);
// Si le paramètre contient des valeurs entre parenthèses comme (true | false), on les enlève
if (preg_match('/(_\(.+\))/',$nom_param,$matches)) {
$nom_param = str_replace($matches[1],"", $nom_param);
}
if ($is_service_hidden) {
$nom_param = "ptac_" . $nom_param;
@ -119,13 +124,9 @@ function action_tarteaucitron_referencer_services_dist(){
array_unshift($list_services[$service]['params'],$nom_param);
}
} else {
if (preg_match('/(_\(.+\))/',$nom_param,$matches)) {
$nom_param = str_replace($matches[1],"", $nom_param);
}
array_unshift($list_services[$service]['params_modele'],$nom_param);
$nom_param = "[(#ENV{" . $nom_param . "})]";
$nom_param = "(#ENV{" . $nom_param . "})";
$pattern[] = '/(\s?[\w.]+\s?=\s?[\'\"]?' . quotemeta($nom_param) . '[\'\"]?;?)/';
}
$newelement = $doc->createTextNode($nom_param);
@ -134,6 +135,10 @@ function action_tarteaucitron_referencer_services_dist(){
}
$script = trim($span->nodeValue);
if (!$is_service_hidden) {
$script = preg_replace($pattern,'[${1}]',$script);
}
$script = preg_replace('/(\n\s+)/', "\n", $script);
$script = str_replace("''","'",$script);

3
inc/tarteaucitron.php

@ -18,7 +18,8 @@ include_spip('inc/config');
function tarteaucitron_actif() {
$actif = false;
$liste_services = lire_config('tarteaucitron/services', array());
foreach ($liste_services as $value) {
foreach ($liste_services as $value => $params) {
if (!empty($value)) {
$actif = true;
}

2
json/services.json

File diff suppressed because one or more lines are too long

2
lang/tarteaucitron_fr.php

@ -40,7 +40,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
<div>Optionnel (suivant les services) :</div>
<br>
<li>Si le service en question n\'est pas de type <b>support</b> ou <b>analytic</b>, parcourez le dossier <b>modèles</b> du plugin pour savoir si un <code>#MODELE</code> doit être inséré dans vos squelettes à l\'endroit où vous voulez faire apparaître votre service.</li>
<li>Pour faire apparaître un raccourci vers le modèle <b>tac_mon_modele.html</b>dans le porte-plume, ajoutez une icône <b>squelettes/icones_barre/mon_modele.png</b> de 17px de côté pour permettre aux rédacteurs d\'insérer du contenu facilement.</li>
<li>Pour faire apparaître un raccourci vers le modèle <b>tac_mon_modele.html</b> dans le porte-plume, ajoutez une icône <b>squelettes/icones_barre/mon_modele.png</b> de 17px de côté pour permettre aux rédacteurs d\'insérer du contenu facilement.</li>
<li>En cas de problème avec le plugin ou un service en particulier, créez une issue sur <a href="https://git.spip.net/spip-contrib-extensions/tarteaucitron/issues" target="_blank">le dépôt du plugin</a>.</li>',
'cfg_externalcss' => 'Désactiver le CSS de TarteAuCitron',
'cfg_externalcss_explication' => 'Permet d’utiliser des règles CSS personnalisées',

2
modeles/tac_acast.html

@ -1 +1 @@
<div class="acast_embed" height="[(#ENV{height})]" width="[(#ENV{width})]" id="[(#ENV{id})]" id2="[(#ENV{id2})]" seek="[(#ENV{seek})]"></div>
<div class="acast_embed"[ height="(#ENV{height})"][ width="(#ENV{width})"][ id="(#ENV{id})"][ id2="(#ENV{id2})"][ seek="(#ENV{seek})"]></div>

2
modeles/tac_adform.html

@ -1 +1 @@
<script>tarteaucitron.user.adformpagename = '[(#ENV{adformpagename})]';</script>
<script>[tarteaucitron.user.adformpagename = '(#ENV{adformpagename})';]</script>

2
modeles/tac_adsense.html

@ -1 +1 @@
<ins class="adsbygoogle" style="display:inline-block;width:[(#ENV{width})]px;height:[(#ENV{height})]px" data-ad-client="[(#ENV{ca_pub_xxxxxxxxxxxxxxx})]" data-ad-slot="[(#ENV{ad_slot})]"></ins><script type="text/javascript">(adsbygoogle = window.adsbygoogle || []).push({});</script>
<ins class="adsbygoogle" style="display:inline-block;width:(#ENV{width})px;height:(#ENV{height})px" data-ad-[client="(#ENV{ca_pub_xxxxxxxxxxxxxxx})"] data-ad-[slot="(#ENV{ad_slot})"]></ins><script type="text/javascript">(adsbygoogle = window.adsbygoogle || []).push({});</script>

2
modeles/tac_adsensesearchform.html

@ -1 +1 @@
<form action="[(#ENV{url_destination})]" id="cse-search-box" target="[(#ENV{target})]"><div><input type="hidden" name="cx" value="[(#ENV{partner-pub-XXXXXXXXXXXX:XXXXXX})]" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="25" /><input type="submit" name="sa" value="Search" /></div></form>
<form[ action="(#ENV{url_destination})"] id="cse-search-box"[ target="(#ENV{target})"]><div><input type="hidden" name="cx"[ value="(#ENV{partner-pub-XXXXXXXXXXXX:XXXXXX})"] /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="25" /><input type="submit" name="sa" value="Search" /></div></form>

2
modeles/tac_aduptech_ads.html

@ -1,2 +1,2 @@
<div class="aduptech_ads"
placementKey="[(#ENV{PLACEMENT_KEY})]"></div>
[ placementKey="(#ENV{PLACEMENT_KEY})"]></div>

4
modeles/tac_aduptech_conversion.html

@ -1,3 +1,3 @@
<div class="aduptech_conversion"
advertiserId="[(#ENV{ADVERTISER_ID})]"
conversionCode="[(#ENV{CONVERSION_CODE})]"></div>
[ advertiserId="(#ENV{ADVERTISER_ID})"]
[ conversionCode="(#ENV{CONVERSION_CODE})"]></div>

4
modeles/tac_aduptech_retargeting.html

@ -1,4 +1,4 @@
<div class="aduptech_retargeting"
account="[(#ENV{ACCOUNT_ID})]"
product='["[(#ENV{PRODUCT_ID1})]", "[(#ENV{PRODUCT_ID2})]"]'
[ account="(#ENV{ACCOUNT_ID})"]
product='["(#ENV{PRODUCT_ID1})", "(#ENV{PRODUCT_ID2})"]'
track="productList" ></div>

2
modeles/tac_amazon.html

@ -1 +1 @@
<div class="amazon_product" amazonid="[(#ENV{xxxxx-xx})]" productid="[(#ENV{product_id})]"></div>
<div class="amazon_product"[ amazonid="(#ENV{xxxxx-xx})"][ productid="(#ENV{product_id})"]></div>

2
modeles/tac_artetv.html

@ -1 +1 @@
<div class="artetv_player" json="[(#ENV{video_json})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="artetv_player"[ json="(#ENV{video_json})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_ausha.html

@ -1 +1 @@
<div class="ausha_player" data-height="[(#ENV{data-height})]" data-podcast-id="[(#ENV{data-podcast-id})]" data-player-id="[(#ENV{data-player-id})]" data-playlist="[(#ENV{data-playlist})]" data-color="[(#ENV{data-color})]"></div>
<div class="ausha_player" data-[height="(#ENV{data-height})"] data-podcast-[id="(#ENV{data-podcast-id})"] data-player-[id="(#ENV{data-player-id})"] data-[playlist="(#ENV{data-playlist})"] data-[color="(#ENV{data-color})"]></div>

2
modeles/tac_bandcamp.html

@ -1 +1 @@
<div class="bandcamp_player" albumID="[(#ENV{album_id})]" size="[(#ENV{size})]" artwork="[(#ENV{artwork})]" transparent="[(#ENV{transparent})]" minimal="[(#ENV{minimal})]" tracklist="[(#ENV{tracklist})]" linkcol="[(#ENV{linkcol})]" package="[(#ENV{package})]" bgcol="[(#ENV{bgcol})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="bandcamp_player"[ albumID="(#ENV{album_id})"][ size="(#ENV{size})"][ artwork="(#ENV{artwork})"][ transparent="(#ENV{transparent})"][ minimal="(#ENV{minimal})"][ tracklist="(#ENV{tracklist})"][ linkcol="(#ENV{linkcol})"][ package="(#ENV{package})"][ bgcol="(#ENV{bgcol})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_bingads.html

@ -1 +1 @@
<script>tarteaucitron.user.bingadsID = '[(#ENV{bingadsID})]';</script>
<script>[tarteaucitron.user.bingadsID = '(#ENV{bingadsID})';]</script>

2
modeles/tac_calameo.html

@ -1 +1 @@
<div class="calameo-canvas" data-id="[(#ENV{bkcode})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="calameo-canvas" data-[id="(#ENV{bkcode})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_canalu.html

@ -1 +1 @@
<div class="canalu_player" videoTitle="[(#ENV{videoTitle})]"></div>
<div class="canalu_player"[ videoTitle="(#ENV{videoTitle})"]></div>

2
modeles/tac_clicmanager.html

@ -1 +1 @@
<div class="clicmanager-canvas" c="[(#ENV{c})]" s="[(#ENV{s})]" t="[(#ENV{t})]"></div>
<div class="clicmanager-canvas"[ c="(#ENV{c})"][ s="(#ENV{s})"][ t="(#ENV{t})"]></div>

2
modeles/tac_criteo.html

@ -1 +1 @@
<div class="criteo-canvas" zoneid="[(#ENV{zoneid})]"></div>
<div class="criteo-canvas"[ zoneid="(#ENV{zoneid})"]></div>

2
modeles/tac_dailymotion.html

@ -1 +1 @@
<div class="dailymotion_player" videoID="[(#ENV{video_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]" showinfo="[(#ENV{showinfo})]" autoplay="[(#ENV{autoplay})]" embedType="[(#ENV{embedType})]"></div>
<div class="dailymotion_player"[ videoID="(#ENV{video_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"][ showinfo="(#ENV{showinfo})"][ autoplay="(#ENV{autoplay})"][ embedType="(#ENV{embedType})"]></div>

2
modeles/tac_datingaffiliation.html

@ -1 +1 @@
<div class="datingaffiliation-canvas" data-comfrom="[(#ENV{data-comfrom})]" data-r="[(#ENV{data-r})]" data-p="[(#ENV{data-p})]" data-cf0="[(#ENV{data-cf0})]" data-langue="[(#ENV{data-langue})]" data-forwardAffiliate="[(#ENV{data-forwardAffiliate})]" data-cf2="[(#ENV{data-cf2})]" data-cfsa2="[(#ENV{data-cfsa2})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="datingaffiliation-canvas" data-[comfrom="(#ENV{data-comfrom})"] data-[r="(#ENV{data-r})"] data-[p="(#ENV{data-p})"] data-[cf0="(#ENV{data-cf0})"] data-[langue="(#ENV{data-langue})"] data-[forwardAffiliate="(#ENV{data-forwardAffiliate})"] data-[cf2="(#ENV{data-cf2})"] data-[cfsa2="(#ENV{data-cfsa2})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_datingaffiliationpopup.html

@ -1 +1 @@
<div class="datingaffiliationpopup-canvas" comfrom="[(#ENV{comfrom})]" promo="[(#ENV{promo})]" productid="[(#ENV{productid})]" submitconfig="[(#ENV{submitconfig})]" ur="[(#ENV{ur})]" brand="[(#ENV{brand})]" lang="[(#ENV{lang})]" cf0="[(#ENV{cf0})]" cf2="[(#ENV{cf2})]" subid1="[(#ENV{subid1})]" cfsa2="[(#ENV{cfsa2})]" subid2="[(#ENV{subid2})]" nicheid="[(#ENV{nicheid})]" degreid="[(#ENV{degreid})]" bt="[(#ENV{bt})]" vis="[(#ENV{vis})]" hid="[(#ENV{hid})]" snd="[(#ENV{snd})]" aabd="[(#ENV{aabd})]" aabs="[(#ENV{aabs})]"></div>
<div class="datingaffiliationpopup-canvas"[ comfrom="(#ENV{comfrom})"][ promo="(#ENV{promo})"][ productid="(#ENV{productid})"][ submitconfig="(#ENV{submitconfig})"][ ur="(#ENV{ur})"][ brand="(#ENV{brand})"][ lang="(#ENV{lang})"][ cf0="(#ENV{cf0})"][ cf2="(#ENV{cf2})"][ subid1="(#ENV{subid1})"][ cfsa2="(#ENV{cfsa2})"][ subid2="(#ENV{subid2})"][ nicheid="(#ENV{nicheid})"][ degreid="(#ENV{degreid})"][ bt="(#ENV{bt})"][ vis="(#ENV{vis})"][ hid="(#ENV{hid})"][ snd="(#ENV{snd})"][ aabd="(#ENV{aabd})"][ aabs="(#ENV{aabs})"]></div>

2
modeles/tac_deezer.html

@ -1 +1 @@
<div class="deezer_player" deezerID="[(#ENV{deezerID})]" theme="[(#ENV{theme})]" embedType="[(#ENV{type})]" radius="[(#ENV{radius})]" tracklist="[(#ENV{tracklist})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="deezer_player"[ deezerID="(#ENV{deezerID})"][ theme="(#ENV{theme})"][ embedType="(#ENV{type})"][ radius="(#ENV{radius})"][ tracklist="(#ENV{tracklist})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_discord.html

@ -1 +1 @@
<div class="discord_widget" width="[(#ENV{width})]" height="[(#ENV{height})]" guildID="[(#ENV{guildID})]"></div>
<div class="discord_widget"[ width="(#ENV{width})"][ height="(#ENV{height})"][ guildID="(#ENV{guildID})"]></div>

2
modeles/tac_facebooklikebox.html

@ -1 +1 @@
<div class="fb-like-box" data-href="[(#ENV{page_url})]" data-width="[(#ENV{width})]" data-height="[(#ENV{height})]" data-colorscheme="light" data-show-faces="[(#ENV{faces})]" data-header="[(#ENV{header})]" data-stream="[(#ENV{posts})]" data-show-border="[(#ENV{border})]"></div>
<div class="fb-like-box" data-[href="(#ENV{page_url})"] data-[width="(#ENV{width})"] data-[height="(#ENV{height})"] data-colorscheme="light" data-show-[faces="(#ENV{faces})"] data-[header="(#ENV{header})"] data-[stream="(#ENV{posts})"] data-show-[border="(#ENV{border})"]></div>

2
modeles/tac_facebookpost.html

@ -1 +1 @@
<div class="tac_facebookpost" data-appId="[(#ENV{appId})]" data-url="[(#ENV{url})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="tac_facebookpost" data-[appId="(#ENV{appId})"] data-[url="(#ENV{url})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_fculture.html

@ -1 +1 @@
<div class="fculture_embed" id="[(#ENV{id})]" height="[(#ENV{height})]" width="[(#ENV{width})]"></div>
<div class="fculture_embed"[ id="(#ENV{id})"][ height="(#ENV{height})"][ width="(#ENV{width})"]></div>

2
modeles/tac_ferankpub.html

@ -1 +1 @@
<ins class="ferank-publicite" client="[(#ENV{id_client})]" style="display:inline-block;width:[(#ENV{width})]px;height:[(#ENV{height})]px" titre="[(#ENV{couleur_titre})]" texte="[(#ENV{couleur_texte})]"></ins>
<ins class="ferank-publicite"[ client="(#ENV{id_client})"] style="display:inline-block;width:(#ENV{width})px;height:(#ENV{height})px"[ titre="(#ENV{couleur_titre})"][ texte="(#ENV{couleur_texte})"]></ins>

2
modeles/tac_gagenda.html

@ -1 +1 @@
<div class="gagenda_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" data="[(#ENV{data})]"></div>
<div class="gagenda_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ data="(#ENV{data})"]></div>

2
modeles/tac_gdocs.html

@ -1 +1 @@
<div class="gdocs_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" id="[(#ENV{id})]"></div>
<div class="gdocs_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ id="(#ENV{id})"]></div>

2
modeles/tac_genially.html

@ -1 +1 @@
<div class="tac_genially" geniallyid="[(#ENV{geniallyid})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="tac_genially"[ geniallyid="(#ENV{geniallyid})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_gforms.html

@ -1 +1 @@
<div class="gforms_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" id="[(#ENV{id})]"></div>
<div class="gforms_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ id="(#ENV{id})"]></div>

2
modeles/tac_googleadwordsconversion.html

@ -1 +1 @@
<script type="text/javascript">tarteaucitron.user.adwordsconversionId = '[(#ENV{id})]';tarteaucitron.user.adwordsconversionLabel = '[(#ENV{label})]';tarteaucitron.user.adwordsconversionLanguage = '[(#ENV{language})]';tarteaucitron.user.adwordsconversionFormat = '[(#ENV{format})]';tarteaucitron.user.adwordsconversionColor = '[(#ENV{color})]';tarteaucitron.user.adwordsconversionValue = '[(#ENV{value})]';tarteaucitron.user.adwordsconversionCurrency = '[(#ENV{currency})]';tarteaucitron.user.adwordsconversionCustom1 = '[(#ENV{custom1})]';tarteaucitron.user.adwordsconversionCustom2 = '[(#ENV{custom2})]';</script>
<script type="text/javascript">[tarteaucitron.user.adwordsconversionId = '(#ENV{id})';][tarteaucitron.user.adwordsconversionLabel = '(#ENV{label})';]tarteaucitron.user.adwordsconversionLanguage = '(#ENV{language})';[tarteaucitron.user.adwordsconversionFormat = '(#ENV{format})';][tarteaucitron.user.adwordsconversionColor = '(#ENV{color})';][tarteaucitron.user.adwordsconversionValue = '(#ENV{value})';][tarteaucitron.user.adwordsconversionCurrency = '(#ENV{currency})';][tarteaucitron.user.adwordsconversionCustom1 = '(#ENV{custom1})';][tarteaucitron.user.adwordsconversionCustom2 = '(#ENV{custom2})';]</script>

2
modeles/tac_googlemaps.html

@ -1 +1 @@
<div class="googlemaps-canvas" zoom="[(#ENV{zoom})]" latitude="[(#ENV{latitude})]" longitude="[(#ENV{longitude})]" style="width: [(#ENV{width})]px; height: [(#ENV{height})]px;"></div><script>tarteaucitron.user.mapscallback = '[(#ENV{callback_function})]';tarteaucitron.user.googlemapsLibraries = '[(#ENV{LIBRARIES})]';</script>
<div class="googlemaps-canvas"[ zoom="(#ENV{zoom})"][ latitude="(#ENV{latitude})"][ longitude="(#ENV{longitude})"] style="width: (#ENV{width})px; height: (#ENV{height})px;"></div><script>[tarteaucitron.user.mapscallback = '(#ENV{callback_function})';][tarteaucitron.user.googlemapsLibraries = '(#ENV{LIBRARIES})';]</script>

2
modeles/tac_googlemapssearch.html

@ -1 +1 @@
<div class="googlemapssearch" data-search="[(#ENV{SEARCHWORDS})]" data-api-key="[(#ENV{YOUR_GOOGLE_MAP_API_KEY})]" width="[(#ENV{WIDTH})]" height="[(#ENV{HEIGHT})]" ></div>
<div class="googlemapssearch" data-[search="(#ENV{SEARCHWORDS})"] data-api-[key="(#ENV{YOUR_GOOGLE_MAP_API_KEY})"][ width="(#ENV{WIDTH})"][ height="(#ENV{HEIGHT})"] ></div>

2
modeles/tac_googlepartners.html

@ -1 +1 @@
<div class="g-partnersbadge" data-agency-id="[(#ENV{id})]"></div>
<div class="g-partnersbadge" data-agency-[id="(#ENV{id})"]></div>

2
modeles/tac_gplusbadge.html

@ -1 +1 @@
<div class="g-page" data-width="[(#ENV{width})]" data-href="//plus.google.com/u/0/[(#ENV{page_id})]" data-rel="publisher" data-showtagline="[(#ENV{description})]" data-showcoverphoto="[(#ENV{cover})]"></div>
<div class="g-page" data-[width="(#ENV{width})"] data-href="//plus.google.com/u/0/(#ENV{page_id})" data-rel="publisher" data-[showtagline="(#ENV{description})"] data-[showcoverphoto="(#ENV{cover})"]></div>

2
modeles/tac_gsheets.html

@ -1 +1 @@
<div class="gsheets_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" id="[(#ENV{id})]" headers="[(#ENV{headers})]"></div>
<div class="gsheets_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ id="(#ENV{id})"][ headers="(#ENV{headers})"]></div>

2
modeles/tac_gslides.html

@ -1 +1 @@
<div class="gslides_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" id="[(#ENV{id})]" autostart="[(#ENV{autostart})]" loop="[(#ENV{loop})]" delay="[(#ENV{delay})]"></div>
<div class="gslides_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ id="(#ENV{id})"][ autostart="(#ENV{autostart})"][ loop="(#ENV{loop})"][ delay="(#ENV{delay})"]></div>

2
modeles/tac_helloasso.html

@ -1 +1 @@
<div class="tac_helloasso" data-url="[(#ENV{url})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="tac_helloasso" data-[url="(#ENV{url})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_instagram.html

@ -1 +1 @@
<div class="instagram_post" postID="[(#ENV{postID})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="instagram_post"[ postID="(#ENV{postID})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_issuu.html

@ -1 +1 @@
<div class="issuu_player" issuuID="[(#ENV{your_issuu_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="issuu_player"[ issuuID="(#ENV{your_issuu_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_maps_noapi.html

@ -1 +1 @@
<div class="googlemaps_embed" width="[(#ENV{width})]" height="[(#ENV{height})]" id="[(#ENV{id})]"></iframe>
<div class="googlemaps_embed"[ width="(#ENV{width})"][ height="(#ENV{height})"][ id="(#ENV{id})"]></iframe>

2
modeles/tac_mixcloud.html

@ -1 +1 @@
<div class="mixcloud_embed" height="[(#ENV{height})]" width="[(#ENV{width})]" hidecover="[(#ENV{hidecover})]" mini="[(#ENV{mini})]" light="[(#ENV{light})]" id="[(#ENV{id})]"></div>
<div class="mixcloud_embed"[ height="(#ENV{height})"][ width="(#ENV{width})"][ hidecover="(#ENV{hidecover})"][ mini="(#ENV{mini})"][ light="(#ENV{light})"][ id="(#ENV{id})"]></div>

2
modeles/tac_outbrain.html

@ -1 +1 @@
<div class="OUTBRAIN" data-src="[(#ENV{PERMALINK})]" data-widget-id="[(#ENV{ID})]"></div>
<div class="OUTBRAIN" data-[src="(#ENV{PERMALINK})"] data-widget-[id="(#ENV{ID})"]></div>

2
modeles/tac_podcloud.html

@ -1 +1 @@
<div class="tac_podcloud" data-url="[(#ENV{url})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="tac_podcloud" data-[url="(#ENV{url})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_prelinker.html

@ -1 +1 @@
<div class="prelinker-canvas" siteId="[(#ENV{siteId})]" bannerId="[(#ENV{bannerId})]" defaultLanguage="[(#ENV{defaultLanguage})]" tracker="[(#ENV{tracker})]"></div>
<div class="prelinker-canvas"[ siteId="(#ENV{siteId})"][ bannerId="(#ENV{bannerId})"][ defaultLanguage="(#ENV{defaultLanguage})"][ tracker="(#ENV{tracker})"]></div>

2
modeles/tac_prezi.html

@ -1 +1 @@
<div class="prezi-canvas" data-id="[(#ENV{slide_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="prezi-canvas" data-[id="(#ENV{slide_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_pubdirecte.html

@ -1 +1 @@
<div class="pubdirecte-canvas" pid="[(#ENV{id})]" ref="[(#ENV{ref})]"></div>
<div class="pubdirecte-canvas"[ pid="(#ENV{id})"][ ref="(#ENV{ref})"]></div>

2
modeles/tac_recaptcha.html

@ -1 +1 @@
<div class="g-recaptcha" data-sitekey="[(#ENV{sitekey})]"></div>
<div class="g-recaptcha" data-[sitekey="(#ENV{sitekey})"]></div>

2
modeles/tac_shareaholic.html

@ -1 +1 @@
<div class='shareaholic-canvas' data-app='share_buttons' data-app-id='[(#ENV{app_id})]'></div>
<div class='shareaholic-canvas' data-app='share_buttons' data-app-[id='(#ENV{app_id})']></div>

2
modeles/tac_shareasale.html

@ -1 +1 @@
<div class="shareasale-canvas" amount="[(#ENV{amount})]" tracking="[(#ENV{tracking})]" transtype="[(#ENV{transtype})]" persale="[(#ENV{persale})]" perlead="[(#ENV{perlead})]" perhit="[(#ENV{perhit})]" merchantID="[(#ENV{merchantID})]"></div>
<div class="shareasale-canvas"[ amount="(#ENV{amount})"][ tracking="(#ENV{tracking})"][ transtype="(#ENV{transtype})"][ persale="(#ENV{persale})"][ perlead="(#ENV{perlead})"][ perhit="(#ENV{perhit})"][ merchantID="(#ENV{merchantID})"]></div>

2
modeles/tac_sharethis.html

@ -1 +1 @@
<span class="tacSharethis"></span>[(#ENV{services_list_spans})]
<span class="tacSharethis"></span>(#ENV{services_list_spans})

2
modeles/tac_slideshare.html

@ -1 +1 @@
<div class="slideshare-canvas" data-id="[(#ENV{slide_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="slideshare-canvas" data-[id="(#ENV{slide_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_soundcloud.html

@ -1 +1 @@
<div class="soundcloud_player" data-playable-id="[(#ENV{track_or_playlist_id})]" data-playable-type="[(#ENV{type})]" data-height="[(#ENV{iframe_height})]" data-color="[(#ENV{accent_color})]" data-auto-play="[(#ENV{autoplay})]" data-hide-related="[(#ENV{hide_related})]" data-show-comments="[(#ENV{show_comment})]" data-show-user="[(#ENV{show_user})]" data-show-reposts="[(#ENV{show_repost})]" data-show-teaser="[(#ENV{show_teaser})]" data-visual="[(#ENV{visual})]" data-artwork="[(#ENV{artwork})]"></div>
<div class="soundcloud_player" data-playable-[id="(#ENV{track_or_playlist_id})"] data-playable-[type="(#ENV{type})"] data-[height="(#ENV{iframe_height})"] data-[color="(#ENV{accent_color})"] data-auto-[play="(#ENV{autoplay})"] data-hide-[related="(#ENV{hide_related})"] data-show-[comments="(#ENV{show_comment})"] data-show-[user="(#ENV{show_user})"] data-show-[reposts="(#ENV{show_repost})"] data-show-[teaser="(#ENV{show_teaser})"] data-[visual="(#ENV{visual})"] data-[artwork="(#ENV{artwork})"]></div>

2
modeles/tac_spotify.html

@ -1 +1 @@
<div class="spotify_player" spotifyID="[(#ENV{spotifyID})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="spotify_player"[ spotifyID="(#ENV{spotifyID})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_timelinejs.html

@ -1 +1 @@
<div class="timelinejs-canvas" spreadsheet_id="[(#ENV{spreadsheet_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]" lang="[(#ENV{lang_2_letter})]" font="[(#ENV{font})]" map="[(#ENV{map})]" start_at_end="[(#ENV{start_at_end})]" hash_bookmark="[(#ENV{hash_bookmark})]" start_at_slide="[(#ENV{start_at_slide})]" start_zoom="[(#ENV{start_zoom})]"></div>
<div class="timelinejs-canvas"[ spreadsheet_id="(#ENV{spreadsheet_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"][ lang="(#ENV{lang_2_letter})"][ font="(#ENV{font})"][ map="(#ENV{map})"][ start_at_end="(#ENV{start_at_end})"][ hash_bookmark="(#ENV{hash_bookmark})"][ start_at_slide="(#ENV{start_at_slide})"][ start_zoom="(#ENV{start_zoom})"]></div>

2
modeles/tac_twenga.html

@ -1 +1 @@
<script type="text/javascript">tarteaucitron.user.twengaId = [(#ENV{id})];tarteaucitron.user.twengaLocale = '[(#ENV{locale})]';</script>
<script type="text/javascript">[tarteaucitron.user.twengaId = (#ENV{id});][tarteaucitron.user.twengaLocale = '(#ENV{locale})';]</script>

2
modeles/tac_twitter.html

@ -1 +1 @@
<span class="tacTwitter"></span><a href="https://twitter.com/share" class="twitter-share-button" data-via="[(#ENV{twitter_username})]" data-count="vertical" data-dnt="true"></a>
<span class="tacTwitter"></span><a href="https://twitter.com/share" class="twitter-share-button" data-[via="(#ENV{twitter_username})"] data-count="vertical" data-dnt="true"></a>

2
modeles/tac_twitterembed.html

@ -1 +1 @@
<div class="twitterembed-canvas" tweetid="[(#ENV{tweet_id})]" data-width="[(#ENV{width})]" theme="[(#ENV{theme})]" cards="[(#ENV{cards})]" conversation="[(#ENV{conversation})]" data-align="[(#ENV{align})]"></div>
<div class="twitterembed-canvas"[ tweetid="(#ENV{tweet_id})"] data-[width="(#ENV{width})"][ theme="(#ENV{theme})"][ cards="(#ENV{cards})"][ conversation="(#ENV{conversation})"] data-[align="(#ENV{align})"]></div>

2
modeles/tac_twittertimeline.html

@ -1 +1 @@
<span class="tacTwitterTimelines"></span><a class="twitter-timeline" href="[(#ENV{twitter_url})]" data-tweet-limit="[(#ENV{tweet-limit})]" data-dnt="[(#ENV{dnt})]" data-width="[(#ENV{width})]" data-height="[(#ENV{height})]" data-theme="[(#ENV{theme})]" data-link-color="[(#ENV{hex_link-color})]"></a>
<span class="tacTwitterTimelines"></span><a class="twitter-timeline"[ href="(#ENV{twitter_url})"] data-tweet-[limit="(#ENV{tweet-limit})"] data-[dnt="(#ENV{dnt})"] data-[width="(#ENV{width})"] data-[height="(#ENV{height})"] data-[theme="(#ENV{theme})"] data-link-[color="(#ENV{hex_link-color})"]></a>

2
modeles/tac_vimeo.html

@ -1 +1 @@
<div class="vimeo_player" videoID="[(#ENV{video_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]"></div>
<div class="vimeo_player"[ videoID="(#ENV{video_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"]></div>

2
modeles/tac_vshop.html

@ -1 +1 @@
<div class="vcashW" style="width: [(#ENV{width})]px; height: [(#ENV{height})]px;" data-key="[(#ENV{key})]" data-tracking="[(#ENV{zone})]" data-category="[(#ENV{category})]" data-keyword="[(#ENV{keyword})]" data-layout="[(#ENV{layout})]" data-theme="[(#ENV{theme})]" data-linkColor="[(#ENV{link_color})]" data-textColor="[(#ENV{text_color})]" data-backgroundColor="[(#ENV{background_color})]" data-borderColor="[(#ENV{border_color})]"></div>
<div class="vcashW" style="width: (#ENV{width})px; height: (#ENV{height})px;" data-[key="(#ENV{key})"] data-[tracking="(#ENV{zone})"] data-[category="(#ENV{category})"] data-[keyword="(#ENV{keyword})"] data-[layout="(#ENV{layout})"] data-[theme="(#ENV{theme})"] data-[linkColor="(#ENV{link_color})"] data-[textColor="(#ENV{text_color})"] data-[backgroundColor="(#ENV{background_color})"] data-[borderColor="(#ENV{border_color})"]></div>

2
modeles/tac_webtvnu.html

@ -1 +1 @@
<div class="webtvnu_player" videoID="[(#ENV{videoID})]"></div>
<div class="webtvnu_player"[ videoID="(#ENV{videoID})"]></div>

2
modeles/tac_xandrconversion.html

@ -1 +1 @@
<div id="[(#ENV{uniqId})]" xandrconversionId="[(#ENV{xandrconversionId})]" xandrconversionSeg="[(#ENV{xandrconversionSeg})]" xandrconversionOrderId="[(#ENV{xandrconversionOrderId})]" xandrconversionValue="[(#ENV{xandrconversionValue})]" xandrconversionRedir="[(#ENV{xandrconversionRedir})]" xandrconversionOther="[(#ENV{xandrconversionOther})]"></div>
<div[ id="(#ENV{uniqId})"][ xandrconversionId="(#ENV{xandrconversionId})"][ xandrconversionSeg="(#ENV{xandrconversionSeg})"][ xandrconversionOrderId="(#ENV{xandrconversionOrderId})"][ xandrconversionValue="(#ENV{xandrconversionValue})"][ xandrconversionRedir="(#ENV{xandrconversionRedir})"][ xandrconversionOther="(#ENV{xandrconversionOther})"]></div>

2
modeles/tac_xandrsegment.html

@ -1 +1 @@
<div id="[(#ENV{uniqId})]" xandrsegmentAdd="[(#ENV{xandrsegmentAdd})]" xandrsegmentAddCode="[(#ENV{xandrsegmentAddCode})]" xandrsegmentRemove="[(#ENV{xandrsegmentRemove})]" xandrsegmentRemoveCode="[(#ENV{xandrsegmentRemoveCode})]" xandrsegmentMember="[(#ENV{xandrsegmentMember})]" xandrsegmentRedir="[(#ENV{xandrsegmentRedir})]" xandrsegmentValue="[(#ENV{xandrsegmentValue})]" xandrsegmentOther="[(#ENV{xandrsegmentOther})]"></div>
<div[ id="(#ENV{uniqId})"][ xandrsegmentAdd="(#ENV{xandrsegmentAdd})"][ xandrsegmentAddCode="(#ENV{xandrsegmentAddCode})"][ xandrsegmentRemove="(#ENV{xandrsegmentRemove})"][ xandrsegmentRemoveCode="(#ENV{xandrsegmentRemoveCode})"][ xandrsegmentMember="(#ENV{xandrsegmentMember})"][ xandrsegmentRedir="(#ENV{xandrsegmentRedir})"][ xandrsegmentValue="(#ENV{xandrsegmentValue})"][ xandrsegmentOther="(#ENV{xandrsegmentOther})"]></div>

2
modeles/tac_youtube.html

@ -1 +1 @@
<div class="youtube_player" videoID="[(#ENV{video_id})]" width="[(#ENV{width})]" height="[(#ENV{height})]" theme="[(#ENV{theme})]" rel="[(#ENV{rel})]" controls="[(#ENV{controls})]" showinfo="[(#ENV{showinfo})]" autoplay="[(#ENV{autoplay})]" mute="[(#ENV{mute})]" srcdoc="[(#ENV{srcdoc})]" loop="[(#ENV{loop})]" loading="[(#ENV{loading})]"></div>
<div class="youtube_player"[ videoID="(#ENV{video_id})"][ width="(#ENV{width})"][ height="(#ENV{height})"][ theme="(#ENV{theme})"][ rel="(#ENV{rel})"][ controls="(#ENV{controls})"][ showinfo="(#ENV{showinfo})"][ autoplay="(#ENV{autoplay})"][ mute="(#ENV{mute})"][ srcdoc="(#ENV{srcdoc})"][ loop="(#ENV{loop})"][ loading="(#ENV{loading})"]></div>

2
tarteaucitron_pipelines.php

@ -45,7 +45,7 @@ function tarteaucitron_insert_head($flux) {
* @return mixed
*/
function tarteaucitron_affichage_final($html) {
if (!test_espace_prive() and tarteaucitron_actif()) {
if ($GLOBALS['html'] and !test_espace_prive() and tarteaucitron_actif()) {
$ajouter_services = '<script type="text/javascript">';
$json_source = find_in_path('json/services.json');
$json = file_get_contents($json_source);

Loading…
Cancel
Save