Changeset 60958 in spip-zone
- Timestamp:
- May 5, 2012, 11:58:27 AM (9 years ago)
- Location:
- _plugins_/popup/spipopup_spip3
- Files:
-
- 12 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/popup/spipopup_spip3/lang/spipopup_fr.php
r54138 r60958 22 22 'titre_popup_comment' => 'Vous pourrez par la suite utiliser ce nom pour la désigner dans vos scripts ("window.popup").', 23 23 'options_popup' => 'Options JavaScript passées à la nouvelle fenêtre', 24 'options_popup_comment' => 'Indiquez ici un tableau d\'options qui seront passées à la nouvelle fenêtre sous la forme d\'un tableau du genre : "variable1: valeur1, variable2: valeur2, ..." ',24 'options_popup_comment' => 'Indiquez ici un tableau d\'options qui seront passées à la nouvelle fenêtre sous la forme d\'un tableau du genre : "variable1: valeur1, variable2: valeur2, ..." ({ex.: "location: 0, scrollbars: 1"}).', 25 25 26 26 // Popup -
_plugins_/popup/spipopup_spip3/modeles/popup_img.html
r46503 r60958 1 1 [(#REM) 2 3 2 modele pour les documents SPIP 3 indiquer : 4 4 5 <popup_img 6 |doc=le numero du document (necessaire) 7 |lien=objet SPIP pour le lien (necessaire) 8 |skel=squelette (option) 9 |width=XX (option) 10 |height=XX (option) 11 |titre=mon titre (option) 12 > 5 <popup_img 6 |doc=le numero du document (necessaire) 7 |lien=objet SPIP pour le lien (necessaire) 8 |skel=squelette (option) 9 |width=XX (option) 10 |height=XX (option) 11 |titre=mon titre (option) 12 |options=liste d'options (option - type 'variable:valeur,...') 13 > 13 14 14 15 ] 15 16 <BOUCLE_popup_img (DOCUMENTS types_documents) {id_document=#ENV{doc}} {tout}> 16 17 [(#ENV{lien}|=={''}|non)[(#ENV{doc}|=={''}|non) 17 <a href="#POPUP{#ENV{lien},#ENV{skel,''},#ENV{width,''},#ENV{height,''},#ENV{titre,''} }">18 <a href="#POPUP{#ENV{lien},#ENV{skel,''},#ENV{width,''},#ENV{height,''},#ENV{titre,''},#ENV{options,''}}"> 18 19 <img src='#URL_DOCUMENT'[ width="(#LARGEUR)"][ height="(#HAUTEUR)"][ 19 20 title="(#TITRE|attribut_html)"] -
_plugins_/popup/spipopup_spip3/popup_defaut.html
r46503 r60958 1 1 #CACHE{3600} 2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> 3 [(#REM) Cf.: http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ 4 ]<!--[if lt IE 7 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie6"> <![endif]--> 5 <!--[if IE 7 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie7"> <![endif]--> 6 <!--[if IE 8 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie8"> <![endif]--> 7 <!--[if IE 9 ]> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js ie ie9"> <![endif]--> 8 <!--[if (gt IE 9)|!(IE)]><!--> <html dir="#LANG_DIR" lang="#LANG" xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js"> <!--<![endif]--> 4 9 <head> 5 10 <title>[(#NOM_SITE_SPIP|textebrut) - ]<:spipopup:popup_titre:></title> 6 11 [(#REM) 7 Head standard de la popup 12 Head standard de toutes les pages ; 13 les elements specifiques (title, description) figurent dans chaque squelette 8 14 ] 9 [(#REM) Preciser le charset ]10 15 <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" /> 11 [(#REM) Fierement fabrique avec SPIP ] 12 <meta name="generator" content="SPIP[ (#SPIP_VERSION)]" /> 13 [(#REM) Ne pas faire indexer par les robots ] 14 <meta name="robots" content="none" /> 15 [(#REM) Feuille de style par defaut pour le code genere par SPIP ] 16 [<link rel="stylesheet" href="(#CHEMIN{spip_style.css}|direction_css)" type="text/css" media="all" />] 17 [(#REM) Feuille de style par defaut pour les formulaires de SPIP ] 18 [<link rel="stylesheet" href="(#CHEMIN{spip_formulaires.css}|direction_css)" type="text/css" media="projection, screen, tv" />] 19 [(#REM) Feuille de style CSS pour l'affichage du site a l'ecran ] 20 [<link rel="stylesheet" href="(#CHEMIN{habillage.css}|direction_css)" type="text/css" media="projection, screen, tv" />] 16 17 [(#REM) Lien vers le flux RSS du site ] 18 [<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />] 19 20 [(#REM) 1. Base CSS ] 21 <meta name="viewport" content="width=device-width" /> 22 [<link rel="stylesheet" href="(#CHEMIN{css/reset.css}|direction_css)" type="text/css" />] 23 [<link rel="stylesheet" href="(#CHEMIN{css/font.css}|direction_css)" type="text/css" />] 24 [<link rel="stylesheet" href="(#CHEMIN{css/typo.css}|direction_css)" type="text/css" />] 25 [<link rel="stylesheet" href="(#CHEMIN{css/form.css}|direction_css)" type="text/css" />] 26 [<link rel="stylesheet" href="(#CHEMIN{css/spip.css}|direction_css)" type="text/css" />] 27 [<link rel="stylesheet" href="(#CHEMIN{css/clear.css}|direction_css)" type="text/css" />] 28 [<link rel="stylesheet" href="(#CHEMIN{css/grid.css}|direction_css)" type="text/css" />] 29 [<link rel="stylesheet" href="(#CHEMIN{css/layout.css}|direction_css)" type="text/css" />] 21 30 22 31 [(#REM) … … 26 35 <link rel="stylesheet" href="#URL_PAGE{popup_spip_styles}" type="text/css" media="all" /> 27 36 28 [(#REM) Balise permettant aux plugins d'inserer des appels javascript ; 29 C'est ici que SPIP va inserer l'appel de la librairie jQuery 30 Et appeler a la fin compacte_head pour agreger et compacter tout le head dans des fichiers statiques 31 si l'option est cochee dans Configuration 37 [(#REM) 2. Style des plugins ] 38 #INSERT_HEAD_CSS 39 40 [(#REM) 3. Vos feuilles de style pour l'habillage du site ] 41 [<link rel="stylesheet" href="(#CHEMIN{css/style.css}|direction_css)" type="text/css" />] 42 [<link rel="stylesheet" href="(#CHEMIN{css/perso.css}|direction_css)" type="text/css" />] 43 44 [(#REM) 45 Balise permettant aux plugins d'inserer des appels javascript ; 46 4. C'est ici que SPIP va inserer l'appel de la librairie jQuery 47 5. Et appeler a la fin compacte_head pour agreger et compacter tout le head dans des fichiers statiques si l'option est cochee dans Configuration 32 48 ] 33 49 #INSERT_HEAD 50 51 [(#REM) 6. Vos scripts ] 52 [<script src="(#CHEMIN{js/script.js})" type="text/javascript"></script>] 53 54 [(#REM) Fierement fabrique avec SPIP ] 55 <meta name="generator" content="SPIP[ (#SPIP_VERSION)]" /> 56 57 [(#REM) Favicon ] 58 [<link rel="icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" /> 59 [<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]] 34 60 </head> 35 61 <body> 36 <div id="page"> 37 <div class="header_popup" id="entete"> 38 <a rel="start home" href="javascript:_goto('#URL_SITE_SPIP/',true,true);" title="<:accueil_site:>" class="accueil">[(#LOGO_SITE_SPIP||image_reduire{150,80}) ]<strong id="nom_site_spip">#NOM_SITE_SPIP</strong></a> 62 <div class="page"> 63 64 <div class="clearfix header_popup" id="entete"> 65 <strong class="h1" id="logo"><a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">[(#LOGO_SITE_SPIP|image_reduire{40,*}) ]#NOM_SITE_SPIP</a></strong> 39 66 <div class="header_popup_right"> 40 67 <a class="popup_liens" href="javascript:window.close();" title="<:spipopup:btn_fermer_fenetre_ttl:>"><:spipopup:btn_fermer_fenetre:></a> 41 68 </div> 42 69 </div> 43 <div class="hfeed" id="conteneur"> 44 <div class="hentry" id="contenu"> 70 71 <div class="main"> 72 <div class="wrapper hfeed"> 73 <div class="content hentry" id="contenu"> 45 74 46 75 <BOUCLE_principale_article(ARTICLES) {id_article=#ENV{id_article}}> 47 76 [(#REM) Fil d'Ariane ] 48 < div id="hierarchie"><a href="javascript:_goto('#URL_SITE_SPIP/',true,true);" title="<:spipopup:retour_fenetre:>"><:accueil_site:></a><BOUCLE_ariane_article(HIERARCHIE){id_article}> > <a href="javascript:_goto('[(#URL_RUBRIQUE|url_absolue)]',true,true);" title="<:spipopup:retour_fenetre:>">[(#TITRE|couper{80})]</a></BOUCLE_ariane_article>[ > <strong class="on">(#TITRE|couper{80})</strong>]</div>77 <p class="arbo"><a href="javascript:_goto('#URL_SITE_SPIP/',true,true);" title="<:spipopup:retour_fenetre:>"><:accueil_site:></a><BOUCLE_ariane_article(HIERARCHIE){id_article}> > <a href="javascript:_goto('[(#URL_RUBRIQUE|url_absolue)]',true,true);" title="<:spipopup:retour_fenetre:>">[(#TITRE|couper{80})]</a></BOUCLE_ariane_article>[ > <strong class="on">(#TITRE|couper{80})</strong>]</p> 49 78 [(#LOGO_ARTICLE||image_reduire{100,100})] 50 79 <h1>#TITRE</h1> … … 53 82 [<div class="chapo">(#CHAPO*|popup_liens_retour|propre|image_reduire{400,400})</div>] 54 83 [<div class="texte">(#TEXTE*|popup_liens_retour|propre|image_reduire{400,400})</div>] 55 [(#INCLURE{fond=inc -documents}{id_article}{env})]84 [(#INCLURE{fond=inclure/documents}{id_article}{env})] 56 85 [<div class="ps comment"><h2 class="pas_surlignable"><:info_ps:></h2><div class="#EDIT{ps}">(#PS|popup_liens_retour|image_reduire{400,0})</div></div>] 57 86 [<div class="notes comment"><h2 class="pas_surlignable"><:info_notes:></h2>(#NOTES|popup_liens_retour)</div>] … … 143 172 <//B_principale_document> 144 173 145 </div> 146 </div> 147 <div id="footer_popup"> 174 </div><!--.content--> 175 </div><!--.wrapper--> 176 </div><!--.main--> 177 178 <div class="footer clearfix" id="footer_popup"> 148 179 <a class="popup_liens" href="javascript:window.close();" title="<:spipopup:btn_fermer_fenetre_ttl:>"><:spipopup:btn_fermer_fenetre:></a> 149 180 <a class="popup_liens" href="javascript:window.print();" title="<:spipopup:btn_imprimer_ttl:>"><:spipopup:btn_imprimer:></a> 150 <a class="popup_liens" href="# page" title="<:spipopup:btn_haut_page_ttl:>"><:spipopup:btn_haut_page:></a>181 <a class="popup_liens" href="#entete" title="<:spipopup:btn_haut_page_ttl:>"><:spipopup:btn_haut_page:></a> 151 182 </div> 152 </div> 183 184 </div><!--.page--> 153 185 </body> 154 186 </html> -
_plugins_/popup/spipopup_spip3/popup_spip_styles.html
r40951 r60958 31 31 .header_popup_right { float:right; top:0;padding: 10px 20px; } 32 32 33 /* ariane dans le pied de page */ 34 .hierarchie { font-size: 0.76em; font-weight: bold; margin-top: 4px; text-align: left;} 35 .hierarchie a { text-decoration: underline; color: #97C74A; } 33 /* ariane dans le pied de page 34 .arbo { font-size: 0.76em; font-weight: bold; margin-top: 4px; text-align: left;} 35 .arbo a { text-decoration: underline; color: #97C74A; } 36 */ 37 .arbo { display: block;} 36 38 37 39 /* petits liens */ 38 40 a.popup_liens {color:#666666; text-decoration:underline;font-size:0.76em; margin:0 5px;} 39 a.popup_liens:active, a.popup_liens:hover {color:# a71f2f; text-decoration:underline;}41 a.popup_liens:active, a.popup_liens:hover {color:#ffffff; text-decoration:underline;}
Note: See TracChangeset
for help on using the changeset viewer.