Skip to content
Extraits de code Groupes Projets
Valider 7d365b28 rédigé par tetue's avatar tetue
Parcourir les fichiers

Indentation. Commentaires. Nomenclature.

parent d5ec4641
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<BOUCLE_article_principal(ARTICLES) {id_article}> <BOUCLE_principale(ARTICLES) {id_article}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head> <head>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
[(#REM) Gestion du portfolio et des documents [(#REM) Gestion du portfolio et des documents
Le critere {env} permet de passer d'autres arguments de la page Le critere {env} permet de passer d'autres arguments de la page
par exemple l'id_document choisi pour un affichage complet par exemple l'id_document choisi pour un affichage complet
] ]
[(#INCLURE{fond=inc-documents}{id_article}{env})] [(#INCLURE{fond=inc-documents}{id_article}{env})]
...@@ -105,4 +105,4 @@ ...@@ -105,4 +105,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_article_principal> </BOUCLE_principale>
\ No newline at end of file \ No newline at end of file
<BOUCLE_auteur_principal(AUTEURS) {id_auteur}> <BOUCLE_principale(AUTEURS) {id_auteur}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head> <head>
...@@ -88,4 +88,4 @@ ...@@ -88,4 +88,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_auteur_principal> </BOUCLE_principale>
\ No newline at end of file \ No newline at end of file
<BOUCLE_breve_principal(BREVES) {id_breve}> <BOUCLE_principale(BREVES) {id_breve}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head> <head>
...@@ -86,4 +86,4 @@ ...@@ -86,4 +86,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_breve_principal> </BOUCLE_principale>
\ No newline at end of file \ No newline at end of file
...@@ -13,10 +13,10 @@ body { font-size: 0.8125em; font-family: "Luxi sans", "Lucida Grande", Lucida, " ...@@ -13,10 +13,10 @@ body { font-size: 0.8125em; font-family: "Luxi sans", "Lucida Grande", Lucida, "
h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; font-weight: normal; font-size: 1em; font-family: Georgia, Times, serif; } h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; font-weight: normal; font-size: 1em; font-family: Georgia, Times, serif; }
h1 { font-size: 1.70em; color: #000; } h1 { font-size: 1.70em; color: #000; }
h2 { font-size: 1.40em; font-weight: normal; } h2 { font-size: 1.40em; font-weight: normal; }
h2, h2 a, h2 a:focus, h2 a:hover { color: #000033; } h2, h2 a, h2 a:focus, h2 a:hover { color: #003; }
h3 { font-size: 1.20em; font-weight: bold; } h3 { font-size: 1.20em; font-weight: bold; }
h3.spip {} /*Cf.: spip_style.css*/ h3.spip {} /* Cf.: spip_style.css */
hr.spip {} /*Cf.: spip_style.css*/ hr.spip {} /* Cf.: spip_style.css */
/* Autres enrichissements typo */ /* Autres enrichissements typo */
strong { font-weight: bold; } strong { font-weight: bold; }
...@@ -29,8 +29,8 @@ ins { color: red !important; text-decoration: none; } ...@@ -29,8 +29,8 @@ ins { color: red !important; text-decoration: none; }
sup, sub { font-size: .8em; font-variant: normal; } sup, sub { font-size: .8em; font-variant: normal; }
/* Listes */ /* Listes */
ul.spip {} /*Cf.: spip_style.css*/ ul.spip {} /* Cf.: spip_style.css */
ol.spip {} /*Cf.: spip_style.css*/ ol.spip {} /* Cf.: spip_style.css */
dl {} dl {}
dt {} dt {}
dd {} dd {}
...@@ -39,24 +39,24 @@ dd {} ...@@ -39,24 +39,24 @@ dd {}
cite {} cite {}
q {} q {}
blockquote {} blockquote {}
blockquote.spip {} /*Cf.: spip_style.css*/ blockquote.spip {} /* Cf.: spip_style.css */
blockquote.spip_poesie {} /*Cf.: spip_style.css*/ blockquote.spip_poesie {} /* Cf.: spip_style.css */
.spip_code {} /*Cf.: spip_style.css*/ .spip_code {} /* Cf.: spip_style.css */
.spip_cadre {} /*Cf.: spip_style.css*/ .spip_cadre {} /* Cf.: spip_style.css */
address {} address {}
/* Tableaux */ /* Tableaux */
table.spip {} /*Cf.: spip_style.css*/ table.spip {} /* Cf.: spip_style.css */
/* Logos, documents et images */ /* Logos, documents et images */
img { margin: 0; padding: 0; border: 0; } img { margin: 0; padding: 0; border: 0; }
.spip_logos {} /*Cf.: spip_style.css*/ .spip_logos {} /* Cf.: spip_style.css */
.spip_documents {} /*Cf.: spip_style.css*/ .spip_documents {} /* Cf.: spip_style.css */
.spip_documents_center {} /*Cf.: spip_style.css*/ .spip_documents_center {} /* Cf.: spip_style.css */
.spip_documents_left {} /*Cf.: spip_style.css*/ .spip_documents_left {} /* Cf.: spip_style.css */
.spip_documents_right {} /*Cf.: spip_style.css*/ .spip_documents_right {} /* Cf.: spip_style.css */
.spip_doc_titre {} /*Cf.: spip_style.css*/ .spip_doc_titre {} /* Cf.: spip_style.css */
.spip_doc_descriptif {} /*Cf.: spip_style.css*/ .spip_doc_descriptif {} /* Cf.: spip_style.css */
/* ------------------------------------------ /* ------------------------------------------
...@@ -198,4 +198,4 @@ ul ul ul ul ul .forum-chapo { background: #FFF; } ...@@ -198,4 +198,4 @@ ul ul ul ul ul .forum-chapo { background: #FFF; }
/* Couleurs des liens /* Couleurs des liens
---------------------------------------------- */ ---------------------------------------------- */
a { color: #604A7F; text-decoration: none; } a { color: #604A7F; text-decoration: none; }
a:focus,a:hover { color: #F57900; text-decoration: underline; } a:focus,a:hover,a:active { color: #F57900; text-decoration: underline; }
\ No newline at end of file \ No newline at end of file
...@@ -74,4 +74,4 @@ la premiere fois qu'un message est poste (cf. inc/invalideur). ] ...@@ -74,4 +74,4 @@ la premiere fois qu'un message est poste (cf. inc/invalideur). ]
</BOUCLE_forums> </BOUCLE_forums>
</ul> </ul>
</B_forums> </B_forums>
\ No newline at end of file
<BOUCLE_mot_principal(MOTS) {id_mot} {doublons}> <BOUCLE_principale(MOTS) {id_mot} {doublons}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head> <head>
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
<div class="menu"> <div class="menu">
<h2><:sites_web:></h2> <h2><:sites_web:></h2>
<ul> <ul>
<BOUCLE_sites(SITES) {id_mot} {par nom_site}><li> <BOUCLE_sites(SITES) {id_mot} {par nom_site}>
<a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a> <li><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a></li>
</li></BOUCLE_sites> </BOUCLE_sites>
</ul> </ul>
</div> </div>
</B_sites> </B_sites>
...@@ -147,4 +147,4 @@ ...@@ -147,4 +147,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_mot_principal> </BOUCLE_principale>
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
<B_sites> <B_sites>
<h3><:sites_web:></h3> <h3><:sites_web:></h3>
<ul> <ul>
<BOUCLE_sites(SITES) {id_secteur} {par nom_site}><li> <BOUCLE_sites(SITES) {id_secteur} {par nom_site}>
<a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a> <li><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a></li>
</li></BOUCLE_sites> </BOUCLE_sites>
</ul> </ul>
</B_sites> </B_sites>
...@@ -103,4 +103,4 @@ ...@@ -103,4 +103,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -100,9 +100,9 @@ ...@@ -100,9 +100,9 @@
#ANCRE_PAGINATION #ANCRE_PAGINATION
<h2><:sites_web:> (#GRAND_TOTAL)</h2> <h2><:sites_web:> (#GRAND_TOTAL)</h2>
<ul> <ul>
<BOUCLE_sites(SITES) {recherche} {par points}{inverse} {pagination 5}><li> <BOUCLE_sites(SITES) {recherche} {par points}{inverse} {pagination 5}>
<a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a> <li><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a></li>
</li></BOUCLE_sites> </BOUCLE_sites>
</ul> </ul>
[<p class="pagination">(#PAGINATION)</p>] [<p class="pagination">(#PAGINATION)</p>]
</div> </div>
...@@ -131,4 +131,4 @@ ...@@ -131,4 +131,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
\ No newline at end of file
[(#REM) [(#REM)
Un cache plus court, pour la boucle syndic_articles Un cache plus court, pour la boucle syndic_articles
]#CACHE{3600} ]#CACHE{3600}
<BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}> <BOUCLE_principale(RUBRIQUES) {id_rubrique}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head> <head>
...@@ -117,7 +117,8 @@ ...@@ -117,7 +117,8 @@
<h2><:sur_web:></h2> <h2><:sur_web:></h2>
<ul> <ul>
<BOUCLE_sites(SITES) {id_rubrique} {par nom_site}> <BOUCLE_sites(SITES) {id_rubrique} {par nom_site}>
<li><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a> <li>
<a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a>
<B_syndic> <B_syndic>
<ul> <ul>
<BOUCLE_syndic(SYNDIC_ARTICLES) {id_syndic} {age<180} {par date}{inverse} {0,3}> <BOUCLE_syndic(SYNDIC_ARTICLES) {id_syndic} {age<180} {par date}{inverse} {0,3}>
...@@ -172,4 +173,4 @@ ...@@ -172,4 +173,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_rubrique_principal> </BOUCLE_principale>
\ No newline at end of file
[(#REM) [(#REM)
Un cache plus court, pour la boucle syndic_articles Un cache plus court, pour la boucle syndic_articles
]#CACHE{3600} ]#CACHE{3600}
<BOUCLE_site(SITES){id_syndic}> <BOUCLE_principale(SITES){id_syndic}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[(#REM) Les sites n'ont pas de "lang" a proprement parler ; on se base donc sur la langue de la rubrique qui les contient. Les articles syndiques, eux, ont une "lang". ] [(#REM) Les sites n'ont pas de "lang" a proprement parler ; on se base donc sur la langue de la rubrique qui les contient. Les articles syndiques, eux, ont une "lang". ]
<BOUCLE_lang(RUBRIQUES){id_rubrique}><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"></BOUCLE_lang> <BOUCLE_lang(RUBRIQUES){id_rubrique}><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"></BOUCLE_lang>
...@@ -104,4 +104,4 @@ ...@@ -104,4 +104,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
</BOUCLE_site> </BOUCLE_principale>
\ No newline at end of file
...@@ -106,4 +106,4 @@ ...@@ -106,4 +106,4 @@
</div><!--#page--> </div><!--#page-->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -92,7 +92,7 @@ table.spip_barre input.barre { width: 99%; background: transparent; border: 0; } ...@@ -92,7 +92,7 @@ table.spip_barre input.barre { width: 99%; background: transparent; border: 0; }
.formulaire_recherche input.text { width: 10em; padding-left: 25px; background: #FFF url(rechercher.gif) no-repeat left center; } .formulaire_recherche input.text { width: 10em; padding-left: 25px; background: #FFF url(rechercher.gif) no-repeat left center; }
.formulaire_recherche input.submit {} .formulaire_recherche input.submit {}
.spip_surligne {} /*Cf.: spip_style.css*/ .spip_surligne {} /* Cf.: spip_style.css */
/* Choix des mots-clefs */ /* Choix des mots-clefs */
ul.choix_mots { display: block; margin: 0; padding: 0; list-style: none; } ul.choix_mots { display: block; margin: 0; padding: 0; list-style: none; }
......
...@@ -48,4 +48,4 @@ ...@@ -48,4 +48,4 @@
</div><!--#minipres--> </div><!--#minipres-->
</body> </body>
</html> </html>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter