diff --git a/dist/site.html b/dist/site.html index a87bc818d3f8375ac9fa4fb49e395b022eeb0a06..0f3d76f2049f413b9af59c796dd1a3da3299ce4b 100644 --- a/dist/site.html +++ b/dist/site.html @@ -1,7 +1,12 @@ #CACHE{7200} <BOUCLE_site(SITES){id_syndic} -><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html dir="#LANG_DIR" lang="#LANG"> +>[(#REM) + Les sites n'ont pas de "lang" a proprement parler ; on va donc se + baser sur la langue de la rubrique qui les contient. Les articles + syndiques, eux, ont une lang. +]<BOUCLE_lang(RUBRIQUES){id_rubrique}> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html dir="#LANG_DIR" lang="#LANG"></BOUCLE_lang> <head> <title>[(#NOM_SITE|textebrut)]</title> <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" /> diff --git a/ecrire/inc_filtres.php b/ecrire/inc_filtres.php index 776acfc9f3a2bc76bfff68a1c03e1181ee5bbf14..72898045507faebb1d6196443aaaa6e8ceb9873a 100644 --- a/ecrire/inc_filtres.php +++ b/ecrire/inc_filtres.php @@ -2377,6 +2377,7 @@ function afficher_enclosures($tags) { foreach (extraire_tags($tags) as $tag) { if (extraire_attribut($tag, 'rel') == 'enclosure' AND $t = extraire_attribut($tag, 'href')) { + include_ecrire('inc_minipres'); #pour http_href_img (quel bazar) $s[] = http_href_img($t, 'attachment.gif', 'height="15" width="15" border="0"',