Changeset 32841
- Timestamp:
- 12.11.2009 01:08:38 (3 months ago)
- Location:
- _galaxie_/programmer.spip.org/plugin_documentation
- Files:
-
- 1 added
- 6 modified
-
contenu/page-integrale.html (modified) (1 diff)
-
documentation_options.php (modified) (1 diff)
-
habillage.css (modified) (1 diff)
-
images/presentation.png (added)
-
impression.css (modified) (5 diffs)
-
inclure/couverture.html (modified) (1 diff)
-
plugin.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
_galaxie_/programmer.spip.org/plugin_documentation/contenu/page-integrale.html
r31890 r32841 12 12 [(#ENV{pas_de_couverture}|et{[(#ENV{id_rubrique}|non)]}) 13 13 <div class="presentation"> 14 [<div class="image">(#CHEMIN{images/presentation.png} 15 |image_reduire{500,400}|image_sepia{#ENV{couleur}})</div>] 14 16 [<div class="chapo[ (#EDIT_CONFIG{meta::descriptif_site})]">(#DESCRIPTIF_SITE_SPIP)</div>] 15 17 </div> -
_galaxie_/programmer.spip.org/plugin_documentation/documentation_options.php
r32815 r32841 28 28 include_spip('inc/lang'); 29 29 $langues = explode(',', $GLOBALS['meta']['langues_multilingue']); 30 // si la langue est definie dans l'url (en/ ou fr/) on l'utilise 31 if (preg_match(',^' . $GLOBALS['meta']['adresse_site'] . '/(' . join('|',$langues) . ')/,', 'http://' . $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], $r)) { 32 $langue = $r[1]; 33 changer_langue($langue); 34 } else { 35 $langue = utiliser_langue_visiteur(); 36 if (!in_array($langue, $langues)) { 37 $langue = $GLOBALS['meta']['langue_site']; 38 } 30 $langue = utiliser_langue_visiteur(); 31 if (!in_array($langue, $langues)) { 32 $langue = $GLOBALS['meta']['langue_site']; 39 33 } 40 34 set_request('lang', $langue); -
_galaxie_/programmer.spip.org/plugin_documentation/habillage.css
r32815 r32841 647 647 #posts .integrale .couverture_chapitre .image {padding:2em 1em 1em;} 648 648 649 posts .integrale .presentation .chapo {margin:4em 0em; padding:1em 2em;} 649 #posts .integrale .presentation .chapo {margin:4em 0em; padding:1em 2em;} 650 #posts .integrale .presentation {padding-top: 6cm; } 650 651 651 652 #posts .integrale .spip_code { font-style:inherit;} -
_galaxie_/programmer.spip.org/plugin_documentation/impression.css
r32810 r32841 45 45 .integrale .page_vide {page:presentation; page-break-before:always;} 46 46 47 .integrale .rubrique > h1{page-break-before:always;}48 .integrale .rubrique .rubrique > h1{page-break-before:auto;}47 .integrale .rubrique {page-break-before:always;} 48 .integrale .rubrique .rubrique {page-break-before:auto;} 49 49 50 50 … … 70 70 71 71 /* assign values to header/footer strings */ 72 .integrale .chapitre > h1 { string-set: chapter content(); } 72 .integrale .chapitre > h1 { string-set: chapter "# " content(); font-family:bolonewt;} 73 .integrale h1#tdm, 74 .integrale h1#index { string-set: chapter "# " content();} 73 75 74 76 .integrale .couverture .pied { string-set: couverturepied content(); position:relative; left:-3000em; } … … 77 79 @page { 78 80 size: A4 portrait; 79 border-bottom:1px solid #ddd;81 80 82 padding:0 0 .5cm; 81 margin:2cm 3cm; 82 @bottom-left { 83 content: string(chapter); 84 vertical-align:top; 85 color:#888; 86 padding-left:40px; background:url(images/pied_icone.png) no-repeat left top; 87 padding-bottom:8px; 88 } 89 @bottom-right { 83 margin:1.5cm 3cm 1cm; 84 @top-left { 85 content:""; 86 color:#aaa; 87 font-size:140%; 88 font-weight:bold; 89 font-family:bolonewt; 90 padding:5px; 91 margin-left:-2cm; 92 } 93 @bottom-center { 94 padding:5px; 95 font-size:120%; 96 font-weight:bold; 97 font-family:bolonewt; 98 /*border-top:1px solid #888;*/ 99 margin:0 7cm; 90 100 content: counter(page); 91 101 vertical-align:top; … … 93 103 } 94 104 } 105 106 @page:left { 107 @top-left {content: string(chapter);} 108 } 109 95 110 @page couverture { 96 111 border:3px solid #ddd; 97 padding:2cm .2em 1em; 98 margin:4cm 3cm; 99 @bottom-left { 100 content: ""; 101 background:none; 102 } 103 @bottom-right { 112 padding:4cm .2em 1em; 113 margin:3cm 3cm; 114 @top-left {content:"";} 115 @bottom-center { 116 border:none; 117 margin:0; 104 118 content: string(couverturepied); 119 font-size:100%; 120 text-align:right; 105 121 } 106 122 } … … 109 125 border:3px solid #ddd; 110 126 padding:1cm; 111 margin:4cm 3cm; 112 @bottom-left { 113 content: ""; 114 background:none; 115 } 116 @bottom-right { 117 content: ""; 127 margin:3cm 3cm; 128 /*margin:4cm 3cm;*/ 129 @bottom-center { 130 margin-top:2cm; 118 131 } 132 } 133 @page chapitre:left { 134 @top-left {content: "";} 135 @bottom-center {content: "";} 119 136 } 120 137 121 138 @page presentation { 122 139 padding:0 0 .5cm; 123 margin:2cm 3cm; 124 border:none; 125 @bottom-left { 126 content: ""; 127 background:none; 128 } 129 @bottom-right { 130 content: ""; 140 @bottom-center { 141 content:""; 142 border:none; 131 143 } 132 144 } -
_galaxie_/programmer.spip.org/plugin_documentation/inclure/couverture.html
r31619 r32841 22 22 23 23 <div class="presentation"> 24 [<div class="image">(#CHEMIN{images/presentation.png} 25 |image_reduire{500,400}|image_sepia{#ENV{couleur}})</div>] 24 26 [<div class="chapo[ (#EDIT_CONFIG{meta::descriptif_site})]">(#DESCRIPTIF_SITE_SPIP)</div>] 25 27 </div> -
_galaxie_/programmer.spip.org/plugin_documentation/plugin.xml
r32815 r32841 5 5 6 6 <lien></lien> 7 <version>1.4. 5</version>7 <version>1.4.6</version> 8 8 <version_base>1.0.2</version_base> 9 9
