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

Indentation et chasse au styles en dur dans le HTML

parent 4c065802
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<BOUCLE_jour(ARTICLES)
{agenda date, jour, #ENV{annee}, #ENV{mois}, #ENV{jour}}
>[(#DATE|agenda_memo{#DESCRIPTIF, #TITRE, #URL_ARTICLE,
<BOUCLE_jour(ARTICLES) {agenda date, jour, #ENV{annee}, #ENV{mois}, #ENV{jour}}>[(#DATE|agenda_memo{#DESCRIPTIF, #TITRE, #URL_ARTICLE,
calendrier-couleur[(#ENV{theme,0}|modulo{14,1})]})]</BOUCLE_jour>[(#DATE|agenda_affiche{<:aucun_article:>, 'jour',
calendrier-couleur[(#ENV{theme,0}|modulo{14,1})]})][(#TOTAL_BOUCLE|?{' ',''})
<div style='position: fixed; top:50px; left: 20px'>
<table style='width: 10px'><tr>
<td class='calendrier-couleur1'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,0})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur2'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,1})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur3'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,2})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur4'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,3})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur5'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,4})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur6'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,5})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur7'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,6})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur8'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,7})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur9'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,8})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur10'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,9})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur11'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,10})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur12'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,11})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur13'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,12})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur14'
><a style='text-decoration: none;'
href='[(#SELF|parametre_url{theme,13})]'>&nbsp;&nbsp;</a></td></tr>
<div style='position: fixed; top: 50px; left: 20px'>
<table style='width: 10px'>
<tr><td class='calendrier-couleur1'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,0})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur2'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,1})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur3'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,2})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur4'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,3})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur5'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,4})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur6'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,5})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur7'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,6})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur8'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,7})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur9'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,8})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur10'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,9})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur11'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,10})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur12'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,11})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur13'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,12})]'>&nbsp;&nbsp;</a></td></tr>
<tr><td class='calendrier-couleur14'><a style='text-decoration: none;' href='[(#SELF|parametre_url{theme,13})]'>&nbsp;&nbsp;</a></td></tr>
</table>
</div>
]<//B_jour>
......@@ -65,7 +65,7 @@
<INCLURE{fond=formulaires/login_forum}>
[(#REM) Piege a robots spammeurs ]
<p style='display: none;'><label for="nobot"><:antispam_champ_vide:></label>
<p style="display: none;"><label for="nobot"><:antispam_champ_vide:></label>
<input type="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" /></p>
<p class="spip_bouton"><input type="submit" value="<:forum_voir_avant:>" /></p>
......
......@@ -29,7 +29,7 @@ document.getElementById('(#ENV{focus})').focus();
]
</div>
[(#ENV{focus,''}|?{' '})
<div style="font-size: 10px; text-align: #LANG_RIGHT">
<div style="text-align: #LANG_RIGHT;">
<script type="text/javascript"><!--
document.write("<a style='color: #e86519' href='")
document.write((window.opener) ? "javascript:close()" : "./")
......
......@@ -39,7 +39,7 @@
<input type="hidden" name="session_login_hidden" value="(#ENV{login})" />
<p id='login_securise' style='display:none;'><:login_login:>&nbsp;<strong>[(#ENV{login_alt})]</strong><br />&#91;<a href='[(#ENV{action2}
<p id='login_securise' style='display: none;'><:login_login:>&nbsp;<strong>[(#ENV{login_alt})]</strong><br />&#91;<a href='[(#ENV{action2}
|parametre_url{cookie_admin,non}
|parametre_url{url,#ENV*{url}}
|parametre_url{retour,#ENV*{self}})]'><:login_autre_identifiant:></a>&#93;</p>
......@@ -54,7 +54,7 @@ if (l=document.getElementById('login_securise')) l.style.display='';
</div>
</noscript>
]
[(#ENV{login}|?{'',' '})<div id='pass_ajax' style='display:none;'>]
[(#ENV{login}|?{'',' '})<div id='pass_ajax' style='display: none;'>]
<p><label[ for="var_login_(#ENV{login})"]><:login_pass2:></label><br />
<input type="password" class="forml" name="session_password"[ id="var_login_(#ENV{login})"] value="" size="20" /></p>
......
......@@ -32,6 +32,6 @@ document.write((window.opener) ? "javascript:close()" : "./")
document.write("'><:pass_quitter_fenetre:><" + "/a>");
//--></script>
<noscript>
&#91;<a style="color: #e86519" href='./'><:pass_retour_public:></a>&#93;
&#91;<a href='./'><:pass_retour_public:></a>&#93;
</noscript>
</div>
\ No newline at end of file
......@@ -28,7 +28,7 @@
</fieldset>
[(#REM) Piege a robots spammeurs ]
<p style='display: none;'><label for="nobot"><:antispam_champ_vide:></label>
<p style="display: none;"><label for="nobot"><:antispam_champ_vide:></label>
<input type="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" /></p>
......
......@@ -16,7 +16,7 @@
<textarea class="forml" name="description_site" id="description_site" rows="5" cols="40">#ENV{descriptif_site}</textarea></p>
[(#REM) Piege a robots spammeurs ]
<p style='display: none;'><label for="nobot"><:antispam_champ_vide:></label>
<p style="display: none;"><label for="nobot"><:antispam_champ_vide:></label>
<input type="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" /></p>
<p class="spip_bouton"><input type="submit" value="<:bouton_valider:>" /></p>
......
......@@ -15,18 +15,19 @@
<style type="text/css">
<!--
body.page_login { text-align: center; font: 1em Verdana, Tahoma, Geneva, Helvetica, sans-serif; }
#minipres { width:30em;}
#minipres { width: 30em; }
.formulaire_spip { text-align: #LANG_LEFT; font-size: 0.8em; }
.formulaire_spip fieldset {border: 1px solid #BABDB6; padding:10px;font-size: 1em;}
.formulaire_menu_lang { float: #LANG_RIGHT; }
.formulaire_menu_lang label { display: none; }
.formulaire_login { clear: both; }
.spip_logos { float: right; padding-left: 10px; }
.forml,input { font-size: 1.0em;}
p .forml { width:20em; font-family: inherit; }
.forml,input { font-size: 1.0em; }
p .forml { width: 20em; font-family: inherit; }
.spip_bouton input { float: #LANG_RIGHT; }
.reponse_formulaire { font-weight: bold; color: red; }
a { color: #e86519; text-decoration: none; }
.formulaire_login .retour { text-align: center; }
-->
</style>
[<script type='text/javascript' src='(#URL_PAGE{jquery.js})'></script>]
......@@ -35,8 +36,8 @@
<div id='minipres'>
<h3 class="spip">#NOM_SITE_SPIP<br />
<h3 class="spip">#NOM_SITE_SPIP<br />
[(#REM)
Est-ce qu'on se connecte a l'espace prive ou pas ?
]
......@@ -45,21 +46,20 @@
[(#GET{prive}) <small><:login_acces_prive:></small>]
[(#GET{prive}|?{'',' '}) <!-- ?? -->]
</h3>
#MENU_LANG_ECRIRE
<div class="formulaire_spip formulaire_login">
#LOGIN_PRIVE
<p style="text-align: center;">
[&#91;<a href="#URL_PAGE{identifiants,focus=nom_inscription}&amp;mode=(#URL_SITE_SPIP|tester_config)" target="spip_pass" onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=400'); return false;"><:login_sinscrire:></a>&#93;]
&#91;<a href="#URL_PAGE{spip_pass}" target="spip_pass" onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=330'); return false;"><:login_motpasseoublie:></a>&#93;
&#91;<a href="#URL_SITE_SPIP/"><:login_retoursitepublic:></a>&#93;
</p>
</div>
</div>
</h3>
#MENU_LANG_ECRIRE
<div class="formulaire_spip formulaire_login">
#LOGIN_PRIVE
<p class="retour">
[&#91;<a href="#URL_PAGE{identifiants,focus=nom_inscription}&amp;mode=(#URL_SITE_SPIP|tester_config)" target="spip_pass" onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=400'); return false;"><:login_sinscrire:></a>&#93;]
&#91;<a href="#URL_PAGE{spip_pass}" target="spip_pass" onclick="javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=330'); return false;"><:login_motpasseoublie:></a>&#93;
&#91;<a href="#URL_SITE_SPIP/"><:login_retoursitepublic:></a>&#93;
</p>
</div>
</div><!--#minipres-->
</body>
</html>
\ No newline at end of file
......@@ -633,10 +633,10 @@ div.puce_breve_popup, span.puce_breve_popup { width: 27px; }
#contenu #wysiwyg div.champ {display:block;}
#contenu #wysiwyg div.contenu_ps { background:#DDDDDD; border:1px solid #666; padding:5px;margin:1em 0;}
#contenu #wysiwyg div.contenu_ps.vide {display:none;}
#contenu #wysiwyg div.contenu_ps.vide {display: none;}
#contenu #wysiwyg div.contenu_ps div.label {display:inline;font-weight:bold;font-size:1.3em;background:none;color:#000;}
#contenu #wysiwyg div.contenu_notes { background:#fff; border:1px solid #666; padding:5px;margin:1em 0;font-size:0.8em;}
#contenu #wysiwyg div.contenu_notes.vide {display:none;}
#contenu #wysiwyg div.contenu_notes.vide {display: none;}
#contenu #wysiwyg div.contenu_notes div.label {display:inline;font-weight:bold;font-size:0.9em;background:none;color:#000;}
#contenu #wysiwyg div.texte {font-size:0.9em;}
......@@ -655,25 +655,25 @@ ul.instituer li.refuse.selected a,ul.instituer li.refuse a:hover { background: #
#voir.tabs-container { background: #FFF; padding: 5px; border: 1px solid #999; }
.no_onglets .tabs-container {background:#fff; border:none;padding-top:0;}
.no_onglets .tabs-nav {display:none;}
.no_onglets .tabs-nav {display: none;}
.no_onglets .fiche_objet { background:#fff;border:1px solid black; padding:5px;margin-bottom:1em;}
.no_onglets #voir.tabs-container { background: #FFF; padding:0; border: 0; }
.no_onglets #contenu #wysiwyg div.label{ display:none; }
.no_onglets #contenu #wysiwyg div.label{ display: none; }
.no_onglets #contenu #wysiwyg .contenu_lien_titre {margin:1em 0;}
.no_onglets #contenu #wysiwyg .contenu_lien_titre div.label{ color:#000;background:none;display:inline; font-size:1.1em;font-weight:bold;font-family:Georgia,Garamond,Times New Roman,serif;}
.no_onglets #contenu #wysiwyg .contenu_lien_titre div.lien_titre p { display:inline;}
.no_onglets #contenu #wysiwyg { padding:5px;}
.no_onglets #contenu #wysiwyg div.contenu_soustitre,
.no_onglets #contenu #wysiwyg div.contenu_surtitre,
.no_onglets #contenu #wysiwyg div.contenu_titre {display:none;}
.no_onglets #contenu #wysiwyg div.vide {display:none;}
.no_onglets #contenu #wysiwyg div.contenu_titre {display: none;}
.no_onglets #contenu #wysiwyg div.vide {display: none;}
.no_onglets #contenu h1 {color:#GET{foncee};}
.no_onglets #contenu #wysiwyg div.contenu_descriptif,
.no_onglets #contenu #wysiwyg div.contenu_nom_site
{ background:#E4E4E4; border:1px dashed #AAAAAA; padding:5px;margin:1em 0;}
.no_onglets #contenu #wysiwyg div.contenu_descriptif span.label {color:#000;background:none;display:inline;font-size:1.1em;font-weight:bold;}
body.sites .no_onglets #contenu #wysiwyg div.contenu_nom_site {display:none;}
body.sites .no_onglets #contenu #wysiwyg div.contenu_nom_site {display: none;}
.no_onglets .boite_onglets {margin-top:0px; }
/* exec/articles */
......
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