Skip to content
Extraits de code Groupes Projets
Valider c4aed7d2 rédigé par esj's avatar esj
Parcourir les fichiers

puce multi-lingue :-) (Paolo)

parent cd89b42e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -115,7 +115,8 @@ function balise_LANG_DIR_dist($p) { ...@@ -115,7 +115,8 @@ function balise_LANG_DIR_dist($p) {
} }
function balise_PUCE_dist($p) { function balise_PUCE_dist($p) {
$p->code = "propre('- ')"; $_lang = champ_sql('lang', $p);
$p->code = "((lang_dir(($_lang ? $_lang : \$GLOBALS['spip_lang']),false,true) && \$GLOBALS['puce_rtl']) ? \$GLOBALS['puce_rtl'] : \$GLOBALS['puce'])";
$p->statut = 'php'; $p->statut = 'php';
return $p; return $p;
} }
......
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