From c3d9033b1ad7bb34ebe7f89ed6880a1c44c66af2 Mon Sep 17 00:00:00 2001 From: "real3t@gmail.com" <> Date: Thu, 4 Dec 2014 11:14:08 +0000 Subject: [PATCH] =?UTF-8?q?Possibilit=C3=A9=20de=20r=C3=A9gler=20le=20temp?= =?UTF-8?q?s=20de=20d=C3=A9filement=20du=20slideshow=20eb=20mode=20communi?= =?UTF-8?q?quant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- formulaires/config_sc.html | 6 ++++++ javascripts.js.html | 2 +- lang/soyezcreateurs_fr.php | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/formulaires/config_sc.html b/formulaires/config_sc.html index 905c7b80..b8720f7a 100755 --- a/formulaires/config_sc.html +++ b/formulaires/config_sc.html @@ -61,6 +61,12 @@ }, defaut=etroite} )] + [(#SAISIE{input,vitesse_slider, + label=<:soyezcreateurs:cfg_vitesse_slider_label:>, + size=2, + defaut=5000, + explication=<:soyezcreateurs:cfg_vitesse_slider_label_ex:>} + )] [(#SAISIE{oui_non,dessousbreves_communiquant_liens, label=<:soyezcreateurs:cfg_dessousbreves_communiquant_liens_label:>, defaut=on} diff --git a/javascripts.js.html b/javascripts.js.html index 2a5ee900..6f4b9248 100644 --- a/javascripts.js.html +++ b/javascripts.js.html @@ -274,7 +274,7 @@ function myHomeSpecialFeature(container,item,decoImg,decoSpan) { timer = setTimeout(function() { if (x < maxX) { x = x+1; myAnimate(x,maxX); } else if (x = maxX) { x = 1; myAnimate(x,maxX); } - } , 5000 ); + } , #CONFIG{soyezcreateurs/vitesse_slider,5000} ); } myAnimate(x,maxX); diff --git a/lang/soyezcreateurs_fr.php b/lang/soyezcreateurs_fr.php index 5fdd6bd9..c4367dc6 100644 --- a/lang/soyezcreateurs_fr.php +++ b/lang/soyezcreateurs_fr.php @@ -319,6 +319,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_vignettes_choix_auto' => 'Vignettes calculées automatiquement', 'cfg_vignettes_choix_graphiste' => 'Vignettes libres (réalisées par un graphiste)', 'cfg_vignettesauto' => 'Vignettes :', + 'cfg_vitesse_slider_label' => 'Vitesse défilement', + 'cfg_vitesse_slider_label_ex' => 'Vitesse de défilement du slideshow (en millisecondes, 5000 minimum conseillé)', 'cfg_zone_forum' => 'Configuration textes des forum', 'cfg_zone_forum_invite' => 'Invite à participer aux Forum', 'cfg_zone_forum_laisser_vide' => 'Laisser vide pour utiliser le texte par défaut.', -- GitLab