Show
Ignore:
Timestamp:
08.04.2009 06:28:19 (10 months ago)
Author:
apachot@…
Message:

Un lot de petites modifs sur les squelettes, avant l'intégration des webservices pmb

Location:
_plugins_/_dev_/spip-pmb/2_0_0
Files:
24 modified

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/spip-pmb/2_0_0/actualites.html

    r24072 r27709  
    2323 
    2424        <div class="cartouche"> 
    25             <h1 class="#EDIT{titre}"><:derniers_articles:></h1> 
     25            <h1 class="#EDIT{titre}">[(#REM|?{'',<:derniers_articles:>}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    2626        </div> 
    2727 
     
    3636 
    3737        [(#REM) Menu de navigation par rubriques ] 
    38         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     38        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    3939 
    4040    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/article.html

    r25441 r27709  
    3030            <div class="surlignable"> 
    3131                                [<p class="#EDIT{surtitre} surtitre">(#SURTITRE)</p>] 
    32                                 <h1 class="#EDIT{titre} entry-title[ (#TITRE|strlen|>{30}|?{'titre-long',''})]">[(#TITRE|ucfirst)]</h1> 
     32                                <h1 class="#EDIT{titre} entry-title[ (#TITRE|strlen|>{30}|?{'titre-long',''})]">[(#TITRE|ucfirst|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    3333                                [(#INCLURE{fond=noisettes/socialtags}{id_article})] 
    3434            </div> 
     
    9595 
    9696        [(#REM) Menu de navigation par rubriques ] 
    97         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     97        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    9898 
    9999 
  • _plugins_/_dev_/spip-pmb/2_0_0/auteur.html

    r24026 r27709  
    2626        <div class="cartouche"> 
    2727                 
    28                 <h1 class="#EDIT{qui} fn">#NOM</h1> 
     28                [<h1 class="#EDIT{qui} fn">(#NOM|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})</h1>] 
    2929        </div> 
    3030 
     
    7171 
    7272        [(#REM) Menu de navigation par rubriques ] 
    73         <INCLURE{fond=inc-rubriques}> 
     73        <INCLURE{fond=inc-rubriques}{env}> 
    7474 
    7575        [(#REM) Autres auteurs ] 
  • _plugins_/_dev_/spip-pmb/2_0_0/author_see.html

    r24316 r27709  
    2323                        <div class="surlignable"> 
    2424                                <h1 class="entry-title[ (#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_auteur}|pmb_remplacer{"Auteur ",""}|strlen|>{30}|?{'titre-long',''})][ (#GET{tab_resultat}|pmb_tableau2_valeur{0,infos_auteur}|?{'','pas-de-texte'})]"> 
    25                                         [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_auteur}|pmb_remplacer{"Auteur ",""})] 
     25                                        [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_auteur}|pmb_remplacer{"Auteur ",""}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})] 
    2626                                </h1> 
    2727                        </div> 
     
    6969 
    7070        [(#REM) Menu de navigation par rubriques ] 
    71         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     71        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    7272 
    7373 
  • _plugins_/_dev_/spip-pmb/2_0_0/coll_see.html

    r24315 r27709  
    2424                <div class="surlignable"> 
    2525                        <h1 class="entry-title[ (#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_collection}|strlen|>{30}|?{'titre-long',''})][ (#GET{tab_resultat}|pmb_tableau2_valeur{0,infos_collection}|?{'','pas-de-texte'})]"> 
    26                                 [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_collection})] 
     26                                [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_collection}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})] 
    2727                        </h1> 
    2828                         
     
    4040 
    4141                                [(#COMPTEUR_BOUCLE|=={2}|?{' ',''}) 
    42                                         <h2><:pmb:ouvrages:></h2><ul> 
     42                                        <h2><:ouvrages:></h2><ul> 
    4343                                ]                                
    4444                                [(#COMPTEUR_BOUCLE|>{1}|?{' ',''}) 
     
    5050                                         
    5151                                                [<div class="introduction entry-content">(#GET{tab_resultat}|pmb_tableau2_valeur{#CLE, resume}|couper{300,'...'})</div>] 
    52                                                 <a class="lire-la-suite" title="[(#GET{tab_resultat}|pmb_tableau2_valeur{#CLE, titre})]" href="index.php?page=notice_display&id=[(#GET{tab_resultat}|pmb_tableau2_valeur{#CLE, id})]&seule=1"><:pmb:lire_la_suite:> +</a> 
     52                                                <a class="lire-la-suite" title="[(#GET{tab_resultat}|pmb_tableau2_valeur{#CLE, titre})]" href="index.php?page=notice_display&id=[(#GET{tab_resultat}|pmb_tableau2_valeur{#CLE, id})]&seule=1"><:lire_la_suite:> +</a> 
    5353 
    5454                                        </li> 
     
    7575 
    7676        [(#REM) Menu de navigation par rubriques ] 
    77         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     77        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    7878 
    7979 
  • _plugins_/_dev_/spip-pmb/2_0_0/forum.html

    r24016 r27709  
    6464 
    6565        <div class="cartouche"> 
    66             <h1><:poster_message:></h1> 
     66            <h1>[(#REM|?{'',<:poster_message:>}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    6767        </div> 
    6868 
     
    113113 
    114114        [(#REM) Menu de navigation par rubriques ] 
    115         <INCLURE{fond=inc-rubriques}> 
     115        <INCLURE{fond=inc-rubriques}{env}> 
    116116 
    117117    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/habillage.css

    r25441 r27709  
    22/* Feuille de style des squelettes par defaut pour SPIP 2.0  */ 
    33/* --------------------------------------------------------- */ 
    4  
    5  
    64/*  ------------------------------------------ 
    75/*      Typographie generale (style transversaux) 
    86/*  ------------------------------------------ */ 
    97html { font-size: 100%; } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS */ 
    10 body { font-size: 0.8125em; font-family: Verdana, Helvetica, sans-serif; color: #333; } 
    11  
     8body { font-size: 0.75em; font-family: Verdana, Helvetica, sans-serif; color: #000; } 
    129/* Titraille / Intertitres */ 
    1310h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; font-weight: normal; font-size: 1em; font-family: Georgia, Times, serif; } 
     
    1714h3 { font-size: 1.30em; font-weight: bold; } 
    1815h3.spip { text-align: left; text-transform: uppercase; color: #67741F; } /*Cf.: spip_style.css*/ 
    19  
    2016/* Divers */ 
    2117hr.spip { color: #e5e7d4; border: none; height: 10px; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: center left; } /*Cf.: spip_style.css*/ 
    2218abbr, acronym { border-bottom: 1px dotted; cursor: help; } 
    23 small { font-size: 0.90em; color: #666; } 
    24  
     19small { font-size: 0.9em; color: #666; } 
    2520/* Listes SPIP */ 
    2621ul.spip {} /*Cf.: spip_style.css*/ 
    2722ol.spip {} /*Cf.: spip_style.css*/ 
    2823li.spip {} /*Cf.: spip_style.css*/ 
    29  
    3024/* Citations, code et poesie */ 
    3125blockquote.spip {} /*Cf.: spip_style.css*/ 
     
    3327.spip_code {} /*Cf.: spip_style.css*/ 
    3428.spip_cadre {} /*Cf.: spip_style.css*/ 
    35  
    3629/* Tableaux */ 
    3730table.spip { border: none; width: 100%; } /*Cf.: spip_style.css*/ 
     
    4033#page table.spip tr.row_first { background: #999966; color: white; } 
    4134#page table.spip tr.row_odd { background: none; } 
    42  
    4335/* Logos, documents et images */ 
    4436.spip_logos { float: left; } /*Cf.: spip_style.css*/ 
     
    4941.spip_doc_titre {} /*Cf.: spip_style.css*/ 
    5042.spip_doc_descriptif {} /*Cf.: spip_style.css*/ 
    51  
    52  
    5343/*  ------------------------------------------ 
    5444/*  Disposition a l'ecran des blocs principaux 
    5545/*  ------------------------------------------ */ 
    5646body { background: white; margin: 0; padding: 0; text-align: center; } 
    57  
    5847#page { position: relative; width: 950px; margin: 0 auto; text-align: left; background-color: #e6e8d5; background-image: url(bg-logo.png); background-repeat: no-repeat; background-position: bottom left; } 
    59  
    6048#top { position: absolute; margin: 0; padding: 0; top: 0; left: 0; width: 950px; height: 11.5em; margin-bottom: 10px; background: white; } 
    6149#top a img.spip_logos { vertical-align: bottom; line-height: 1em; margin-top: 1.9em; margin-left: 2em; } 
    6250#top #nom_site_spip { font-size: 2.2em; font-family: Georgia, Times, serif; margin-left: .5em; display: none; } 
    63  
    6451#formulaire_recherche .choix-recherche { display: block;; padding-left: .5em; margin-bottom: .5em; } 
    6552#formulaire_recherche .champ-recherche {  } 
     
    7158#formulaire_recherche .recherche-avancee { float: right; padding-right: .5em; } 
    7259#formulaire_recherche .recherche-avancee a { color: white; font-size: .8em; } 
    73  
    74  
    7560#conteneur { margin-top: 0; padding-bottom: 1em; clear: both; float: left; width: 727px; overflow: hidden; } 
    7661#contenu { padding-top: 13.5em; padding-left: 1.5em; } 
    7762.logo-fond { position: absolute; bottom: 1.99em; left: 0; } 
    78  
    79  
    8063#navigation { position: relative; width: 220px; margin-top: .5em; overflow: hidden; background-image: url(bordure-gris.gif); background-repeat: repeat-y; background-position: top left; } 
    8164#extra { float: right; clear: right; width: 30%; margin-top: 1em; overflow: hidden; } 
    82  
    8365#pied { clear: both; width: 100%; margin: 0; padding: 0.40em 0; text-align: left; font-size: 0.80em; color: #000; background: white; height: 2em; padding-top: 1em; } 
    8466#pied a {color: #000; } 
    8567#pied img { vertical-align: middle; } 
    86  
    8768/* Espaceur de blocs */ 
    8869.nettoyeur { clear: both; height: 0; margin: 0; padding: 0; border: 0; line-height: 1px; font-size: 1px; } 
    89  
    9070/* Non visible a l'ecran */ 
    9171.invisible { position: absolute; top: -3000em; height: 1%; } 
    92  
    93  
    9472/*  ------------------------------------------ 
    9573/*  Habillage des elements du contenu 
    9674/*  ------------------------------------------ */ 
    97  
    9875#hierarchie { clear: both; margin-bottom: 2em; font-size: 0.90em; } 
    9976#hierarchie, #hierarchie a { color: #999966; } 
    10077#hierarchie .on { font-weight: normal; } 
    101  
    10278.cartouche { margin-bottom: 2em; } 
    10379.page_nouveautes .cartouche, .page_actualites .cartouche, .page_editeur .cartouche {margin-bottom: 0; } 
     
    10783.page_recherche h1 { font-size: 1.7em; } 
    10884.cartouche div.socialtags { clear: none; float: right; margin-top: 1em; margin-bottom: 1em; } 
    109  
    110  
    11185.cartouche p { margin: 0; padding: 0; clear: left; } 
    112 .surtitre { font-size: 0.90em; color: #333300; text-transform: uppercase; letter-spacing: 0.10em; padding-bottom: .2em;} 
    113 .cartouche .surtitre { margin-bottom: 0.30em; } 
     86.surtitre { font-size: 0.9em; color: #336666; text-transform: uppercase; letter-spacing: 0.10em; padding-bottom: 0;} 
     87.page_sommaire .surtitre { letter-spacing: 0; } 
     88.cartouche .surtitre { margin-bottom: 0; } 
    11489.cartouche .traductions { font-size: 0.90em; } 
    115  
    11690.surlignable p.date-auteur { margin-left: 150px; color: #999966; text-align: right; margin-right: 1em; }  
    117 .surlignable p.date-auteur small { color: #999966; } 
     91.surlignable p.date-auteur small { color: #999966; margin-right: 1em; } 
    11892.page_ouvrage .surlignable p small { text-align: left; margin-left: 1em; } 
    11993.surlignable p small a { color: #999966; text-decoration: none;} 
    12094.surlignable p small a:hover { color: #336666; text-decoration: none;} 
    121  
    12295.pmb-ouvrage-infos { color: #336666; } 
    12396.pmb-ouvrage-infos p { margin-top: .2em; margin-bottom: .2em; } 
    12497.pmb-ouvrage-infos a { color: #336666; text-decoration: none; border-bottom: 1px dotted #336666; } 
    12598.pmb-ouvrage-infos a:hover { color: #336666; text-decoration: none; border-bottom: 1px solid #336666; } 
    126  
    12799.surlignable .spip_logos { float: left; margin-right: 16px; margin-bottom: 4px; } 
    128  
    129 .corps-conteneur { margin-left: 150px; clear: right; } 
    130  
    131 .soustitre { color: #336666; text-decoration: none; margin-top: 0.50em; margin-bottom: 0.30em; font-style: italic; } 
    132 .chapo { line-height: 1.40em; font-family: Georgia, serif; font-weight: bold; } 
    133 .texte { line-height: 1.60em; padding-top: .5em; color: #000; font-family: Georgia, serif; } 
     100.corps-conteneur { margin-left: 150px; } 
     101.soustitre { color: #336666; text-decoration: none; margin-top: 0.50em; margin-right: 1em; margin-bottom: 0.30em; font-style: italic; } 
     102.chapo { line-height: 1.40em; font-family: Georgia, serif; font-weight: bold; margin-right: 1em; } 
     103.texte { line-height: 1.60em; margin-right: 1em; padding-top: 0; color: #000; font-family: Georgia, serif; font-size: 1.2em } 
     104.texte p { margin-top: 0; margin-bottom: 1em; } 
    134105.hyperlien { display: block;  margin-left: 150px; font-weight: bold; color: #999966; } 
    135106.page_site .hyperlien, .page_auteur .hyperlien { margin-left:0 } 
    136 .ps, .notes { margin-left: 150px; margin-bottom: 2em; line-height: 1.40em; } 
     107.ps, .notes { margin-left: 150px; margin-bottom: 2em; margin-right: 1em; line-height: 1.40em; } 
    137108.notes { margin-left: 150px; clear: both; font-size: 0.90em; } 
    138  
    139109/* elements pmb */ 
    140110.pmb-reserver, .pmb-rajoutertag, .pmb-consulter { margin-left: 150px; padding-top: .5em; padding-bottom: 0; } 
    141111.pmb-reserver { padding-top: 1em; } 
    142  
    143112abbr.published { border: 0; } 
    144  
    145113/* Portfolio */ 
    146114#documents_portfolio { clear: both; margin-left: 150px; margin-top: 2em; text-align: center; } 
     
    150118#document_actif { margin: 1em auto; margin-left: 150px; } 
    151119#document_actif img { padding: 4px; border: 1px solid #DDD; } 
    152  
    153  
    154120/* style de la plupart des h2 */ 
    155121#documents_portfolio h2, .pmb-exemplaires h2, .pmb-autreslecteurs h2, .pmb-toolbox h2, .ps h2, .hyperlien h2 { text-align: left; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: bottom left; padding-bottom: .4em; margin-bottom: .5em; margin-top: 1.5em; } 
    156  
    157  
    158122/* Habillage des forums 
    159123---------------------------------------------- */ 
    160124.repondre { clear: both; margin-top: 2.50em; margin-right: 1em; text-align: right; font-weight: bold; } 
    161 .repondre a { color: #999966; text-decoration: underline; font-weight: normal; } 
    162  
     125.repondre a { color: #999966; text-decoration: underline; font-weight: normal; font-size: 0.9em; margin-right: 1em; } 
    163126.total-forum { margin-left: 150px; text-align: left; color: #333300; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: bottom left; padding-bottom: .4em; margin-bottom: .5em; } 
    164127.total-forum a { color: #333300; } 
    165  
    166128/* * Habillage des forums */ 
    167129ul.forum { display: block; clear: both; float: right; margin: 0; padding: 0; width: 80%; } 
     
    174136.forum-texte .hyperlien {} 
    175137.forum-texte .repondre { margin: 0; padding: 0.10em 0; text-align: right; } 
    176  
    177138/* Boite d'un forum : eclaircissement progressif des bords */ 
    178139ul .forum-message { margin: 0; padding: 0; margin-bottom: 1em; } 
    179  
    180  
    181140/* Boite de titre d'un forum : mise en couleur selon la profondeur du forum */ 
    182141ul .forum-chapo { border: 0; margin: 0; padding: 3px 6px 2px 6px; } 
    183  
    184  
    185  
    186142/* Habillage des petitions 
    187143---------------------------------------------- */ 
     
    196152#signatures .formulaire_recherche { margin: 1em 0; text-align: right; } /*Cf.: spip_formulaires.css*/ 
    197153#signatures .formulaire_recherche input.text { width: 10em; text-align: left; } /*Cf.: spip_formulaires.css*/ 
    198  
    199  
    200154/*  ------------------------------------------ 
    201155/*  Sous-navigation et autres menus 
    202156/*  ------------------------------------------ */ 
    203  
    204157/* Habillage general des menus de navigation */ 
    205158.menu { clear: both; margin-bottom: .5em; text-align: left; } 
    206159.menu h2 img { vertical-align: bottom; } 
    207 .menu p { margin: 0.20em 0; padding: 0.20em 0.10em; } 
     160.menu p { margin: 0; padding: 0; } 
    208161.menu ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #DDD; } 
    209162.menu ul li { margin: 0.20em 0; padding: 0.20em; border-top: 1px solid #DDD; } 
    210163.menu ul li ul { margin-left: 1em; border: 0; } 
    211164.menu ul li li { padding: 0; border: 0; } 
    212  
    213  
    214165/* Pagination */ 
    215166.pagination { clear: both; text-align: right; font-size: 0.90em; color: #ccc; } 
     
    217168.pagination a { background: #999966; color: white;  } 
    218169.pagination a:hover { background: white; color: #999966; text-decoration: none; } 
    219  
    220170/* Rubriques */ 
    221171.rubriques { background: #67741f; padding-bottom: 1em; } 
    222172.rubriques h2 { color: white; padding: .5em; background-image: url(bordure-vert-moyen.gif); background-repeat: repeat-x; background-position: bottom left;} 
    223 .rubriques ul { border: 0; font-size: .9em; } 
    224 .rubriques ul li { background: none; border: 0; padding-left: 1em; letter-spacing: 1px; text-transform: uppercase; } 
     173.rubriques ul { border: 0; font-size: 1em; } 
     174.rubriques ul li { background: none; border: 0; padding-left: 1em; letter-spacing: 0px; text-transform: uppercase; } 
    225175.rubriques ul ul li { text-transform: none; } 
    226 .rubriques ul li ul { margin-left: 0; font-size: .9em; } 
     176.rubriques ul li ul { margin-left: 0; font-size: 1em; } 
    227177.rubriques ul li a { color: white; } 
    228178.rubriques ul li a:hover { text-decoration: underline; }  
    229179.rubriques ul li li { padding-right: 1em; } 
    230180.rubriques ul li li li { padding-right: 0; padding-left: 1em; font-size: 1.1em; } 
    231  
    232181/* Recherche */ 
    233182.recherche { background: #333300; padding-bottom: 0; } 
     
    236185.recherche .formulaire_recherche input.text { width: 9em; margin-left: .5em;} 
    237186.recherche .formulaire_recherche input.submit { background: white; color: #333300; text-transform: uppercase; padding: 0; font-weight: bold; } 
    238  
    239187/*menu de rubriques principales*/ 
    240188.principal { position: absolute; width: 100%; bottom: 0; left: 0; background: #E6E8D5; margin-bottom: 0;} 
     
    243191.principal ul li a { display: block; padding: .3em; background: white; } 
    244192.principal ul li a:hover { color: white; background: #999966; text-decoration: none; } 
    245  
    246193/* Listes d'articles et extraits introductifs */ 
    247194.articles { position: relative; padding: 0; } 
     
    251198.articles ul { border: none; margin-bottom: 1em; } 
    252199.articles ul li { clear: both; padding: 1.2em 0; padding-left: 0; border: none; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: top left;} 
    253 .articles ul li h3 { margin: 0.30em 0; text-transform: uppercase; font-family: Arial, sans-serif; font-size: 1em;} 
    254 .articles .logo-encart { float: left; clear: left; } 
    255 .articles .spip_logos { margin: 0; margin-bottom: .5em; margin-right: 1em; margin-left: 1em; } 
     200.articles ul li h3 { margin: 0.30em 0; text-transform: uppercase; font-family: Arial, sans-serif; font-size: 1em; letter-spacing: 0.05em; } 
     201.articles .logo-encart { float: left; clear: left; _height: 175px; min-height: 175px; } 
     202.articles .spip_logos { margin: 0 9px 9px 9px; } 
     203.page_sommaire .articles .spip_logos { margin: 0 0 0 9px; } 
    256204.articles .premier .spip_logos { margin-left: 0; } 
    257205.articles ul li .enclosures { float: right; text-align: right; max-width: 60%; margin: 0; } 
    258 .articles ul li .introduction { margin-top: 0.30em; line-height: 1.2em; font-family: Times, serif; font-size: 1.2em; } 
     206.articles ul li .introduction { margin-top: 0.30em; margin-right: 1em; line-height: 1.3em; font-family: Georgia, serif; font-size: 1.1em; } 
    259207.articles h2 { display: inline; color: #333300; font-size: 2.5em; font-weight: normal; font-family: Georgia, serif; font-size: 2.4em; } 
    260208.articles ul li small { color: #336666; font-style: italic; } 
     
    262210.articles .lire-la-suite:hover { text-decoration: underline; } 
    263211.page_rubrique .articles { margin-left: 150px; } 
    264  
    265212/* liste d'ouvrages pmb */ 
    266213.ouvrages { margin-left: 150px; clear: none; } 
    267214.page_auteur_pmb .ouvrages { margin-left: 150px; } 
    268215.ouvrages ul li { float: right; clear: right; width: 100%; }  
    269  
    270 /* liste des collections d'un éditeur pmb */ 
     216/* liste des collections d'un ᅵditeur pmb */ 
    271217.collections ul li { text-transform: uppercase; font-size: .85em; } 
    272218.collections ul li a { color: #336666; } 
    273219.page_editeur .spip_logos { margin-left: 0; } 
    274  
    275 /* sites référencés */ 
     220/* sites rᅵfᅵrencᅵs */ 
    276221.web { float: right; clear: right; width: 35%; margin-top: 3em; margin-bottom: 2em; color: #333300; } 
    277222.web h2 { font-family: Arial, sans-serif; text-transform: uppercase; font-size: .9em; } 
    278223.web ul { background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: top left; padding-top: .5em; margin-top: .2em; border: none; } 
    279 .web ul li { font-size: .8em; border: none; margin: 0; } 
     224.web ul li { font-size: .9em; border: none; margin: 0; } 
    280225.web ul li li { font-size: 1em; } 
    281226.web ul li a { color: #333300; border-bottom: 1px dotted #333300; padding-right: 0; background-image: none; } 
    282227.web ul li a:hover { color: #333333; text-decoration: none; border-bottom: 1px solid #333300; } 
    283  
    284228/* page d'accueil */ 
    285229.page_sommaire .articles ul { float: left; width: 100%; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: top left; } 
    286 .page_sommaire .articles ul li { width: 25%; _height: 13em; min-height: 13em; float: left; clear: none; padding-bottom: 0; margin-top: .5em; background-image: url(bordure-gris.gif); background-repeat: repeat-y; background-position: top left; } 
     230.page_sommaire .articles ul li { width: 25%; _height: 13em; min-height: 13em; float: left; clear: none; padding-bottom: 0; margin-top: .2em; background-image: url(bordure-gris.gif); background-repeat: repeat-y; background-position: top left; } 
    287231.page_sommaire .articles ul li.premier { background-image: none; } 
    288232.page_sommaire .articles ul li.avec-photo { width: 45%; } 
    289 .page_sommaire .articles ul li div, .page_sommaire .articles ul li a.lire-la-suite, .page_actualites .articles ul li a.lire-la-suite, .page_nouveautes .articles ul li a.lire-la-suite, .page_sommaire .articles ul li small, .page_sommaire .articles ul li h3 { display: block;  margin-left: 1em; margin-right: 1em; } 
     233.page_sommaire .articles ul li div, .page_sommaire .articles ul li a.lire-la-suite, .page_actualites .articles ul li a.lire-la-suite, .page_nouveautes .articles ul li a.lire-la-suite, .page_sommaire .articles ul li small, .page_sommaire .articles ul li h3 { display: block;  margin-left: 0.5em; margin-right: 1em; } 
    290234.page_sommaire .articles ul li.premier div, .page_sommaire .articles ul li.premier a.lire-la-suite, .page_sommaire .articles ul li.premier small, .page_sommaire .articles ul li.premier h3, .page_sommaire .articles ul li.avec-photo small { display: block; margin-left: 0; } 
    291235.page_sommaire .articles ul li .logo_encart { margin-bottom: 1em; } 
    292  
    293236.page_sommaire .nouveautes ul li, .page_sommaire .nouveautes ul li.premier, .page_sommaire .nouveautes ul li.avec-photo  { width: 48%; height: auto;} 
    294  
    295 /* adapter la mise en page en fonction de la présence de logos */ 
    296 /* cas 1 : les trois articles ont des logos, on partage équitablement la largeur disponible */ 
     237/* adapter la mise en page en fonction de la prᅵsence de logos */ 
     238/* cas 1 : les trois articles ont des logos, on partage ᅵquitablement la largeur disponible */ 
    297239.page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-1 { width: 33%; } 
    298240.page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-2 { width: 32%; } 
    299241.page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-3 { width: 33%; } 
    300  
    301242/* cas 2 : un seul a un logo */ 
    302243.page_sommaire .articles .mise-en-page-logo-sans-sans li.sans-logo, .page_sommaire .articles .mise-en-page-sans-logo-sans li.sans-logo, .page_sommaire .articles .mise-en-page-sans-sans-logo li.sans-logo { width: 24%; } 
    303244.page_sommaire .articles .mise-en-page-logo-sans-sans li.avec-logo, .page_sommaire .articles .mise-en-page-sans-logo-sans li.avec-logo, .page_sommaire .articles .mise-en-page-sans-sans-logo li.avec-logo { width: 48%; } 
    304  
    305245/* cas 3 : logo,sans,logo  */ 
    306246.page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-1 { width: 38%; } 
    307247.page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-2 { width: 22%; } 
    308248.page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-3 { width: 38%; } 
    309  
    310  
    311249/* cas 4 : logo,logo et sans */ 
    312250.page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-1 { width: 38%; } 
    313251.page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-2 { width: 38%; } 
    314252.page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-3 { width: 22%; } 
    315  
    316253/* cas 5 : sans,logo,logo  */ 
    317254.page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-1 { width: 22%; } 
    318255.page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-2 { width: 38%; } 
    319256.page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-3 { width: 38%; } 
    320  
    321257/* cas 6 : sans,sans,sans  */ 
    322258.page_sommaire .articles .mise-en-page-sans-sans-sans li { width: 33%; } 
    323  
    324  
    325259/* page rubrique */ 
    326260.page_rubrique .articles .spip_logos, .page_actualites .articles .spip_logos, .page_nouveautes .articles .spip_logos, .page_site .articles .spip_logos, .page_recherche .articles .spip_logos { margin-left: 0; } 
    327 .page_rubrique .articles ul li .introduction { font-size: 1.2em; } 
     261.page_rubrique .articles ul li .introduction { font-size: 1.1em; } 
    328262.page_rubrique .articles .lire-la-suite { margin-right: 2em; } 
    329263.page_rubrique .articles ul li small { display: block; } 
    330  
    331264/* page auteur */ 
    332265.page_auteur .articles .spip_logos { margin-left: 0; } 
     
    334267.page_auteur .articles .lire-la-suite { margin-right: 2em; } 
    335268.page_auteur .articles ul li small { display: block; } 
    336  
    337 /* docs multimédias */ 
     269/* docs multimᅵdias */ 
    338270.multimedia { background: #99ac2d; } 
    339271.multimedia h2 { color: white; padding: .5em; background-image: url(bordure-vert-clair.gif); background-repeat: repeat-x; background-position: bottom left; } 
     
    345277.multimedia .radiobox .playliste_pagination { border: none; color: white; padding: .5em;} 
    346278.multimedia .radiobox .playliste_pagination a { color: white; } 
    347  
    348279/* autres articles */ 
    349280.autres-articles { background: #99ac2d; } 
     
    351282.autres-articles h2 a { color: white; } 
    352283.autres-articles ul li { border: none; padding-left: .5em; padding-right: .5em; color: white; } 
    353 .autres-articles ul li a { color: white; } 
     284.autres-articles ul li a { color: white;  font-size : 1em } 
    354285.autres-articles .pagination, .autres-articles .pagination a { color: white; } 
    355  
    356  
    357286/* auteurs */ 
    358287.auteurs { background: #99ac2d; } 
     
    362291.auteurs ul li a { color: white; } 
    363292.auteurs .pagination, .autres-articles .pagination a { color: white; } 
    364  
    365  
    366293/* newsletter */ 
    367294.forums { background: #99AC2D; } 
    368295.forums h2 { color: white; padding: .5em; background-image: url(bordure-vert-tresclair.gif); background-repeat: repeat-x; background-position: bottom left; } 
    369296.forums ul { padding: .5em; } 
    370 .forums ul li { border: none; font-size: .8em; letter-spacing: -1px; color: white; } 
     297.forums ul li { border: none; font-size: 1em; letter-spacing: 0px; color: white; } 
    371298.forums ul li a { color: white; } 
    372299.forums ul li a:hover { color: white; text-decoration: underline; } 
    373  
    374300/* documents joints */ 
    375 #documents_joints { width: 130px; float: left; clear: left; margin-top: 2em; border-right: 1px dotted #666; } 
     301#documents_joints { width: 130px; float: left; clear: left; margin-top: 2em; border-right: 1px dotted #666; position: absolute; top: 41em; } 
    376302#documents_joints h2 { color: #333300; } 
    377303#documents_joints ul { border: none; } 
    378304#documents_joints ul li { border: none; } 
    379 #documents_joints ul li a { color: #336666; } 
    380  
     305#documents_joints ul li a { color: #336666; font-size: 0.9em;} 
    381306/* sous-rubriques */ 
    382307.sous-rubriques { float: left; clear: left; width: 130px; border-right: 1px dotted #666; margin-top: 2em; } 
     
    384309.sous-rubriques ul li { border: none; } 
    385310.sous-rubriques h2 { color: #333300; display: none;} 
    386  
    387311/*notices */ 
    388 .pmb-exemplaires, .pmb-autreslecteurs { 
    389         margin-left: 150px; 
    390         margin-bottom: 2em; 
    391 } 
    392  
     312.pmb-exemplaires, .pmb-autreslecteurs { margin-left: 150px; margin-bottom: 2em; margin-right: 1em; } 
    393313#navigation .menu { margin-right: 10px; margin-left: 15px; } 
    394  
    395314/* Couleurs des liens 
    396315---------------------------------------------- */ 
    397 a { color: #333300; text-decoration: none; } 
     316a { color: #000000; text-decoration: none; } 
    398317a:hover { color: #333300; text-decoration: underline; } 
    399  
    400318a.spip_out { color: #336666; text-decoration: none; border-bottom: 1px dotted #336666; background-image: url(puce_spipout.gif); padding-right: 12px; background-repeat: no-repeat; background-position: right top; } 
    401319a.spip_out:hover { border-bottom: 1px solid #336666; } 
     
    416334        border-bottom: 1px solid #336666; 
    417335}  
    418  
    419336/*  ------------------------------------------ 
    420337/*  Autres supports 
    421338/*  ------------------------------------------ */ 
    422  
    423339/*page plan*/ 
    424340.page_plan #contenu h2 { font-size: 2em; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: bottom left; padding-bottom: .3em; margin-bottom: .5em; } 
    425341.page_plan .cartouche h1 { background-image: none; } 
    426  
    427  
    428342/* Affichage pour les petits ecrans (type 400 x 300) */ 
    429343@media handheld, only screen and (max-device-width: 481px), only and (max-device-width: 400px), only and (max-width: 400px) { 
    430344div#page, div#conteneur, div#navigation, div#extra { width: auto; } 
    431345} 
    432  
    433  
    434346/* surcharges formulaires */ 
    435347#page .formulaire_spip { background: none; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: top left; } 
     
    437349#page .formulaire_spip p.boutons input, #page input.submit { background-color: #333300; border-color: #333300; } 
    438350#page .formulaire_recherche .boutons input, #page .formulaire_recherche input.submit { background-color: white; border-color: #333300; } 
    439  
    440  
    441351.fond-blanc { dispaly: none; } 
    442  
    443352.navbar { clear: right; float: right; margin-right: 2em; margin-bottom: 2em; color: #666; } 
    444353.navbar .numero_page { background: none; } 
    445354.navbar img { vertical-align: middle; } 
    446  
    447355#search { margin-bottom: 2em; background: #999966; color: white; padding: .5em; } 
    448  
    449356.pmb-toolbox { margin-left: 150px; margin-bottom: 2em; } 
    450357.pmb-toolbox ul { margin-left: .5em; list-style: none; padding-left: 0; } 
    451358.pmb-toolbox ul li { margin-left: 0; padding-left: 13px; margin-bottom: .3em; background-image: url(bg-puce.gif); background-repeat: no-repeat; background-position: left center; } 
    452  
    453359.pmb-autreslecteurs tr.surbrillance { background: #999966; color: white; } 
    454360.pmb-autreslecteurs tr.even { background: #D8DAC8; } 
    455361.pmb-autreslecteurs tr.odd { background: none; } 
    456  
    457362.pmb-exemplaires th { background: #999966; color: white; font-weight: normal; } 
    458363.pmb-exemplaires .expl_situation strong { color: #67741F; font-weight: normal; } 
    459  
    460364#page .formulaire_moncomptepmb { width: 277px; position: absolute; right: 220px; top: 50px; background: none; margin-bottom: 0; padding: 0; } 
    461365#page .fonctionnement { display: none; } 
    462  
    463366#page .formulaire_moncomptepmb ul li { font-size: .8em; padding-bottom: 0; float: left; clear: left; width: 100%; } 
    464367#page .formulaire_moncomptepmb ul li.boutons { clear: none; position: absolute; right: 0; bottom: 0; width: auto; } 
     
    470373#page .formulaire_moncomptepmb h2 { font-family: Arial, sans-serif; text-transform: uppercase; font-size: .8em; margin: 0; padding: 0; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: bottom left; padding-bottom: .5em; width: 100%; } 
    471374#page .formulaire_moncomptepmb fieldset legend { display: none; } 
    472  
    473375/*innerfade*/ 
    474376#image-haut { height: 150px; overflow: hidden; } 
     
    476378#image-haut ul li { border: none; padding: 0; margin: 0; } 
    477379#image-haut ul li img { border: none; padding: 0; margin: 0; } 
    478  
     380.page_forum h2 { display: none; } 
  • _plugins_/_dev_/spip-pmb/2_0_0/inc-actualites.html

    r24072 r27709  
    66            <h2 class="invisible"><:articles_rubrique:></h2> 
    77            <ul> 
    8                 <BOUCLE_articles(ARTICLES) {par date}{inverse} {pagination}> 
     8                <BOUCLE_articles(ARTICLES) {titre_mot=actualite} {par date}{inverse} {pagination}> 
    99                <li> 
    1010                        [(#LOGO_ARTICLE|#URL_ARTICLE|image_reduire{120,140})] 
  • _plugins_/_dev_/spip-pmb/2_0_0/inc-rubriques.html

    r25399 r27709  
    5858<div class="menu multimedia"> 
    5959        <h2>[(#TITRE)] <a href="#URL_RUBRIQUE">[<:pmb:en_savoir_plus:>]</a></h2> 
    60         [(#MODELE{playliste}{site}{ajax})] 
     60        [(#MODELE{playliste}{site})] 
    6161</div> 
    6262</BOUCLE_rubriquesconferences> 
  • _plugins_/_dev_/spip-pmb/2_0_0/lang/local_fr.php

    r24158 r27709  
    1212'toutes_nouveautes' => 'toutes les nouveaut&eacute;s', 
    1313'auteur' => 'Auteur', 
    14 'tous_coupsdecoeur' => 'tous les coups de c&oelig;urs', 
    1514'serie' => 'S&eacute;rie', 
    1615'type' => 'Type', 
  • _plugins_/_dev_/spip-pmb/2_0_0/lang/pmb_fr.php

    r25399 r27709  
    2020'toutes_nouveautes' => 'toutes les nouveaut&eacute;s', 
    2121'auteur' => 'Auteur', 
    22 'tous_coupsdecoeur' => 'tous les coups de c&oelig;urs', 
     22'tous_coupsdecoeur' => 'toutes les critiques', 
    2323'serie' => 'S&eacute;rie', 
    2424'type' => 'Type', 
  • _plugins_/_dev_/spip-pmb/2_0_0/more_results.html

    r24023 r27709  
    6262         
    6363                [(#REM) Menu de navigation par rubriques ] 
    64                 <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     64                <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    6565         
    6666        </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/notice_display.html

    r25075 r27709  
    3131        <div class="cartouche"> 
    3232                <div class="surlignable"> 
    33                         <h1 class="#EDIT{titre} entry-title[ (#GET{notice}|pmb_notice_champ{'titre'}|strlen|>{30}|?{'titre-long',''})]">[(#GET{notice}|pmb_notice_champ{'titre'})]</h1> 
     33                        <h1 class="#EDIT{titre} entry-title[ (#GET{notice}|pmb_notice_champ{'titre'}|strlen|>{30}|?{'titre-long',''})]">[(#GET{notice}|pmb_notice_champ{'titre'}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    3434                        <div class="socialtags"> 
    3535                        <ul> 
     
    120120 
    121121        [(#REM) Menu de navigation par rubriques ] 
    122         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     122        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    123123 
    124124 
  • _plugins_/_dev_/spip-pmb/2_0_0/nouveautes.html

    r24073 r27709  
    2222 
    2323        <div class="cartouche"> 
    24             <h1><:nouveautes:></h1> 
     24            <h1>[(#REM|?{'',<:nouveautes:>}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    2525        </div> 
    2626 
     
    4040 
    4141        [(#REM) Menu de navigation par rubriques ] 
    42         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     42        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    4343 
    4444    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/plan.html

    r24016 r27709  
    8080 
    8181        [(#REM) Menu de navigation par rubriques ] 
    82         <INCLURE{fond=inc-rubriques}> 
     82        <INCLURE{fond=inc-rubriques}{env}> 
    8383 
    8484    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/plugin.xml

    r25251 r27709  
    4545        <necessite id="CFG" version="[1.0;]" /> 
    4646        <necessite id="spip_bonux" version="[1.2;]" /> 
    47         <necessite id='spip' version='[2.0.0;]' /> 
     47        <necessite id='spip' version='[2.0.0 dev;]' /> 
    4848 
    4949</plugin> 
  • _plugins_/_dev_/spip-pmb/2_0_0/pmb_mes_fonctions.php

    r25075 r27709  
    8484                        $tableau_resultat[0]['titre_serie'] = $htmldom->find('#aut_see h3',0)->innertext; 
    8585                         
    86                         $resultats_recherche = $htmldom->find('.child'); 
    87                         $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
    88                         $i = 1; 
    89                         foreach($resultats_recherche as $res) { 
    90                                 $tableau_resultat[$i] = Array();                                 
    91                                 pmb_parser_notice($res, $tableau_resultat[$i]); 
     86                        $resultats_recherche = $htmldom->find('.notice-child'); 
     87                        $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
     88                        $i = 1; 
     89                        foreach($resultats_recherche as $res) { 
     90                                $tableau_resultat[$i] = Array();                                 
     91                                pmb_parser_notice_apercu($res, $tableau_resultat[$i]); 
    9292                                $i++; 
    9393                        }        
     
    107107                        $tableau_resultat[0]['collections_infos'] = $htmldom->find('#aut_see ul',0)->outertext; 
    108108                         
    109                         $resultats_recherche = $htmldom->find('.child'); 
    110                         $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
    111                         $i = 1; 
    112                         foreach($resultats_recherche as $res) { 
    113                                 $tableau_resultat[$i] = Array();                                 
    114                                 pmb_parser_notice($res, $tableau_resultat[$i]); 
     109                        $resultats_recherche = $htmldom->find('.notice-child'); 
     110                        $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
     111                        $i = 1; 
     112                        foreach($resultats_recherche as $res) { 
     113                                $tableau_resultat[$i] = Array();                                 
     114                                pmb_parser_notice_apercu($res, $tableau_resultat[$i]); 
    115115                                $i++; 
    116116                        }        
     
    135135                        } 
    136136                         
    137                         $resultats_recherche = $htmldom->find('.child'); 
    138                         $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
    139                         $i = 1; 
    140                         foreach($resultats_recherche as $res) { 
    141                                 $tableau_resultat[$i] = Array();                                 
    142                                 pmb_parser_notice($res, $tableau_resultat[$i]); 
     137                        $resultats_recherche = $htmldom->find('.notice-child'); 
     138                        $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
     139                        $i = 1; 
     140                        foreach($resultats_recherche as $res) { 
     141                                $tableau_resultat[$i] = Array();                                 
     142                                pmb_parser_notice_apercu($res, $tableau_resultat[$i]); 
    143143                                $i++; 
    144144                        }        
     
    157157                        $tableau_resultat[0]['titre_auteur'] = $htmldom->find('#aut_see h3',0)->innertext; 
    158158                         
    159                         $resultats_recherche = $htmldom->find('.child'); 
    160                         $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
    161                         $i = 1; 
    162                         foreach($resultats_recherche as $res) { 
    163                                 $tableau_resultat[$i] = Array();                                 
    164                                 pmb_parser_notice($res, $tableau_resultat[$i]); 
     159                        $resultats_recherche = $htmldom->find('.notice-child'); 
     160                        $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
     161                        $i = 1; 
     162                        foreach($resultats_recherche as $res) { 
     163                                $tableau_resultat[$i] = Array();                                 
     164                                pmb_parser_notice_apercu($res, $tableau_resultat[$i]); 
    165165                                $i++; 
    166166                        }        
     
    190190        if ($htmldom = pmb_charger_page($url_base, $url_page,$mode)) { 
    191191                        $tableau_resultat[0] = Array(); 
    192                         $tableau_resultatt[0]['nav_bar'] = $htmldom->find('.navbar',0)->outertext; 
    193                         $tableau_resultat[0]['nav_bar'] = pmb_transformer_nav_bar($tableau_resultat[0]['nav_bar']); 
    194  
    195                         $resultats_recherche = $htmldom->find('.child'); 
    196                         $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
    197                         $i = 1; 
    198                         foreach($resultats_recherche as $res) { 
    199                                 $tableau_resultat[$i] = Array();                                 
    200                                 pmb_parser_notice($res, $tableau_resultat[$i]); 
    201                                 $i++; 
    202                         }        
    203         } 
    204         return $tableau_resultat; 
    205 } 
    206  
    207 //découpage d'une notice au départ dans un div de class .child 
    208 function pmb_parser_notice ($localdom, &$tresultat) { 
    209         $id_notice = intval(substr($localdom->id,2)); 
    210         $tresultat['id'] = $id_notice;   
    211         $tresultat['logo_src'] = $localdom->find('table img',0)->src;  
    212         $tresultat['exemplaires'] = $localdom->find('.exemplaires',0)->outertext; 
    213         if ($tmp = $localdom->find('.autres_lectures',0)) { 
    214                         $tresultat['autres_lecteurs'] = $tmp->next_sibling()->outertext; 
    215         }                                
    216         $tablechamps = $localdom->find('table table tr'); 
     192                        $tableau_resultat[0]['nav_bar'] = $htmldom->find('.navbar',0)->outertext; 
     193                        $tableau_resultat[0]['nav_bar'] = pmb_transformer_nav_bar($tableau_resultat[0]['nav_bar']); 
     194 
     195                        $resultats_recherche = $htmldom->find('.notice-child'); 
     196                        $tableau_resultat[0]['nb_resultats'] = count($resultats_recherche); 
     197                        $i = 1; 
     198                        foreach($resultats_recherche as $res) { 
     199                                $tableau_resultat[$i] = Array();                                 
     200                                if ($i>1) pmb_parser_notice_apercu($res, $tableau_resultat[$i]); 
     201                                $i++; 
     202                        }        
     203        } 
     204        return $tableau_resultat; 
     205} 
     206function pmb_parser_notice_apercu ($localdom, &$tresultat) { 
     207        $tresultat['id'] = intval(substr($localdom->id,2));      
     208        $tresultat['logo_src'] = $localdom->find('table td img',2)->src;  
     209        $tablechamps = $localdom->find('table tr tr'); 
    217210        foreach($tablechamps as $tr) { 
    218211                $libelle = htmlentities($tr->find('td',0)->innertext); 
     
    226219                else if (strpos($libelle, 'Collection')) $tresultat['collection'] = $valeur;  
    227220                else if (strpos($libelle, 'Importance')) $tresultat['importance'] = $valeur;  
    228                 else if (strpos($libelle, 'Présentation')) $tresultat['presentation'] = $valeur;  
     221                else if (strpos($libelle, 'Présentation')) $tresultat['presentation'] = $valeur;  
    229222                else if (strpos($libelle, 'Format')) $tresultat['format'] = $valeur;  
    230223                else if (strpos($libelle, 'Importance')) $tresultat['importance'] = $valeur;  
     
    237230} 
    238231 
     232 
     233 
     234//dᅵcoupage d'une notice au dᅵpart dans un div de class .parent 
     235function pmb_parser_notice ($id_notice, $localdom, &$tresultat) { 
     236        $tresultat['id'] = $id_notice;   
     237        $tresultat['logo_src'] = $localdom->find('table td img',2)->src;  
     238        $tresultat['exemplaires'] = $localdom->find('.exemplaires',0)->outertext; 
     239        if ($tmp = $localdom->find('.autres_lectures',0)) { 
     240                        $tresultat['autres_lecteurs'] = $tmp->next_sibling()->outertext; 
     241        }                                
     242        $tablechamps = $localdom->find('#div_public'.$id_notice.' tr'); 
     243        foreach($tablechamps as $tr) { 
     244                $libelle = htmlentities($tr->find('td',0)->innertext); 
     245                $valeur = $tr->find('td',1)->innertext; 
     246                if (strpos($libelle, 'Titre de s')) $tresultat['serie'] = $valeur;  
     247                if (strpos($libelle, 'Titre')) $tresultat['titre'] = $valeur;  
     248                else if (strpos($libelle, 'Type de document')) $tresultat['type'] = $valeur;  
     249                else if (strpos($libelle, 'Editeur')) $tresultat['editeur'] = $valeur;  
     250                else if (strpos($libelle, 'Auteurs')) $tresultat['lesauteurs'] = $valeur;  
     251                else if (strpos($libelle, 'de publication')) $tresultat['annee_publication'] = $valeur;  
     252                else if (strpos($libelle, 'Collection')) $tresultat['collection'] = $valeur;  
     253                else if (strpos($libelle, 'Importance')) $tresultat['importance'] = $valeur;  
     254                else if (strpos($libelle, 'Présentation')) $tresultat['presentation'] = $valeur;  
     255                else if (strpos($libelle, 'Format')) $tresultat['format'] = $valeur;  
     256                else if (strpos($libelle, 'Importance')) $tresultat['importance'] = $valeur;  
     257                else if (strpos($libelle, 'ISBN')) $tresultat['isbn'] = $valeur;  
     258                else if (strpos($libelle, 'Prix')) $tresultat['prix'] = $valeur;  
     259                else if (strpos($libelle, 'Langues')) $tresultat['langues'] = $valeur;  
     260                else if (strpos($libelle, 'sum')) $tresultat['resume'] = $valeur;  
     261        } 
     262 
     263} 
     264 
    239265// retourne un tableau associatif contenant tous les champs d'une notice  
    240266function pmb_notice_extraire ($id_notice, $url_base, $mode='auto') { 
    241267        $tableau_resultat = Array(); 
    242268        if ($htmldom = pmb_charger_page($url_base, "index.php?lvl=notice_display&seule=1&id=".$id_notice, $mode)) { 
    243                  pmb_parser_notice($htmldom->find('.child',0), $tableau_resultat);       
     269                 pmb_parser_notice($id_notice, $htmldom->find('#notice',0), $tableau_resultat);  
    244270        } 
    245271        return $tableau_resultat; 
  • _plugins_/_dev_/spip-pmb/2_0_0/publisher_see.html

    r24316 r27709  
    2424                        <div class="surlignable"> 
    2525                                <h1 class="entry-title[ (#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_editeur}|strlen|>{30}|?{'titre-long',''})][ (#GET{tab_resultat}|pmb_tableau2_valeur{0,infos_editeur}|?{'','pas-de-texte'})]"> 
    26                                         [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_editeur})] 
     26                                        [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_editeur}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})] 
    2727                                </h1> 
    2828                        </div> 
     
    9090 
    9191        [(#REM) Menu de navigation par rubriques ] 
    92         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     92        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    9393 
    9494 
  • _plugins_/_dev_/spip-pmb/2_0_0/recherche.html

    r24152 r27709  
    2020                <div id="hierarchie"><a href="#URL_SITE_SPIP/"><:accueil_site:></a> &gt; <:info_rechercher:>[ &gt; <strong class="on">(#RECHERCHE)</strong>]</div> 
    2121                [<div class="cartouche"> 
    22                         <h1><:resultats_recherche:></h1> 
     22                        <h1>[(#REM|?{'',<:resultats_recherche:>}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    2323                        <p class="soustitre">&#171;&nbsp;(#RECHERCHE)&nbsp;&#187;</p> 
    2424                </div>] 
     
    4040         
    4141                [(#REM) Menu de navigation par rubriques ] 
    42                 <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     42                <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    4343         
    4444        </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/rubrique.html

    r25441 r27709  
    3030 
    3131        <div class="cartouche"> 
    32             <h1 class="#EDIT{titre}[ (#TITRE|strlen|>{30}|?{'titre-long',''})][ (#TEXTE|?{'','pas-de-texte'})]">[(#TITRE|ucfirst)]</h1> 
     32            <h1 class="#EDIT{titre}[ (#TITRE|strlen|>{30}|?{'titre-long',''})][ (#TEXTE|?{'','pas-de-texte'})]">[(#TITRE|ucfirst|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 
    3333        </div> 
    3434 
     
    115115 
    116116        [(#REM) Menu de navigation par rubriques ] 
    117         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     117        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    118118 
    119119    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/serie_see.html

    r24153 r27709  
    2424                        <div class="surlignable"> 
    2525                                <h1 class="entry-title[ (#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_serie}|strlen|>{30}|?{'titre-long',''})][ (#GET{tab_resultat}|pmb_tableau2_valeur{0,infos_serie}|?{'','pas-de-texte'})]"> 
    26                                         [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_serie})] 
     26                                        [(#GET{tab_resultat}|pmb_tableau2_valeur{0,titre_serie}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})] 
    2727                                </h1> 
    2828                        </div> 
     
    7070 
    7171        [(#REM) Menu de navigation par rubriques ] 
    72         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     72        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    7373 
    7474 
  • _plugins_/_dev_/spip-pmb/2_0_0/site.html

    r24324 r27709  
    100100 
    101101        [(#REM) Menu de navigation par rubriques ] 
    102         <INCLURE{fond=inc-rubriques}{id_rubrique}> 
     102        <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 
    103103 
    104104    </div><!--#navigation--> 
  • _plugins_/_dev_/spip-pmb/2_0_0/sommaire.html

    r25399 r27709  
    2929                        <h2>[(#REM|?{'',<:derniers_articles:>}|image_typo{police=togase.ttf,taille=26,couleur=333300})]</h2><a href="#URL_PAGE{actualites}" class="plus-de-liens"><:toute_actualite:> +</a> 
    3030                        [(#REM) Adapter la mise en page en fonction des 3 premiers articles ] 
    31                         <ul class="mise-en-page<BOUCLE_testlogos(ARTICLES) {id_rubrique!=34}{par date}{inverse}{0,3} >[(#LOGO_ARTICLE||?{'-logo','-sans'})]</BOUCLE_testlogos>"> 
     31                        <ul class="mise-en-page<BOUCLE_testlogos(ARTICLES) {id_rubrique!=34}{titre_mot=actualite}{par date}{inverse}{0,3} >[(#LOGO_ARTICLE||?{'-logo','-sans'})]</BOUCLE_testlogos>"> 
    3232                                 
    33                                 [(#REM) Encarts Actualités ] 
     33                                [(#REM) Encarts Actualités ] 
    3434                                <BOUCLE_articles_recents(ARTICLES) {id_rubrique!=34}{titre_mot=actualite}{par date}{inverse}{0,3}{doublons} > 
    3535                                <li class="hentry[ (#COMPTEUR_BOUCLE|=={1}|?{'premier',''})][ encart-(#COMPTEUR_BOUCLE)][ (#LOGO_ARTICLE||?{'avec-logo','sans-logo'})]"> 
    3636                                        [<div class="logo-encart">(#LOGO_ARTICLE|#URL_ARTICLE|image_reduire{0,130}|image_recadre{90,130,center})</div>] 
     37                                        [<p class="surtitre">(#SURTITRE)</p>] 
    3738                                        <h3 class="entry-title"><a href="#URL_ARTICLE" rel="bookmark">[(#TITRE|couper{30,'...'})]</a></h3> 
    3839                                        <small class="invisible"><abbr class="published"[ title="(#DATE|date_iso)"]>[(#DATE|affdate_jourcourt)]</abbr></small> 
    3940                                        <small>[(#SOUSTITRE)]</small> 
    40                                         [<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION|couper{[(#REM|?{'','100'}|moins{[(#SOUSTITRE|strlen)]})],'...'})</div>] 
     41                                        [<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION|couper{[(#REM|?{'','80'}|moins{[(#SOUSTITRE|strlen)]})],'...'})</div>] 
    4142                                        <a class="lire-la-suite" title="[(#TITRE|texte_backend)]" href="#URL_ARTICLE"><:lire_la_suite:> +</a> 
    4243                                </li> 
     
    5354                        <ul> 
    5455                        <BOUCLE_syndic_pmb(SYNDIC_ARTICLES_PMB){pmb_photo_src!=""} {par hasard} {0,2}> 
    55                                 [(#SET{notice, [(#PMB_ID_NOTICE|pmb_notice_extraire{#CONFIG{spip_pmb/url}})]})] 
     56                                [(#SET{notice, [(#PMB_ID_NOTICE|pmb_notice_extraire{#CONFIG{spip_pmb/url},'force'})]})] 
    5657                                                                <li class="hentry[ (#COMPTEUR_BOUCLE|=={1}|?{'premier',''})]"> 
    5758                                                         
    5859                                                                <div class="logo-encart"><a href="#URL_PAGE{notice_display,id=#PMB_ID_NOTICE&amp;seule=1}"> 
    59                                                                 [(#REM|?{'','<img />'}|inserer_attribut{class,spip_logos}|inserer_attribut{src,[(#GET{notice}|pmb_notice_champ{'logo_src'}|copie_locale)]}image_reduire{101,0})] 
     60                                                                [(#REM|?{'','<img />'}|inserer_attribut{class,spip_logos}|inserer_attribut{src,[(#GET{notice}|pmb_notice_champ{'logo_src'}|copie_locale)]}|image_reduire{101,0})] 
    6061                                                                </a></div> 
    61                                                                 <h3 class="entry-title"><a href="#URL_PAGE{notice_display,id=#PMB_ID_NOTICE&amp;seule=1}"[ title="(#NOM_SITE|texte_backend)"]>[(#TITRE|couper{30,'...'})]</a></h3>  
     62                                                                <h3 class="entry-title"><a href="#URL_PAGE{notice_display,id=#PMB_ID_NOTICE&amp;seule=1}"[ title="(#NOM_SITE|texte_backend)"]>[(#GET{notice}|pmb_notice_champ{'titre'}|couper{30,'...'})]</a></h3>  
    6263                                                                [<small>(#GET{notice}|pmb_notice_champ{'lesauteurs'})</small>] 
    6364                                                                [<small>        <:serie:> : (#GET{notice}|pmb_notice_champ{'serie'})</small>] 
     
    7778                <B_articles_coupsdecoeur> 
    7879                <div class="menu articles"> 
    79                         <h2>[(#TITRE|ucfirst|image_typo{police=togase.ttf,taille=26,couleur=333300})]</h2><a href="#URL_RUBRIQUE" class="plus-de-liens"><:tous_coupsdecoeur:> +</a> 
     80                        <h2>[(#TITRE|ucfirst|image_typo{police=togase.ttf,taille=26,couleur=333300})]</h2><a href="#URL_RUBRIQUE" class="plus-de-liens"><:pmb:tous_coupsdecoeur:> +</a> 
    8081                        <ul class="mise-en-page<BOUCLE_testlogoscoupscoeur(ARTICLES) {id_rubrique} {par date}{inverse}{0,3} >[(#LOGO_ARTICLE||?{'-logo','-sans'})]</BOUCLE_testlogoscoupscoeur>"> 
    8182                                [(#REM) Encarts Coups de coeur ] 
     
    118119                 
    119120                [(#REM) Menu de navigation par rubriques ] 
    120                 <INCLURE{fond=inc-rubriques}> 
     121                <INCLURE{fond=inc-rubriques}{env}> 
    121122                 
    122123