From 0b0ea5bfa19e0e772dbfa31ae51bfb13d698941c Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Sat, 17 Nov 2007 17:26:50 +0000 Subject: [PATCH] passer les span en div pour se conformer a w3truc(#1039) --- dist/prive/contenu/article.html | 72 ++++++++++++++++---------------- dist/prive/contenu/breve.html | 32 +++++++------- dist/prive/contenu/rubrique.html | 32 +++++++------- dist/prive/contenu/site.html | 24 +++++------ dist/style_prive.html | 42 +++++++++---------- 5 files changed, 101 insertions(+), 101 deletions(-) diff --git a/dist/prive/contenu/article.html b/dist/prive/contenu/article.html index e9ebd5f0db..e90ddeef97 100644 --- a/dist/prive/contenu/article.html +++ b/dist/prive/contenu/article.html @@ -1,40 +1,40 @@ <BOUCLE_afficher_contenu(ARTICLES){id_article=#ENV{id}}{statut?}> -<span class="champ contenu_surtitre[ (#SURTITRE*|?{'',vide})]"> -<span class='label'><:texte_sur_titre:></span> -<span dir='#LANG_DIR' class='#EDIT{surtitre} surtitre'>#SURTITRE</span> -</span> -<span class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> -<span class='label'><:info_titre:></span> -<span dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</span> -</span> -<span class="champ contenu_soustitre[ (#SOUSTITRE*|?{'',vide})]"> -<span class='label'><:texte_sous_titre:></span> -<span dir='#LANG_DIR' class='#EDIT{soustitre} soustitre'>#SOUSTITRE</span> -</span> -<span class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> -<span class='label'><:info_descriptif:></span> -<span dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</span> -</span> -<span class="champ contenu_chapo[ (#CHAPO*|?{'',vide})]"> -<span class='label'><:info_chapeau:></span> -<span dir='#LANG_DIR' class='#EDIT{chapo} chapo'>#CHAPO</span> -</span> -<span class="champ contenu_nom_site[ (#NOM_SITE*|?{'',vide})]"> -<span class='label'><:lien_voir_en_ligne:></span> -<span dir='#LANG_DIR' class='#EDIT{hyperlien} nom_site'><a href='#URL_SITE'>#NOM_SITE</a></span> -</span> -<span class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> -<span class='label'><:info_texte:></span> -<span dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</span> -</span> -<span class="champ contenu_ps[ (#PS*|?{'',vide})]"> -<span class='label'><:info_ps:></span> -<span dir='#LANG_DIR' class='#EDIT{ps} ps'>#PS</span> -</span> -[<span class="champ contenu_notes"> -<span class='label'><:info_notes:></span> -<span dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</span> -</span>] +<div class="champ contenu_surtitre[ (#SURTITRE*|?{'',vide})]"> +<div class='label'><:texte_sur_titre:></div> +<div dir='#LANG_DIR' class='#EDIT{surtitre} surtitre'>#SURTITRE</div> +</div> +<div class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> +<div class='label'><:info_titre:></div> +<div dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</div> +</div> +<div class="champ contenu_soustitre[ (#SOUSTITRE*|?{'',vide})]"> +<div class='label'><:texte_sous_titre:></div> +<div dir='#LANG_DIR' class='#EDIT{soustitre} soustitre'>#SOUSTITRE</div> +</div> +<div class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> +<div class='label'><:info_descriptif:></div> +<div dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</div> +</div> +<div class="champ contenu_chapo[ (#CHAPO*|?{'',vide})]"> +<div class='label'><:info_chapeau:></div> +<div dir='#LANG_DIR' class='#EDIT{chapo} chapo'>#CHAPO</div> +</div> +<div class="champ contenu_nom_site[ (#NOM_SITE*|?{'',vide})]"> +<div class='label'><:lien_voir_en_ligne:></div> +<div dir='#LANG_DIR' class='#EDIT{hyperlien} nom_site'><a href='#URL_SITE'>#NOM_SITE</a></div> +</div> +<div class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> +<div class='label'><:info_texte:></div> +<div dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</div> +</div> +<div class="champ contenu_ps[ (#PS*|?{'',vide})]"> +<div class='label'><:info_ps:></div> +<div dir='#LANG_DIR' class='#EDIT{ps} ps'>#PS</div> +</div> +[<div class="champ contenu_notes"> +<div class='label'><:info_notes:></div> +<div dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</div> +</div>] [(#ENV{champs_extra}|?{' '}) [(#EXTRA**|extra_affichage)] ] diff --git a/dist/prive/contenu/breve.html b/dist/prive/contenu/breve.html index 4c5be7a127..b9c31bc6df 100644 --- a/dist/prive/contenu/breve.html +++ b/dist/prive/contenu/breve.html @@ -1,20 +1,20 @@ <BOUCLE_afficher_contenu(BREVES){id_breve=#ENV{id}}{statut?}> -<span class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> -<span class='label'><:info_titre:></span> -<span dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</span> -</span> -<span class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> -<span class='label'><:info_texte:></span> -<span dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</span> -</span> -<span class="champ contenu_lien_titre[ (#LIEN_TITRE*|?{'',vide})]"> -<span class='label'><:lien_voir_en_ligne:></span> -<span dir='#LANG_DIR' class='#EDIT{hyperlien} lien_titre'><a href='#LIEN_URL'>#LIEN_TITRE</a></span> -</span> -[<span class="champ contenu_notes"> -<span class='label'><:info_notes:></span> -<span dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</span> -</span>] +<div class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> +<div class='label'><:info_titre:></div> +<div dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</div> +</div> +<div class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> +<div class='label'><:info_texte:></div> +<div dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</div> +</div> +<div class="champ contenu_lien_titre[ (#LIEN_TITRE*|?{'',vide})]"> +<div class='label'><:lien_voir_en_ligne:></div> +<div dir='#LANG_DIR' class='#EDIT{hyperlien} lien_titre'><a href='#LIEN_URL'>#LIEN_TITRE</a></div> +</div> +[<div class="champ contenu_notes"> +<div class='label'><:info_notes:></div> +<div dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</div> +</div>] [(#ENV{champs_extra}|?{' '}) [(#EXTRA**|extra_affichage)] ] diff --git a/dist/prive/contenu/rubrique.html b/dist/prive/contenu/rubrique.html index b666522f20..3a047cb5ce 100644 --- a/dist/prive/contenu/rubrique.html +++ b/dist/prive/contenu/rubrique.html @@ -1,20 +1,20 @@ <BOUCLE_afficher_contenu(RUBRIQUES){id_rubrique=#ENV{id}}{statut?}> -<span class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> -<span class='label'><:info_titre:></span> -<span dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</span> -</span> -<span class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> -<span class='label'><:info_descriptif:></span> -<span dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</span> -</span> -<span class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> -<span class='label'><:info_texte:></span> -<span dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</span> -</span> -[<span class="champ contenu_notes"> -<span class='label'><:info_notes:></span> -<span dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</span> -</span>] +<div class="champ contenu_titre[ (#TITRE*|?{'',vide})]"> +<div class='label'><:info_titre:></div> +<div dir='#LANG_DIR' class='#EDIT{titre} titre'>#TITRE</div> +</div> +<div class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> +<div class='label'><:info_descriptif:></div> +<div dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</div> +</div> +<div class="champ contenu_texte[ (#TEXTE*|?{'',vide})]"> +<div class='label'><:info_texte:></div> +<div dir='#LANG_DIR' class='#EDIT{texte} texte'>#TEXTE</div> +</div> +[<div class="champ contenu_notes"> +<div class='label'><:info_notes:></div> +<div dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</div> +</div>] [(#ENV{champs_extra}|?{' '}) [(#EXTRA**|extra_affichage)] ] diff --git a/dist/prive/contenu/site.html b/dist/prive/contenu/site.html index 66a9a8311a..228a7fe8f7 100644 --- a/dist/prive/contenu/site.html +++ b/dist/prive/contenu/site.html @@ -1,16 +1,16 @@ <BOUCLE_afficher_contenu(SYNDIC){id_syndic=#ENV{id}}{statut?}> -<span class="champ contenu_nom_site[ (#NOM_SITE*|?{'',vide})]"> -<span class='label'><:form_prop_nom_site:></span> -<span dir='#LANG_DIR' class='#EDIT{hyperlien} nom_site'><a href='#URL_SITE'>#NOM_SITE</a></span> -</span> -<span class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> -<span class='label'><:info_descriptif:></span> -<span dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</span> -</span> -[<span class="champ contenu_notes"> -<span class='label'><:info_notes:></span> -<span dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</span> -</span>] +<div class="champ contenu_nom_site[ (#NOM_SITE*|?{'',vide})]"> +<div class='label'><:form_prop_nom_site:></div> +<div dir='#LANG_DIR' class='#EDIT{hyperlien} nom_site'><a href='#URL_SITE'>#NOM_SITE</a></div> +</div> +<div class="champ contenu_descriptif[ (#DESCRIPTIF*|?{'',vide})]"> +<div class='label'><:info_descriptif:></div> +<div dir='#LANG_DIR' class='#EDIT{descriptif} descriptif'>#DESCRIPTIF</div> +</div> +[<div class="champ contenu_notes"> +<div class='label'><:info_notes:></div> +<div dir='#LANG_DIR' class='#EDIT{notes} notes'>(#NOTES)</div> +</div>] [(#ENV{champs_extra}|?{' '}) [(#EXTRA**|extra_affichage)] ] diff --git a/dist/style_prive.html b/dist/style_prive.html index 012a423e17..ddbe6c3783 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -620,8 +620,8 @@ div.puce_breve_popup, span.puce_breve_popup { width: 27px; } /* generique */ #voir { overflow: hidden; } -#contenu #wysiwyg span.label { clear: both; display: block; background-color: #GET{claire}; margin-top: 2em; padding: .1em; font-size: x-small; color: #777; } -#contenu #wysiwyg span p { margin-top: 0; } +#contenu #wysiwyg div.label { clear: both; display: block; background-color: #GET{claire}; margin-top: 2em; padding: .1em; font-size: x-small; color: #777; } +#contenu #wysiwyg div p { margin-top: 0; } #navigation .infos .numero { font-size: x-small;font-weight: bold; text-align: center; } #navigation .infos .numero p { font-size: x-large; margin:5px 0;color:#333; font-family: verdana, helvetica, arial, sans; } #navigation .infos .noinfo { color:#ddd;} @@ -629,14 +629,14 @@ div.puce_breve_popup, span.puce_breve_popup { width: 27px; } #contenu .bandeau_actions a:hover { background: #FFF; } #contenu .logo_titre { float: #GET{right}; margin: 5px 0; margin-#GET{left}: 5px; } -#contenu #wysiwyg span.champ {display:block;} -#contenu #wysiwyg span.contenu_ps { background:#DDDDDD; border:1px solid #666; padding:5px;margin:1em 0;} -#contenu #wysiwyg span.contenu_ps.vide {display:none;} -#contenu #wysiwyg span.contenu_ps span.label {display:inline;font-weight:bold;font-size:1.3em;background:none;color:#000;} -#contenu #wysiwyg span.contenu_notes { background:#fff; border:1px solid #666; padding:5px;margin:1em 0;font-size:0.8em;} -#contenu #wysiwyg span.contenu_notes.vide {display:none;} -#contenu #wysiwyg span.contenu_notes span.label {display:inline;font-weight:bold;font-size:0.9em;background:none;color:#000;} -#contenu #wysiwyg span.texte {font-size:0.9em;} +#contenu #wysiwyg div.champ {display:block;} +#contenu #wysiwyg div.contenu_ps { background:#DDDDDD; border:1px solid #666; padding:5px;margin:1em 0;} +#contenu #wysiwyg div.contenu_ps.vide {display:none;} +#contenu #wysiwyg div.contenu_ps div.label {display:inline;font-weight:bold;font-size:1.3em;background:none;color:#000;} +#contenu #wysiwyg div.contenu_notes { background:#fff; border:1px solid #666; padding:5px;margin:1em 0;font-size:0.8em;} +#contenu #wysiwyg div.contenu_notes.vide {display:none;} +#contenu #wysiwyg div.contenu_notes div.label {display:inline;font-weight:bold;font-size:0.9em;background:none;color:#000;} +#contenu #wysiwyg div.texte {font-size:0.9em;} ul.instituer { /*float: #GET{right}; */ text-align: #GET{left}; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 0; padding:5px 0; /*font-size:0.9em; */ } ul.instituer li { list-style: none; margin: 0; padding: 0; } @@ -657,21 +657,21 @@ ul.instituer li.refuse.selected a,ul.instituer li.refuse a:hover { background: # .no_onglets .fiche_objet { background:#fff;border:1px solid black; padding:5px;margin-bottom:1em;} .no_onglets #voir.tabs-container { background: #FFF; padding:0; border: 0; } -.no_onglets #contenu #wysiwyg span.label{ display:none; } +.no_onglets #contenu #wysiwyg div.label{ display:none; } .no_onglets #contenu #wysiwyg .contenu_lien_titre {margin:1em 0;} -.no_onglets #contenu #wysiwyg .contenu_lien_titre span.label{ color:#000;background:none;display:inline; font-size:1.1em;font-weight:bold;font-family:Georgia,Garamond,Times New Roman,serif;} -.no_onglets #contenu #wysiwyg .contenu_lien_titre span.lien_titre p { display:inline;} +.no_onglets #contenu #wysiwyg .contenu_lien_titre div.label{ color:#000;background:none;display:inline; font-size:1.1em;font-weight:bold;font-family:Georgia,Garamond,Times New Roman,serif;} +.no_onglets #contenu #wysiwyg .contenu_lien_titre div.lien_titre p { display:inline;} .no_onglets #contenu #wysiwyg { padding:5px;} -.no_onglets #contenu #wysiwyg span.contenu_soustitre, -.no_onglets #contenu #wysiwyg span.contenu_surtitre, -.no_onglets #contenu #wysiwyg span.contenu_titre {display:none;} -.no_onglets #contenu #wysiwyg span.vide {display:none;} +.no_onglets #contenu #wysiwyg div.contenu_soustitre, +.no_onglets #contenu #wysiwyg div.contenu_surtitre, +.no_onglets #contenu #wysiwyg div.contenu_titre {display:none;} +.no_onglets #contenu #wysiwyg div.vide {display:none;} .no_onglets #contenu h1 {color:#GET{foncee};} -.no_onglets #contenu #wysiwyg span.contenu_descriptif, -.no_onglets #contenu #wysiwyg span.contenu_nom_site +.no_onglets #contenu #wysiwyg div.contenu_descriptif, +.no_onglets #contenu #wysiwyg div.contenu_nom_site { background:#E4E4E4; border:1px dashed #AAAAAA; padding:5px;margin:1em 0;} -.no_onglets #contenu #wysiwyg span.contenu_descriptif span.label {color:#000;background:none;display:inline;font-size:1.1em;font-weight:bold;} -body.sites .no_onglets #contenu #wysiwyg span.contenu_nom_site {display:none;} +.no_onglets #contenu #wysiwyg div.contenu_descriptif span.label {color:#000;background:none;display:inline;font-size:1.1em;font-weight:bold;} +body.sites .no_onglets #contenu #wysiwyg div.contenu_nom_site {display:none;} .no_onglets .boite_onglets {margin-top:0px; } /* exec/articles */ -- GitLab