source: trunk/spip/2.1/extensions/magusine-portage2.1/squelettes/article.html @ 756

Last change on this file since 756 was 756, checked in by guillermoacedo@…, 14 years ago

se agrego la correccion de magusine para 2.1 basica

  • Property svn:executable set to *
File size: 4.0 KB
Line 
1#CACHE{24*3600}<BOUCLE_generale(ARTICLES){id_article}>
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">
4<head>
5<meta http-equiv="Content-Type" content="text/html;charset=#CHARSET"/>
6<title>#NOM_SITE_SPIP : [(#TITRE|supprimer_numero)]</title>
7[(#INSERT_HEAD)]
8[(#INCLURE{fond=metas}{id_article})]
9</head>
10<body id="page-article" class="article#ID_ARTICLE">#SET{parametres,#REM|sinon{"rien"}|parametres}
11<div id="general">
12[(#INCLURE{fond=bandeau}{id_article})]
13
14[(#GET{parametres}|element{'navigation'}|=={'general'}|?{' ',''})<INCLURE{fond=navigation}{id_article}{id_rubrique}>]
15
16[(#GET{parametres}|element{'chemin'}|=={general}|?{' ',''})[(#INCLURE{fond=chemin}{id_article})]]
17
18[(#GET{parametres}|element{'contenus'}|=={oui}|?{'<div id="contenus">',''})<!-- balise optionnelle contenus -->]
19
20<div id="contextes">
21[(#GET{parametres}|element{'navigation'}|=={'contexte'}|?{' ',''})<INCLURE{fond=navigation}{id_article}{id_rubrique}>]
22
23<div id="contexte1">
24[(#GET{parametres}|element{'navigation'}|=={'contexte1'}|?{' ',''})<INCLURE{fond=navigation}{id_article}{id_rubrique}>]
25<BOUCLE_archetype_article(spip_arty_gabaritassoc){type=article}{id=#ENV{id_article}}>
26
27<BOUCLE_blocs_contexte0(spip_arty_gabarit_ordre){gabarit=#GABARIT}{conteneur=1}{par ordre}>
28<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=1}{parametre=#PARAM}{lang}{document=#ENV{document}}>
29</BOUCLE_blocs_contexte0>
30
31</BOUCLE_archetype_article>
32<!-- blocs contexte 1 par defaut -->
33<BOUCLE_blocs_contexte0_defaut(spip_arty_gabarit_ordre){gabarit=article}{conteneur=1}{par ordre}>
34<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=1}{parametre=#PARAM}{lang}{document=#ENV{document}}>
35</BOUCLE_blocs_contexte0_defaut>
36
37<//B_archetype_article>
38<div id="fin-contexte1"></div>
39</div>
40
41<div id="contexte2">
42<BOUCLE_archetype_article2(spip_arty_gabaritassoc){type=article}{id=#ENV{id_article}}>
43
44<BOUCLE_blocs_contexte1(spip_arty_gabarit_ordre){gabarit=#GABARIT}{conteneur=2}{par ordre}>
45<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=2}{parametre=#PARAM}{lang}{document=#ENV{document}}>
46</BOUCLE_blocs_contexte1>
47
48</BOUCLE_archetype_article2>
49<!-- blocs contexte 2 par defaut -->
50<BOUCLE_blocs_contexte1_defaut(spip_arty_gabarit_ordre){gabarit=article}{conteneur=2}{par ordre}>
51<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=2}{parametre=#PARAM}{lang}{document=#ENV{document}}>
52</BOUCLE_blocs_contexte1_defaut>
53
54<//B_archetype_article2>
55<div id="fin-contexte2"></div>
56</div> 
57
58</div><!-- fin des contextes -->
59
60<div id="corps">
61
62[(#GET{parametres}|element{'chemin'}|=={corps}|?{' ',''})[(#INCLURE{fond=chemin}{id_article})]]
63
64<BOUCLE_archetype_article3(spip_arty_gabaritassoc){type=article}{id=#ENV{id_article}}>
65
66<BOUCLE_blocs_corps(spip_arty_gabarit_ordre){gabarit=#GABARIT}{conteneur=3}{par ordre}>
67<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=3}{parametre=#PARAM}{lang}{document=#ENV{document}}>
68</BOUCLE_blocs_corps>
69
70</BOUCLE_archetype_article3>
71
72<BOUCLE_blocs_contexte2_defaut(spip_arty_gabarit_ordre){gabarit=article}{conteneur=3}{par ordre}>
73<!-- blocs corps par defaut -->
74<INCLURE{fond=#NOM}{id_article=#ENV{id_article}}{id_rubrique=#_generale:ID_RUBRIQUE}{conteneur=3}{parametre=#PARAM}{lang}{document=#ENV{document}}>
75</BOUCLE_blocs_contexte2_defaut>
76
77<//B_archetype_article3>
78
79<div id="fin-corps"></div><!-- fin du corps -->
80</div>
81
82[(#GET{parametres}|element{'contenus'}|=={oui}|?{'</div>',''})<!-- fin de balise optionnelle contenus -->]
83
84[(#GET{parametres}|element{'footer'}|=={general}|?{' ',''})[(#INCLURE{fond=footer}{id_article})]]
85
86<div id="fin-page"></div>
87</div><!-- fin du general -->
88[(#GET{parametres}|element{'footer'}|=={hors_general}|?{' ',''})[(#INCLURE{fond=footer}{id_article})]]
89</body>
90</html>
91</BOUCLE_generale>
Note: See TracBrowser for help on using the repository browser.