Skip to content
Extraits de code Groupes Projets
Valider bde4a8f5 rédigé par RealET's avatar RealET :kissing_cat:
Parcourir les fichiers

[Mode international] Paramétrage des horloges en page d'accueil via la config de SoyezCréateurs

parent 7cc8e7ab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -59,6 +59,16 @@ if (!function_exists('sc_ouinon_default')) {
)]
]
[(#CONFIG{soyezcreateurs/mode_affichage,communiquant}|=={international}|oui)
[(#SAISIE{textarea,horloges,
class=no_barre,
rows=3,
label=<:soyezcreateursprive:cfg_horloges_label:>,
defaut='-5;Washington|-4;Kourou|1;Evry|5;Baïkonour|7;Singapour|8;Tokyo|8;Vostochny',
explication=<:soyezcreateursprive:cfg_horloges_label_ex:>}
)]
]
[(#CONFIG{soyezcreateurs/mode_affichage,communiquant}|=={portailcognac}|oui)
[(#SAISIE{radio,variante_bloccycloshow,
label=<:soyezcreateursprive:cfg_variante_bloccycloshow_label:>,
......
......@@ -143,6 +143,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_homeagenda_centre' => 'Au centre de la page',
'cfg_homeagenda_droite' => 'À droite de la page (avec mini calendrier)',
'cfg_homeagenda_label' => 'Affichage des événements sur la page d’accueil',
'cfg_horloges_label' => 'Horloges mondiales',
'cfg_horloges_label_ex' => 'Format : décalage horaire;Nom ville|décalage horaire;Nom ville et ainsi de suite<br />Ex : -5;Washington|1;Paris',
'cfg_indexation' => 'Indexation',
'cfg_indexation_info' => 'Indexation du site par les moteurs de recherche',
'cfg_indexation_non' => 'Ne pas indexer le site dans les moteurs de recherche',
......
<INCLURE{fond=inclure/horlogeflash,timezone=-5,ville='Washington'}>
<INCLURE{fond=inclure/horlogeflash,timezone=-3,ville='Kourou'}>
<INCLURE{fond=inclure/horlogeflash,timezone=1,ville='Evry'}>
<INCLURE{fond=inclure/horlogeflash,timezone=5,ville='Baïkonour'}>
<INCLURE{fond=inclure/horlogeflash,timezone=8,ville='Singapour'}>
<INCLURE{fond=inclure/horlogeflash,timezone=9,ville='Tokyo'}>
<INCLURE{fond=inclure/horlogeflash,timezone=9,ville='Vostochny'}>
[(#SET{tzstring,#CONFIG{soyezcreateurs/horloges,'-5;Washington|-4;Kourou|1;Evry|5;Baïkonour|7;Singapour|8;Tokyo|8;Vostochny'}})]
[(#SET{tzarrays,[(#GET{tzstring}|explode{|})]})]
<BOUCLE_TimeZones(DATA){source table, #GET{tzarrays}}>
[(#SET{tzarray,[(#VALEUR|explode{';'})]})]
<INCLURE{fond=inclure/horlogeflash,timezone=#GET{tzarray/0},ville=#GET{tzarray/1}}>
</BOUCLE_TimeZones>
#FILTRE{mini_html}
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter