Changeset 27709 for _plugins_/_dev_/spip-pmb
- Timestamp:
- 08.04.2009 06:28:19 (10 months ago)
- Location:
- _plugins_/_dev_/spip-pmb/2_0_0
- Files:
-
- 24 modified
-
actualites.html (modified) (2 diffs)
-
article.html (modified) (2 diffs)
-
auteur.html (modified) (2 diffs)
-
author_see.html (modified) (2 diffs)
-
bordure-vert-moyen.gif (modified) (previous)
-
coll_see.html (modified) (4 diffs)
-
forum.html (modified) (2 diffs)
-
habillage.css (modified) (24 diffs)
-
inc-actualites.html (modified) (1 diff)
-
inc-rubriques.html (modified) (1 diff)
-
lang/local_fr.php (modified) (1 diff)
-
lang/pmb_fr.php (modified) (1 diff)
-
more_results.html (modified) (1 diff)
-
notice_display.html (modified) (2 diffs)
-
nouveautes.html (modified) (2 diffs)
-
plan.html (modified) (1 diff)
-
plugin.xml (modified) (1 diff)
-
pmb_mes_fonctions.php (modified) (7 diffs)
-
publisher_see.html (modified) (2 diffs)
-
recherche.html (modified) (2 diffs)
-
rubrique.html (modified) (2 diffs)
-
serie_see.html (modified) (2 diffs)
-
site.html (modified) (1 diff)
-
sommaire.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/_dev_/spip-pmb/2_0_0/actualites.html
r24072 r27709 23 23 24 24 <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> 26 26 </div> 27 27 … … 36 36 37 37 [(#REM) Menu de navigation par rubriques ] 38 <INCLURE{fond=inc-rubriques}{id_rubrique} >38 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 39 39 40 40 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/article.html
r25441 r27709 30 30 <div class="surlignable"> 31 31 [<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> 33 33 [(#INCLURE{fond=noisettes/socialtags}{id_article})] 34 34 </div> … … 95 95 96 96 [(#REM) Menu de navigation par rubriques ] 97 <INCLURE{fond=inc-rubriques}{id_rubrique} >97 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 98 98 99 99 -
_plugins_/_dev_/spip-pmb/2_0_0/auteur.html
r24026 r27709 26 26 <div class="cartouche"> 27 27 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>] 29 29 </div> 30 30 … … 71 71 72 72 [(#REM) Menu de navigation par rubriques ] 73 <INCLURE{fond=inc-rubriques} >73 <INCLURE{fond=inc-rubriques}{env}> 74 74 75 75 [(#REM) Autres auteurs ] -
_plugins_/_dev_/spip-pmb/2_0_0/author_see.html
r24316 r27709 23 23 <div class="surlignable"> 24 24 <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})] 26 26 </h1> 27 27 </div> … … 69 69 70 70 [(#REM) Menu de navigation par rubriques ] 71 <INCLURE{fond=inc-rubriques}{id_rubrique} >71 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 72 72 73 73 -
_plugins_/_dev_/spip-pmb/2_0_0/coll_see.html
r24315 r27709 24 24 <div class="surlignable"> 25 25 <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})] 27 27 </h1> 28 28 … … 40 40 41 41 [(#COMPTEUR_BOUCLE|=={2}|?{' ',''}) 42 <h2><: pmb:ouvrages:></h2><ul>42 <h2><:ouvrages:></h2><ul> 43 43 ] 44 44 [(#COMPTEUR_BOUCLE|>{1}|?{' ',''}) … … 50 50 51 51 [<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> 53 53 54 54 </li> … … 75 75 76 76 [(#REM) Menu de navigation par rubriques ] 77 <INCLURE{fond=inc-rubriques}{id_rubrique} >77 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 78 78 79 79 -
_plugins_/_dev_/spip-pmb/2_0_0/forum.html
r24016 r27709 64 64 65 65 <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> 67 67 </div> 68 68 … … 113 113 114 114 [(#REM) Menu de navigation par rubriques ] 115 <INCLURE{fond=inc-rubriques} >115 <INCLURE{fond=inc-rubriques}{env}> 116 116 117 117 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/habillage.css
r25441 r27709 2 2 /* Feuille de style des squelettes par defaut pour SPIP 2.0 */ 3 3 /* --------------------------------------------------------- */ 4 5 6 4 /* ------------------------------------------ 7 5 /* Typographie generale (style transversaux) 8 6 /* ------------------------------------------ */ 9 7 html { 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 8 body { font-size: 0.75em; font-family: Verdana, Helvetica, sans-serif; color: #000; } 12 9 /* Titraille / Intertitres */ 13 10 h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; font-weight: normal; font-size: 1em; font-family: Georgia, Times, serif; } … … 17 14 h3 { font-size: 1.30em; font-weight: bold; } 18 15 h3.spip { text-align: left; text-transform: uppercase; color: #67741F; } /*Cf.: spip_style.css*/ 19 20 16 /* Divers */ 21 17 hr.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*/ 22 18 abbr, acronym { border-bottom: 1px dotted; cursor: help; } 23 small { font-size: 0.90em; color: #666; } 24 19 small { font-size: 0.9em; color: #666; } 25 20 /* Listes SPIP */ 26 21 ul.spip {} /*Cf.: spip_style.css*/ 27 22 ol.spip {} /*Cf.: spip_style.css*/ 28 23 li.spip {} /*Cf.: spip_style.css*/ 29 30 24 /* Citations, code et poesie */ 31 25 blockquote.spip {} /*Cf.: spip_style.css*/ … … 33 27 .spip_code {} /*Cf.: spip_style.css*/ 34 28 .spip_cadre {} /*Cf.: spip_style.css*/ 35 36 29 /* Tableaux */ 37 30 table.spip { border: none; width: 100%; } /*Cf.: spip_style.css*/ … … 40 33 #page table.spip tr.row_first { background: #999966; color: white; } 41 34 #page table.spip tr.row_odd { background: none; } 42 43 35 /* Logos, documents et images */ 44 36 .spip_logos { float: left; } /*Cf.: spip_style.css*/ … … 49 41 .spip_doc_titre {} /*Cf.: spip_style.css*/ 50 42 .spip_doc_descriptif {} /*Cf.: spip_style.css*/ 51 52 53 43 /* ------------------------------------------ 54 44 /* Disposition a l'ecran des blocs principaux 55 45 /* ------------------------------------------ */ 56 46 body { background: white; margin: 0; padding: 0; text-align: center; } 57 58 47 #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 60 48 #top { position: absolute; margin: 0; padding: 0; top: 0; left: 0; width: 950px; height: 11.5em; margin-bottom: 10px; background: white; } 61 49 #top a img.spip_logos { vertical-align: bottom; line-height: 1em; margin-top: 1.9em; margin-left: 2em; } 62 50 #top #nom_site_spip { font-size: 2.2em; font-family: Georgia, Times, serif; margin-left: .5em; display: none; } 63 64 51 #formulaire_recherche .choix-recherche { display: block;; padding-left: .5em; margin-bottom: .5em; } 65 52 #formulaire_recherche .champ-recherche { } … … 71 58 #formulaire_recherche .recherche-avancee { float: right; padding-right: .5em; } 72 59 #formulaire_recherche .recherche-avancee a { color: white; font-size: .8em; } 73 74 75 60 #conteneur { margin-top: 0; padding-bottom: 1em; clear: both; float: left; width: 727px; overflow: hidden; } 76 61 #contenu { padding-top: 13.5em; padding-left: 1.5em; } 77 62 .logo-fond { position: absolute; bottom: 1.99em; left: 0; } 78 79 80 63 #navigation { position: relative; width: 220px; margin-top: .5em; overflow: hidden; background-image: url(bordure-gris.gif); background-repeat: repeat-y; background-position: top left; } 81 64 #extra { float: right; clear: right; width: 30%; margin-top: 1em; overflow: hidden; } 82 83 65 #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; } 84 66 #pied a {color: #000; } 85 67 #pied img { vertical-align: middle; } 86 87 68 /* Espaceur de blocs */ 88 69 .nettoyeur { clear: both; height: 0; margin: 0; padding: 0; border: 0; line-height: 1px; font-size: 1px; } 89 90 70 /* Non visible a l'ecran */ 91 71 .invisible { position: absolute; top: -3000em; height: 1%; } 92 93 94 72 /* ------------------------------------------ 95 73 /* Habillage des elements du contenu 96 74 /* ------------------------------------------ */ 97 98 75 #hierarchie { clear: both; margin-bottom: 2em; font-size: 0.90em; } 99 76 #hierarchie, #hierarchie a { color: #999966; } 100 77 #hierarchie .on { font-weight: normal; } 101 102 78 .cartouche { margin-bottom: 2em; } 103 79 .page_nouveautes .cartouche, .page_actualites .cartouche, .page_editeur .cartouche {margin-bottom: 0; } … … 107 83 .page_recherche h1 { font-size: 1.7em; } 108 84 .cartouche div.socialtags { clear: none; float: right; margin-top: 1em; margin-bottom: 1em; } 109 110 111 85 .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; } 114 89 .cartouche .traductions { font-size: 0.90em; } 115 116 90 .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; } 118 92 .page_ouvrage .surlignable p small { text-align: left; margin-left: 1em; } 119 93 .surlignable p small a { color: #999966; text-decoration: none;} 120 94 .surlignable p small a:hover { color: #336666; text-decoration: none;} 121 122 95 .pmb-ouvrage-infos { color: #336666; } 123 96 .pmb-ouvrage-infos p { margin-top: .2em; margin-bottom: .2em; } 124 97 .pmb-ouvrage-infos a { color: #336666; text-decoration: none; border-bottom: 1px dotted #336666; } 125 98 .pmb-ouvrage-infos a:hover { color: #336666; text-decoration: none; border-bottom: 1px solid #336666; } 126 127 99 .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; } 134 105 .hyperlien { display: block; margin-left: 150px; font-weight: bold; color: #999966; } 135 106 .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; } 137 108 .notes { margin-left: 150px; clear: both; font-size: 0.90em; } 138 139 109 /* elements pmb */ 140 110 .pmb-reserver, .pmb-rajoutertag, .pmb-consulter { margin-left: 150px; padding-top: .5em; padding-bottom: 0; } 141 111 .pmb-reserver { padding-top: 1em; } 142 143 112 abbr.published { border: 0; } 144 145 113 /* Portfolio */ 146 114 #documents_portfolio { clear: both; margin-left: 150px; margin-top: 2em; text-align: center; } … … 150 118 #document_actif { margin: 1em auto; margin-left: 150px; } 151 119 #document_actif img { padding: 4px; border: 1px solid #DDD; } 152 153 154 120 /* style de la plupart des h2 */ 155 121 #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 158 122 /* Habillage des forums 159 123 ---------------------------------------------- */ 160 124 .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; } 163 126 .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; } 164 127 .total-forum a { color: #333300; } 165 166 128 /* * Habillage des forums */ 167 129 ul.forum { display: block; clear: both; float: right; margin: 0; padding: 0; width: 80%; } … … 174 136 .forum-texte .hyperlien {} 175 137 .forum-texte .repondre { margin: 0; padding: 0.10em 0; text-align: right; } 176 177 138 /* Boite d'un forum : eclaircissement progressif des bords */ 178 139 ul .forum-message { margin: 0; padding: 0; margin-bottom: 1em; } 179 180 181 140 /* Boite de titre d'un forum : mise en couleur selon la profondeur du forum */ 182 141 ul .forum-chapo { border: 0; margin: 0; padding: 3px 6px 2px 6px; } 183 184 185 186 142 /* Habillage des petitions 187 143 ---------------------------------------------- */ … … 196 152 #signatures .formulaire_recherche { margin: 1em 0; text-align: right; } /*Cf.: spip_formulaires.css*/ 197 153 #signatures .formulaire_recherche input.text { width: 10em; text-align: left; } /*Cf.: spip_formulaires.css*/ 198 199 200 154 /* ------------------------------------------ 201 155 /* Sous-navigation et autres menus 202 156 /* ------------------------------------------ */ 203 204 157 /* Habillage general des menus de navigation */ 205 158 .menu { clear: both; margin-bottom: .5em; text-align: left; } 206 159 .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; } 208 161 .menu ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #DDD; } 209 162 .menu ul li { margin: 0.20em 0; padding: 0.20em; border-top: 1px solid #DDD; } 210 163 .menu ul li ul { margin-left: 1em; border: 0; } 211 164 .menu ul li li { padding: 0; border: 0; } 212 213 214 165 /* Pagination */ 215 166 .pagination { clear: both; text-align: right; font-size: 0.90em; color: #ccc; } … … 217 168 .pagination a { background: #999966; color: white; } 218 169 .pagination a:hover { background: white; color: #999966; text-decoration: none; } 219 220 170 /* Rubriques */ 221 171 .rubriques { background: #67741f; padding-bottom: 1em; } 222 172 .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; } 225 175 .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; } 227 177 .rubriques ul li a { color: white; } 228 178 .rubriques ul li a:hover { text-decoration: underline; } 229 179 .rubriques ul li li { padding-right: 1em; } 230 180 .rubriques ul li li li { padding-right: 0; padding-left: 1em; font-size: 1.1em; } 231 232 181 /* Recherche */ 233 182 .recherche { background: #333300; padding-bottom: 0; } … … 236 185 .recherche .formulaire_recherche input.text { width: 9em; margin-left: .5em;} 237 186 .recherche .formulaire_recherche input.submit { background: white; color: #333300; text-transform: uppercase; padding: 0; font-weight: bold; } 238 239 187 /*menu de rubriques principales*/ 240 188 .principal { position: absolute; width: 100%; bottom: 0; left: 0; background: #E6E8D5; margin-bottom: 0;} … … 243 191 .principal ul li a { display: block; padding: .3em; background: white; } 244 192 .principal ul li a:hover { color: white; background: #999966; text-decoration: none; } 245 246 193 /* Listes d'articles et extraits introductifs */ 247 194 .articles { position: relative; padding: 0; } … … 251 198 .articles ul { border: none; margin-bottom: 1em; } 252 199 .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; } 256 204 .articles .premier .spip_logos { margin-left: 0; } 257 205 .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; } 259 207 .articles h2 { display: inline; color: #333300; font-size: 2.5em; font-weight: normal; font-family: Georgia, serif; font-size: 2.4em; } 260 208 .articles ul li small { color: #336666; font-style: italic; } … … 262 210 .articles .lire-la-suite:hover { text-decoration: underline; } 263 211 .page_rubrique .articles { margin-left: 150px; } 264 265 212 /* liste d'ouvrages pmb */ 266 213 .ouvrages { margin-left: 150px; clear: none; } 267 214 .page_auteur_pmb .ouvrages { margin-left: 150px; } 268 215 .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 */ 271 217 .collections ul li { text-transform: uppercase; font-size: .85em; } 272 218 .collections ul li a { color: #336666; } 273 219 .page_editeur .spip_logos { margin-left: 0; } 274 275 /* sites référencés */ 220 /* sites rᅵfᅵrencᅵs */ 276 221 .web { float: right; clear: right; width: 35%; margin-top: 3em; margin-bottom: 2em; color: #333300; } 277 222 .web h2 { font-family: Arial, sans-serif; text-transform: uppercase; font-size: .9em; } 278 223 .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; } 280 225 .web ul li li { font-size: 1em; } 281 226 .web ul li a { color: #333300; border-bottom: 1px dotted #333300; padding-right: 0; background-image: none; } 282 227 .web ul li a:hover { color: #333333; text-decoration: none; border-bottom: 1px solid #333300; } 283 284 228 /* page d'accueil */ 285 229 .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; } 287 231 .page_sommaire .articles ul li.premier { background-image: none; } 288 232 .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; } 290 234 .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; } 291 235 .page_sommaire .articles ul li .logo_encart { margin-bottom: 1em; } 292 293 236 .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 */ 297 239 .page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-1 { width: 33%; } 298 240 .page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-2 { width: 32%; } 299 241 .page_sommaire .articles .mise-en-page-logo-logo-logo li.encart-3 { width: 33%; } 300 301 242 /* cas 2 : un seul a un logo */ 302 243 .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%; } 303 244 .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 305 245 /* cas 3 : logo,sans,logo */ 306 246 .page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-1 { width: 38%; } 307 247 .page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-2 { width: 22%; } 308 248 .page_sommaire .articles .mise-en-page-logo-sans-logo li.encart-3 { width: 38%; } 309 310 311 249 /* cas 4 : logo,logo et sans */ 312 250 .page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-1 { width: 38%; } 313 251 .page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-2 { width: 38%; } 314 252 .page_sommaire .articles .mise-en-page-logo-logo-sans li.encart-3 { width: 22%; } 315 316 253 /* cas 5 : sans,logo,logo */ 317 254 .page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-1 { width: 22%; } 318 255 .page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-2 { width: 38%; } 319 256 .page_sommaire .articles .mise-en-page-sans-logo-logo li.encart-3 { width: 38%; } 320 321 257 /* cas 6 : sans,sans,sans */ 322 258 .page_sommaire .articles .mise-en-page-sans-sans-sans li { width: 33%; } 323 324 325 259 /* page rubrique */ 326 260 .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; } 328 262 .page_rubrique .articles .lire-la-suite { margin-right: 2em; } 329 263 .page_rubrique .articles ul li small { display: block; } 330 331 264 /* page auteur */ 332 265 .page_auteur .articles .spip_logos { margin-left: 0; } … … 334 267 .page_auteur .articles .lire-la-suite { margin-right: 2em; } 335 268 .page_auteur .articles ul li small { display: block; } 336 337 /* docs multimédias */ 269 /* docs multimᅵdias */ 338 270 .multimedia { background: #99ac2d; } 339 271 .multimedia h2 { color: white; padding: .5em; background-image: url(bordure-vert-clair.gif); background-repeat: repeat-x; background-position: bottom left; } … … 345 277 .multimedia .radiobox .playliste_pagination { border: none; color: white; padding: .5em;} 346 278 .multimedia .radiobox .playliste_pagination a { color: white; } 347 348 279 /* autres articles */ 349 280 .autres-articles { background: #99ac2d; } … … 351 282 .autres-articles h2 a { color: white; } 352 283 .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 } 354 285 .autres-articles .pagination, .autres-articles .pagination a { color: white; } 355 356 357 286 /* auteurs */ 358 287 .auteurs { background: #99ac2d; } … … 362 291 .auteurs ul li a { color: white; } 363 292 .auteurs .pagination, .autres-articles .pagination a { color: white; } 364 365 366 293 /* newsletter */ 367 294 .forums { background: #99AC2D; } 368 295 .forums h2 { color: white; padding: .5em; background-image: url(bordure-vert-tresclair.gif); background-repeat: repeat-x; background-position: bottom left; } 369 296 .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; } 371 298 .forums ul li a { color: white; } 372 299 .forums ul li a:hover { color: white; text-decoration: underline; } 373 374 300 /* 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; } 376 302 #documents_joints h2 { color: #333300; } 377 303 #documents_joints ul { border: none; } 378 304 #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;} 381 306 /* sous-rubriques */ 382 307 .sous-rubriques { float: left; clear: left; width: 130px; border-right: 1px dotted #666; margin-top: 2em; } … … 384 309 .sous-rubriques ul li { border: none; } 385 310 .sous-rubriques h2 { color: #333300; display: none;} 386 387 311 /*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; } 393 313 #navigation .menu { margin-right: 10px; margin-left: 15px; } 394 395 314 /* Couleurs des liens 396 315 ---------------------------------------------- */ 397 a { color: # 333300; text-decoration: none; }316 a { color: #000000; text-decoration: none; } 398 317 a:hover { color: #333300; text-decoration: underline; } 399 400 318 a.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; } 401 319 a.spip_out:hover { border-bottom: 1px solid #336666; } … … 416 334 border-bottom: 1px solid #336666; 417 335 } 418 419 336 /* ------------------------------------------ 420 337 /* Autres supports 421 338 /* ------------------------------------------ */ 422 423 339 /*page plan*/ 424 340 .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; } 425 341 .page_plan .cartouche h1 { background-image: none; } 426 427 428 342 /* Affichage pour les petits ecrans (type 400 x 300) */ 429 343 @media handheld, only screen and (max-device-width: 481px), only and (max-device-width: 400px), only and (max-width: 400px) { 430 344 div#page, div#conteneur, div#navigation, div#extra { width: auto; } 431 345 } 432 433 434 346 /* surcharges formulaires */ 435 347 #page .formulaire_spip { background: none; background-image: url(bordure-gris.gif); background-repeat: repeat-x; background-position: top left; } … … 437 349 #page .formulaire_spip p.boutons input, #page input.submit { background-color: #333300; border-color: #333300; } 438 350 #page .formulaire_recherche .boutons input, #page .formulaire_recherche input.submit { background-color: white; border-color: #333300; } 439 440 441 351 .fond-blanc { dispaly: none; } 442 443 352 .navbar { clear: right; float: right; margin-right: 2em; margin-bottom: 2em; color: #666; } 444 353 .navbar .numero_page { background: none; } 445 354 .navbar img { vertical-align: middle; } 446 447 355 #search { margin-bottom: 2em; background: #999966; color: white; padding: .5em; } 448 449 356 .pmb-toolbox { margin-left: 150px; margin-bottom: 2em; } 450 357 .pmb-toolbox ul { margin-left: .5em; list-style: none; padding-left: 0; } 451 358 .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 453 359 .pmb-autreslecteurs tr.surbrillance { background: #999966; color: white; } 454 360 .pmb-autreslecteurs tr.even { background: #D8DAC8; } 455 361 .pmb-autreslecteurs tr.odd { background: none; } 456 457 362 .pmb-exemplaires th { background: #999966; color: white; font-weight: normal; } 458 363 .pmb-exemplaires .expl_situation strong { color: #67741F; font-weight: normal; } 459 460 364 #page .formulaire_moncomptepmb { width: 277px; position: absolute; right: 220px; top: 50px; background: none; margin-bottom: 0; padding: 0; } 461 365 #page .fonctionnement { display: none; } 462 463 366 #page .formulaire_moncomptepmb ul li { font-size: .8em; padding-bottom: 0; float: left; clear: left; width: 100%; } 464 367 #page .formulaire_moncomptepmb ul li.boutons { clear: none; position: absolute; right: 0; bottom: 0; width: auto; } … … 470 373 #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%; } 471 374 #page .formulaire_moncomptepmb fieldset legend { display: none; } 472 473 375 /*innerfade*/ 474 376 #image-haut { height: 150px; overflow: hidden; } … … 476 378 #image-haut ul li { border: none; padding: 0; margin: 0; } 477 379 #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 6 6 <h2 class="invisible"><:articles_rubrique:></h2> 7 7 <ul> 8 <BOUCLE_articles(ARTICLES) { par date}{inverse} {pagination}>8 <BOUCLE_articles(ARTICLES) {titre_mot=actualite} {par date}{inverse} {pagination}> 9 9 <li> 10 10 [(#LOGO_ARTICLE|#URL_ARTICLE|image_reduire{120,140})] -
_plugins_/_dev_/spip-pmb/2_0_0/inc-rubriques.html
r25399 r27709 58 58 <div class="menu multimedia"> 59 59 <h2>[(#TITRE)] <a href="#URL_RUBRIQUE">[<:pmb:en_savoir_plus:>]</a></h2> 60 [(#MODELE{playliste}{site} {ajax})]60 [(#MODELE{playliste}{site})] 61 61 </div> 62 62 </BOUCLE_rubriquesconferences> -
_plugins_/_dev_/spip-pmb/2_0_0/lang/local_fr.php
r24158 r27709 12 12 'toutes_nouveautes' => 'toutes les nouveautés', 13 13 'auteur' => 'Auteur', 14 'tous_coupsdecoeur' => 'tous les coups de cœurs',15 14 'serie' => 'Série', 16 15 'type' => 'Type', -
_plugins_/_dev_/spip-pmb/2_0_0/lang/pmb_fr.php
r25399 r27709 20 20 'toutes_nouveautes' => 'toutes les nouveautés', 21 21 'auteur' => 'Auteur', 22 'tous_coupsdecoeur' => 'tou s les coups de cœurs',22 'tous_coupsdecoeur' => 'toutes les critiques', 23 23 'serie' => 'Série', 24 24 'type' => 'Type', -
_plugins_/_dev_/spip-pmb/2_0_0/more_results.html
r24023 r27709 62 62 63 63 [(#REM) Menu de navigation par rubriques ] 64 <INCLURE{fond=inc-rubriques}{id_rubrique} >64 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 65 65 66 66 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/notice_display.html
r25075 r27709 31 31 <div class="cartouche"> 32 32 <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> 34 34 <div class="socialtags"> 35 35 <ul> … … 120 120 121 121 [(#REM) Menu de navigation par rubriques ] 122 <INCLURE{fond=inc-rubriques}{id_rubrique} >122 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 123 123 124 124 -
_plugins_/_dev_/spip-pmb/2_0_0/nouveautes.html
r24073 r27709 22 22 23 23 <div class="cartouche"> 24 <h1> <:nouveautes:></h1>24 <h1>[(#REM|?{'',<:nouveautes:>}|image_typo{police=togase.ttf,taille=30,couleur=333300,largeur=600})]</h1> 25 25 </div> 26 26 … … 40 40 41 41 [(#REM) Menu de navigation par rubriques ] 42 <INCLURE{fond=inc-rubriques}{id_rubrique} >42 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 43 43 44 44 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/plan.html
r24016 r27709 80 80 81 81 [(#REM) Menu de navigation par rubriques ] 82 <INCLURE{fond=inc-rubriques} >82 <INCLURE{fond=inc-rubriques}{env}> 83 83 84 84 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/plugin.xml
r25251 r27709 45 45 <necessite id="CFG" version="[1.0;]" /> 46 46 <necessite id="spip_bonux" version="[1.2;]" /> 47 <necessite id='spip' version='[2.0.0 ;]' />47 <necessite id='spip' version='[2.0.0 dev;]' /> 48 48 49 49 </plugin> -
_plugins_/_dev_/spip-pmb/2_0_0/pmb_mes_fonctions.php
r25075 r27709 84 84 $tableau_resultat[0]['titre_serie'] = $htmldom->find('#aut_see h3',0)->innertext; 85 85 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]); 92 92 $i++; 93 93 } … … 107 107 $tableau_resultat[0]['collections_infos'] = $htmldom->find('#aut_see ul',0)->outertext; 108 108 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]); 115 115 $i++; 116 116 } … … 135 135 } 136 136 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]); 143 143 $i++; 144 144 } … … 157 157 $tableau_resultat[0]['titre_auteur'] = $htmldom->find('#aut_see h3',0)->innertext; 158 158 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]); 165 165 $i++; 166 166 } … … 190 190 if ($htmldom = pmb_charger_page($url_base, $url_page,$mode)) { 191 191 $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 } 206 function 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'); 217 210 foreach($tablechamps as $tr) { 218 211 $libelle = htmlentities($tr->find('td',0)->innertext); … … 226 219 else if (strpos($libelle, 'Collection')) $tresultat['collection'] = $valeur; 227 220 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; 229 222 else if (strpos($libelle, 'Format')) $tresultat['format'] = $valeur; 230 223 else if (strpos($libelle, 'Importance')) $tresultat['importance'] = $valeur; … … 237 230 } 238 231 232 233 234 //dᅵcoupage d'une notice au dᅵpart dans un div de class .parent 235 function 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 239 265 // retourne un tableau associatif contenant tous les champs d'une notice 240 266 function pmb_notice_extraire ($id_notice, $url_base, $mode='auto') { 241 267 $tableau_resultat = Array(); 242 268 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); 244 270 } 245 271 return $tableau_resultat; -
_plugins_/_dev_/spip-pmb/2_0_0/publisher_see.html
r24316 r27709 24 24 <div class="surlignable"> 25 25 <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})] 27 27 </h1> 28 28 </div> … … 90 90 91 91 [(#REM) Menu de navigation par rubriques ] 92 <INCLURE{fond=inc-rubriques}{id_rubrique} >92 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 93 93 94 94 -
_plugins_/_dev_/spip-pmb/2_0_0/recherche.html
r24152 r27709 20 20 <div id="hierarchie"><a href="#URL_SITE_SPIP/"><:accueil_site:></a> > <:info_rechercher:>[ > <strong class="on">(#RECHERCHE)</strong>]</div> 21 21 [<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> 23 23 <p class="soustitre">« (#RECHERCHE) »</p> 24 24 </div>] … … 40 40 41 41 [(#REM) Menu de navigation par rubriques ] 42 <INCLURE{fond=inc-rubriques}{id_rubrique} >42 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 43 43 44 44 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/rubrique.html
r25441 r27709 30 30 31 31 <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> 33 33 </div> 34 34 … … 115 115 116 116 [(#REM) Menu de navigation par rubriques ] 117 <INCLURE{fond=inc-rubriques}{id_rubrique} >117 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 118 118 119 119 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/serie_see.html
r24153 r27709 24 24 <div class="surlignable"> 25 25 <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})] 27 27 </h1> 28 28 </div> … … 70 70 71 71 [(#REM) Menu de navigation par rubriques ] 72 <INCLURE{fond=inc-rubriques}{id_rubrique} >72 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 73 73 74 74 -
_plugins_/_dev_/spip-pmb/2_0_0/site.html
r24324 r27709 100 100 101 101 [(#REM) Menu de navigation par rubriques ] 102 <INCLURE{fond=inc-rubriques}{id_rubrique} >102 <INCLURE{fond=inc-rubriques}{id_rubrique}{env}> 103 103 104 104 </div><!--#navigation--> -
_plugins_/_dev_/spip-pmb/2_0_0/sommaire.html
r25399 r27709 29 29 <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> 30 30 [(#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>"> 32 32 33 [(#REM) Encarts Actualit és ]33 [(#REM) Encarts Actualités ] 34 34 <BOUCLE_articles_recents(ARTICLES) {id_rubrique!=34}{titre_mot=actualite}{par date}{inverse}{0,3}{doublons} > 35 35 <li class="hentry[ (#COMPTEUR_BOUCLE|=={1}|?{'premier',''})][ encart-(#COMPTEUR_BOUCLE)][ (#LOGO_ARTICLE||?{'avec-logo','sans-logo'})]"> 36 36 [<div class="logo-encart">(#LOGO_ARTICLE|#URL_ARTICLE|image_reduire{0,130}|image_recadre{90,130,center})</div>] 37 [<p class="surtitre">(#SURTITRE)</p>] 37 38 <h3 class="entry-title"><a href="#URL_ARTICLE" rel="bookmark">[(#TITRE|couper{30,'...'})]</a></h3> 38 39 <small class="invisible"><abbr class="published"[ title="(#DATE|date_iso)"]>[(#DATE|affdate_jourcourt)]</abbr></small> 39 40 <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>] 41 42 <a class="lire-la-suite" title="[(#TITRE|texte_backend)]" href="#URL_ARTICLE"><:lire_la_suite:> +</a> 42 43 </li> … … 53 54 <ul> 54 55 <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'})]})] 56 57 <li class="hentry[ (#COMPTEUR_BOUCLE|=={1}|?{'premier',''})]"> 57 58 58 59 <div class="logo-encart"><a href="#URL_PAGE{notice_display,id=#PMB_ID_NOTICE&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})] 60 61 </a></div> 61 <h3 class="entry-title"><a href="#URL_PAGE{notice_display,id=#PMB_ID_NOTICE&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&seule=1}"[ title="(#NOM_SITE|texte_backend)"]>[(#GET{notice}|pmb_notice_champ{'titre'}|couper{30,'...'})]</a></h3> 62 63 [<small>(#GET{notice}|pmb_notice_champ{'lesauteurs'})</small>] 63 64 [<small> <:serie:> : (#GET{notice}|pmb_notice_champ{'serie'})</small>] … … 77 78 <B_articles_coupsdecoeur> 78 79 <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> 80 81 <ul class="mise-en-page<BOUCLE_testlogoscoupscoeur(ARTICLES) {id_rubrique} {par date}{inverse}{0,3} >[(#LOGO_ARTICLE||?{'-logo','-sans'})]</BOUCLE_testlogoscoupscoeur>"> 81 82 [(#REM) Encarts Coups de coeur ] … … 118 119 119 120 [(#REM) Menu de navigation par rubriques ] 120 <INCLURE{fond=inc-rubriques} >121 <INCLURE{fond=inc-rubriques}{env}> 121 122 122 123
