diff --git a/.gitattributes b/.gitattributes index 03eae63a7bbc2bd16cdc7b28301c327c3711cac7..4ae249872ce5e8f8a693694239366a8d50ceb2a4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -595,6 +595,7 @@ prive/themes/spip/images/soyezcreateurs_help-48.png -text /soyezcreateurs_administrations.php -text /soyezcreateurs_fonctions.php -text /soyezcreateurs_options.php -text +/soyezcreateurs_pipelines.php -text /stylescommuniquant.css.html -text /stylesportail.css.html -text /stylessoyezcreateurs.css.html -text diff --git a/javascripts.js.html b/javascripts.js.html index a54aa5f7fe0064d8fc5c40e678c629171f0d9b4c..62070e25a41edcfe7ba9f3b8a7fb963c8ebc724e 100644 --- a/javascripts.js.html +++ b/javascripts.js.html @@ -214,15 +214,7 @@ function myInitPages() { if (id_anchor) $('#'+id_anchor).parent().addClass('highlight_anchor'); // ajoute la classe highlight_anchor à l'element autour de l'ancre ; [(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non) - $(function() { - $('a, input, select, img, button, h2, h3, dd, acronym, abbr, area, strong.agendastatut').tooltip({ - track: false, - delay: 1000, - showURL: false, - showBody: " - ", - fade: 250 - }); - }); + $(function() { $( document ).tooltip(); }); ] $(".escapelinks").one("focus", "a", function() { $(".escapelinks").removeClass("escapelinks"); } ); } diff --git a/noisettes/galerie.html b/noisettes/galerie.html index c647251e44ed3c0bd9dc81248d372c7e66708d34..715cf227b782689c047e72a4e306bf508b4bd138 100644 --- a/noisettes/galerie.html +++ b/noisettes/galerie.html @@ -9,30 +9,11 @@ <dt class="photo_articles"><a href="#URL_DOCUMENT" title="<:soyezcreateurs:voirimage:> : [(#TITRE|attribut_html|sinon{<:info_document:>})] (#LARGEUR × #HAUTEUR, [(#TAILLE|taille_en_octets)])">[(#SET{limage,[(#FICHIER|copie_locale|image_reduire{[(#CONFIG{soyezcreateurs_layout/largeurconteneur,960}|moins{#CONFIG{soyezcreateurs_layout/largeurmenugauche,180}}|moins{#CONFIG{soyezcreateurs_layout/largeurmenudroit,180}}|moins{150})],0})]})]<img class="galleriebig" src="[(#GET{limage}|extraire_attribut{src})]" width='[(#GET{limage}|largeur)]' height='[(#GET{limage}|hauteur)]' alt="[(#TITRE|attribut_html)]" /></a></dt> [<dd class="#EDIT{descriptif}">(#DESCRIPTIF)</dd>] </dl> -[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non) -<script type="text/javascript"> -$(function() { - $('#galerie a, #galerie input, #galerie select, #galerie img, #galerie button, #galerie h2, #galerie h3, #galerie dd, #galerie acronym, #galerie abbr, #galerie area').tooltip({ - track: false, - delay: 0, - showURL: false, - showBody: " - ", - fade: 250 - }); -}); -</script>] </div> </BOUCLE_afficher_document> <div id="documents_portfolio"> <BOUCLE_imgs(DOCUMENTS){id_article?}{id_rubrique?}{mode=document}{par num titre}{!par date}{extension IN png,jpg,gif}{vu=non}>[(#SET{grandeversion,[(#FICHIER|copie_locale|image_reduire{1200,0}|image_masque{#CHEMIN{images/copyright_masque.png}}|image_aplatir{jpg,[(#GET{c_container_bk}|couleur_inverserluminosite{1})],80})]})][(#SET{lavignette,[(#FICHIER|copie_locale|image_reduire{60,60}|image_recadre{60,60,center,[(#GET{c_container_bk}|couleur_inverserluminosite{1})]}|image_aplatir{jpg,[(#GET{c_container_bk}|couleur_inverserluminosite{1})]})]})][(#ENV{id_document}|=={#ID_DOCUMENT}|?{'',[(#PLUGIN{mediabox}|?{<a class="mediabox" href="[(#GET{grandeversion}|extraire_attribut{src})]" type="#MIME_TYPE" title="[(#TITRE|attribut_html|sinon{<:info_document:>})]" rel="gal">,<a class="ajax" href="[(#ARTICLE_URL|parametre_url{id_document,#ID_DOCUMENT})]#document_actif">})]})]<img src="[(#GET{lavignette}|extraire_attribut{src})]" width="[(#GET{lavignette}|largeur)]" height="[(#GET{lavignette}|hauteur)]" alt="[(#TITRE|attribut_html|sinon{<:info_document:>})]" title="[(#TITRE|attribut_html|sinon{<:info_document:>})][ - (#DESCRIPTIF|attribut_html)]" />[(#ENV{id_document}|=={#ID_DOCUMENT}|?{'',</a>})] </BOUCLE_imgs> -[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non) -[(#PLUGIN{mediabox}|oui) -<script type="text/javascript"> -$("#documents_portfolio a").colorbox({title: function(){ - return this.tooltipText; -}}); -</script>]] </div> </div> </B_imgs> diff --git a/noisettes/header/header.html b/noisettes/header/header.html index 55456a7d20deada8142baa54771c06f4ffe2f04d..e40873c8c560d69de34923663fa53c2b58524954 100644 --- a/noisettes/header/header.html +++ b/noisettes/header/header.html @@ -115,7 +115,6 @@ <script src="#CHEMIN{javascript/calendar/jquery.calendar.js}" type="text/javascript"></script> ] <script src="#CHEMIN{images/jquery.em.js}" type="text/javascript"></script> -[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non)<script src="#CHEMIN{javascript/tooltip.js}" type="text/javascript"></script>] [(#ENV{idbody}|=={sommaire_mode_international}|oui)<script src="#CHEMIN{javascript/jquery.cycle.all.js}" type="text/javascript"></script>] <script type="text/javascript"> CanceladjustLayout = false; diff --git a/paquet.xml b/paquet.xml index 07091533abde9188a92b6009ef8976f8c1bd4877..14be0b522ef7a0cb13172916529f929cee0557d2 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="soyezcreateurs" categorie="squelette" - version="4.0.38" + version="4.0.39" etat="test" compatibilite="[3.0.20;3.1.*]" logo="img_pack/soyezcreateurs_48.png" @@ -72,6 +72,8 @@ <utilise nom="socialtags" compatibilite="[1.0.9;[" /> <utilise nom="splickr" compatibilite="[0.4.6;[" /> <utilise nom="va" compatibilite="[0.6.9;[" /> + + <pipeline nom="jqueryui_plugins" inclure="soyezcreateurs_pipelines.php" /> <menu nom="soyezcreateur_config21" titre="soyezcreateurs:configurersc" parent="bando_configuration" icone="images/soyezcreateurs-16.png" action="configurer_soyezcreateurs" parametres="cfg=soyezcreateurs" /> <menu nom="sc_aide" titre="soyezcreateurs:aidesc" parent="bando_squelette" icone="images/soyezcreateurs_help-16.png" action="sc_aide" /> diff --git a/soyezcreateurs_pipelines.php b/soyezcreateurs_pipelines.php new file mode 100644 index 0000000000000000000000000000000000000000..3584f3576d7d3374ad875d6ee9e6d8a2bc06ade4 --- /dev/null +++ b/soyezcreateurs_pipelines.php @@ -0,0 +1,15 @@ +<?php +/* +* Pipeline pour SoyezCreateurs +* Realisation : RealET : real3t@gmail.com +* Attention, fichier en UTF-8 sans BOM +*/ + +if (!defined('_ECRIRE_INC_VERSION')) return; + +function soyezcreateurs_jqueryui_plugins($scripts) { + if (lire_config('soyezcreateurs/native_tooltips') !== 'on') { + $scripts[] = "jquery.ui.tooltip"; + } + return $scripts; +} \ No newline at end of file diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 36ff2edeafabedd721ad15ca852a60d61bc65835..989fc012f01955c9c03ab6f937f5c3fd7258a82a 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -384,9 +384,6 @@ a:active { color: #GET{c_active}; } #shadow { margin: 3em 0; [(#CONFIG{soyezcreateurs_couleurs/ombrepagenon}|non)-webkit-box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1}); -moz-box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1}); box-shadow: [(#CONFIG{soyezcreateurs_couleurs/ombrepageparametres,0px 0px 10px 0px})] rgba([(#CONFIG{soyezcreateurs_couleurs/ombrepagecouleur,#aaaaaa}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/ombrepagetransparence,1});] } #container { background-color: #GET{c_container_bk};[(#CONFIG{soyezcreateurs_couleurs/transparencecontent,1}|!={1}|oui)background-color: rgba([(#GET{c_container_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparencecontent,1});] color: #GET{c_container}; } #clearbottom { height: 0; } -/* tooltip */ -#tooltip { position: absolute; z-index: 3000; padding: 5px; background-color: #eee; border: 1px solid #111; -moz-border-radius: 5px; -webkit-border-radius: 5px; color: #111; } -#tooltip p, #tooltip p strong { margin: 0; font-size: 1em; background-color: transparent; } /*************** STRUCTURE - HEADER */ #header { position: relative; background-color: #GET{c_header_bk};[(#CONFIG{soyezcreateurs_couleurs/transparenceheader,1}|!={1}|oui)background-color: rgba([(#GET{c_header_bk}|sc_rgb)], #CONFIG{soyezcreateurs_couleurs/transparenceheader,1});] color: #GET{c_header};