diff --git a/dist/404.html b/dist/404.html index a7daca60bace99506624c1a84329b674faba252a..fd1120b017f123e8d0356d2e07a7f7d5643670c7 100644 --- a/dist/404.html +++ b/dist/404.html @@ -1,5 +1,5 @@ #CACHE{24 * 3600} -#HTTP_HEADER{Cache-Control: no-store, no-cache, must-revalidate} +#HTTP_HEADER{"Cache-Control: no-store, no-cache, must-revalidate"} #HTTP_HEADER{Pragma: no-cache} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> diff --git a/dist/backend-breves.html b/dist/backend-breves.html index d5b15a55346bc7c5d90d221eb3da4244bda72086..71d1d9465f618c7bd1e4eccee409dd79392264c3 100644 --- a/dist/backend-breves.html +++ b/dist/backend-breves.html @@ -1,8 +1,6 @@ -<?php - @header('Content-type: text/xml[; charset=(#CHARSET)]'); - @header('Cache-Control: max-age = 3600'); - echo '<'.'?xml version="1.0"[ encoding="(#CHARSET)"]?'.">\n"; -?> +#CACHE{3600} +[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})] +<?php echo '<' ?>?xml version="1.0"[ encoding="(#CHARSET)"]?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" diff --git a/dist/backend.html b/dist/backend.html index 479a3c9899d27bb7abbe5baee1df668db260f1ad..19dca65080450b0049a81a1896e56bca137d79a2 100644 --- a/dist/backend.html +++ b/dist/backend.html @@ -1,5 +1,6 @@ #CACHE{3600} [(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})] +<?php echo '<' ?>?xml version="1.0"[ encoding="(#CHARSET)"]?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" @@ -12,10 +13,6 @@ <language>#LANG</language> <generator>SPIP - www.spip.net</generator> -#LOGO_SITE_SPIP - -[(#LOGO_SITE_SPIP||extraire_attribut{src})] - [ <image> <title>[(#NOM_SITE_SPIP|texte_backend)]</title> <url>(#LOGO_SITE_SPIP||extraire_attribut{src}|url_absolue|texte_backend)</url> diff --git a/dist/forum.html b/dist/forum.html index 083ede9e18e1b2942662958715d34d70eb2a977a..d93579e602f01d399097a6241126dbc9d8eb26c2 100644 --- a/dist/forum.html +++ b/dist/forum.html @@ -1,5 +1,5 @@ #CACHE{3600} -#HTTP_HEADER{Cache-Control: max-age=3600, must-revalidate} +#HTTP_HEADER{"Cache-Control: max-age=3600, must-revalidate"} <!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"> diff --git a/ecrire/inc_filtres.php b/ecrire/inc_filtres.php index 61df0e8bbad1bbc86ef07e79d17a9335af24c32c..174f9aa8ee066ca185ec18dd1e7d54960de4533b 100644 --- a/ecrire/inc_filtres.php +++ b/ecrire/inc_filtres.php @@ -1693,10 +1693,6 @@ function extraire_tag($texte, $tag) { // recuperer un attribut html d'une balise // ($complet demande de retourner $r) function extraire_attribut($balise, $attribut, $complet = false) { - -var_dump($balise); -var_dump($attribut); - if (preg_match(",(.*<[^>]*)([[:space:]]+$attribut=[[:space:]]*(['\"])?(.*?)\\3)([^>]*>.*),ims", $balise, $r)) { $att = $r[4]; }