From c49f8121a34186d8eee0895ac8f94e0e0e4a1844 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Sat, 30 Dec 2006 22:03:59 +0000 Subject: [PATCH] =?UTF-8?q?Remplacement=20de=20style=3D'font-family:...'?= =?UTF-8?q?=20par=20un=20attribut=20class.=20Obtenu=20apr=C3=A8s=20mise=20?= =?UTF-8?q?au=20carr=C3=A9=20(incluant=20une=20dizaine=20de=20scories)=20e?= =?UTF-8?q?t=20application=20du=20sed-script=20suivant:=20{{{=20s,\(<[^>]*?= =?UTF-8?q?=20style=3D'[^']*\)font-family:=20*[Vv]erdana[^';]*[=20;]*\([^>?= =?UTF-8?q?]*\)>,\1\2=20class=3D'verdana1'>,=20s,\(<[^>]*=20style=3D'[^']*?= =?UTF-8?q?\)font-family:=20*[Aa]rial[^';]*[=20;]*\([^>]*\)>,\1\2=20class?= =?UTF-8?q?=3D'arial1'>,=20s,\(<[^>]*\)=20style=3D''\([^>]*>\),\1\2,=20}}}?= =?UTF-8?q?=20Reste=2010=20occurrences,=20dans=202=20balises=20(pas=20attr?= =?UTF-8?q?ibut)=20style=20(minipres=20et=20aide=5Findex)=20qu'il=20faudra?= =?UTF-8?q?it=20globalement=20passer=20en=20CSS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/exec/accueil.php | 2 +- ecrire/exec/admin_effacer.php | 2 +- ecrire/exec/admin_plugin.php | 2 +- ecrire/exec/admin_tech.php | 6 +-- ecrire/exec/articles.php | 16 +++---- ecrire/exec/articles_forum.php | 2 +- ecrire/exec/articles_ortho.php | 8 ++-- ecrire/exec/articles_versions.php | 8 ++-- ecrire/exec/auteur_infos.php | 2 +- ecrire/exec/auteurs.php | 2 +- ecrire/exec/breves_voir.php | 4 +- ecrire/exec/calendrier.php | 2 +- ecrire/exec/config_fonctions.php | 2 +- ecrire/exec/configuration.php | 2 +- ecrire/exec/controle_forum.php | 2 +- ecrire/exec/forum_envoi.php | 2 +- ecrire/exec/install.php | 2 +- ecrire/exec/message.php | 22 ++++----- ecrire/exec/message_edit.php | 4 +- ecrire/exec/messagerie.php | 2 +- ecrire/exec/mots_edit.php | 6 +-- ecrire/exec/mots_tous.php | 6 +-- ecrire/exec/mots_type.php | 6 +-- ecrire/exec/naviguer.php | 6 +-- ecrire/exec/recherche.php | 8 ++-- ecrire/exec/sites.php | 10 ++--- ecrire/exec/sites_edit.php | 2 +- ecrire/exec/statistiques_lang.php | 2 +- ecrire/exec/statistiques_referers.php | 4 +- ecrire/exec/statistiques_svg.php | 12 ++--- ecrire/exec/statistiques_visites.php | 64 +++++++++++++-------------- ecrire/inc/chercher_rubrique.php | 2 +- ecrire/inc/documents.php | 8 ++-- ecrire/inc/editer_article.php | 4 +- ecrire/inc/editer_auteurs.php | 2 +- ecrire/inc/editer_mot.php | 2 +- ecrire/inc/import.php | 2 +- ecrire/inc/legender.php | 2 +- ecrire/inc/message_select.php | 2 +- ecrire/inc/presentation.php | 15 +++---- ecrire/inc/tourner.php | 2 +- ecrire/inc/virtualiser.php | 2 +- 42 files changed, 131 insertions(+), 132 deletions(-) diff --git a/ecrire/exec/accueil.php b/ecrire/exec/accueil.php index ebf41f886c..375e219b5a 100644 --- a/ecrire/exec/accueil.php +++ b/ecrire/exec/accueil.php @@ -109,7 +109,7 @@ if ($spip_display == 4) { } else { if ($connect_statut == '0minirezo') { - $res = "<div class='verdana11'>"._T('info_ecrire_article')."</div>"; + $res = "<div class='verdana2'>"._T('info_ecrire_article')."</div>"; } } if ($connect_toutes_rubriques) { diff --git a/ecrire/exec/admin_effacer.php b/ecrire/exec/admin_effacer.php index 0ff707d3b4..4c87f036e1 100644 --- a/ecrire/exec/admin_effacer.php +++ b/ecrire/exec/admin_effacer.php @@ -54,7 +54,7 @@ debut_cadre_relief(); echo "\n<table border='0' cellspacing='1' cellpadding='8' width=\"100%\">"; echo "<tr><td bgcolor='$couleur_foncee' background=''><b>"; -echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #FFFFFF;'>". _T('texte_effacer_base')."</span></b></td></tr>"; +echo "<span style='font-size: 16px; color: #FFFFFF;' class='verdana1'>". _T('texte_effacer_base')."</span></b></td></tr>"; echo "<tr><td class='serif'>"; diff --git a/ecrire/exec/admin_plugin.php b/ecrire/exec/admin_plugin.php index 407f05785f..e1a032b020 100644 --- a/ecrire/exec/admin_plugin.php +++ b/ecrire/exec/admin_plugin.php @@ -131,7 +131,7 @@ EOF; global $couleur_foncee; echo "<table border='0' cellspacing='0' cellpadding='5' width='100%'>"; echo "<tr><td bgcolor='$couleur_foncee' background='' colspan='4'><b>"; - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #ffffff;'>", _T('plugins_liste')."</span></b></td></tr>"; + echo "<span style='font-size: 16px; color: #ffffff;' class='verdana1'>", _T('plugins_liste')."</span></b></td></tr>"; echo "<tr><td class='serif' colspan='4'>"; echo _T('texte_presente_plugin'); diff --git a/ecrire/exec/admin_tech.php b/ecrire/exec/admin_tech.php index 3fb81435bd..d3efeb28c0 100644 --- a/ecrire/exec/admin_tech.php +++ b/ecrire/exec/admin_tech.php @@ -69,7 +69,7 @@ function exec_admin_tech_dist() echo "<table border='0' cellspacing='0' cellpadding='5' width=\"100%\">", "<tr><td bgcolor='", $couleur_foncee, "'><b>", - "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #FFFFFF;'>", _T('texte_sauvegarde'), "</span></b></td></tr><tr><td class='serif'>", + "<span style='font-size: 16px; color: #FFFFFF;' class='verdana1'>", _T('texte_sauvegarde'), "</span></b></td></tr><tr><td class='serif'>", generer_url_post_ecrire("export_all", "reinstall=non"), "\n<p align='justify'>", http_img_pack('warning.gif', _T('info_avertissement'), "width='48' height='48' align='right'"), @@ -128,7 +128,7 @@ echo "</table>"; echo "\n<table border='0' cellspacing='1' cellpadding='8' width=\"100%\">", "<tr><td bgcolor='#eeeecc'><b>", - "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #000000;'>", _T('texte_restaurer_base')."</span></b></td></tr>", + "<span style='font-size: 16px; color: #000000;' class='verdana1'>", _T('texte_restaurer_base')."</span></b></td></tr>", "<tr><td class='serif'>\n", generer_url_post_ecrire("import_all"), "\n<p align='justify'> ", @@ -166,7 +166,7 @@ if ($options == "avancees" AND $connect_toutes_rubriques) { if ($res >= '3.23.14') { echo "<table border='0' cellspacing='1' cellpadding='8' width=\"100%\">"; echo "<tr><td bgcolor='#eeeecc'><b>"; - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #000000;'>", _T('texte_recuperer_base'), "</span></b></td></tr>", + echo "<span style='font-size: 16px; color: #000000;' class='verdana1'>", _T('texte_recuperer_base'), "</span></b></td></tr>", "<tr><td class='serif'>", generer_url_post_ecrire("admin_repair"), "\n<p align='justify'>"._T('texte_crash_base'), diff --git a/ecrire/exec/articles.php b/ecrire/exec/articles.php index 17dec59cfc..a84cf4d7b3 100644 --- a/ecrire/exec/articles.php +++ b/ecrire/exec/articles.php @@ -221,7 +221,7 @@ function boite_info_articles($id_article, $statut_article, $visites, $id_version { global $connect_statut, $options, $flag_revisions; - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10px; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10px; font-weight: bold; text-align: center' class='verdana1'>" . _T('info_numero_article') . "<br /><span style='font-size: 32px;'>" . $id_article @@ -314,7 +314,7 @@ function bouton_modifier_articles($id_article, $id_rubrique, $flag_modif, $mode, { if ($flag_modif) { return icone(_T('icone_modifier_article'), generer_url_ecrire("articles_edit","id_article=$id_article"), $ip, $im, $align, false) - . "<span style='font-family: arial,helvetica,sans-serif; font-size: 14px;'>$mode</span>" + . "<span style='font-size: 14px;' class='arial1'>$mode</span>" . aide("artmodif"); } else return icone(_T('icone_modifier_article'), generer_url_ecrire("articles_edit","id_article=$id_article"), "article-24.gif", "edit.gif", $align, false); @@ -328,28 +328,28 @@ function titres_articles($titre, $statut_article,$surtitre, $soustitre, $descrip $res = ''; if ($surtitre) { - $res .= "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>" . typo($surtitre) . "</b></span></span>\n"; + $res .= "<span $dir_lang style='font-size: 16px;' class='arial1'><b>" . typo($surtitre) . "</b></span>\n"; } $res .= gros_titre($titre, "puce-".puce_statut($statut_article).".gif", false); if ($soustitre) { - $res .= "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>" . typo($soustitre) . "</b></span></span>\n"; + $res .= "<span $dir_lang style='font-size: 16px;' class='arial1'><b>" . typo($soustitre) . "</b></span>\n"; } if ($descriptif OR $url_site OR $nom_site) { $texte_case = ($descriptif) ? "{{"._T('info_descriptif')."}} $descriptif\n\n" : ''; - $texte_case .= ($nom_site.$url_site) ? "{{"._T('info_urlref')."}} [".$nom_site."->".$url_site."]" : ''; + $texte_case .= ($nom_site OR $url_site) ? "{{"._T('info_urlref')."}} [".$nom_site."->".$url_site."]" : ''; - $res .= "<br />\n<div align='$spip_lang_left' $dir_lang style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4; font-size: 11px; font-face: Verdana,Arial,Sans,sans-serif'>" + $res .= "<br />\n<div align='$spip_lang_left' $dir_lang style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4; font-size: 11px;' class='Verdana1'>" . propre($texte_case) . "</div>"; } if ($statut_article == 'prop') - $res .= "<p style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: red'><b>"._T('text_article_propose_publication')."</b></p>"; + $res .= "<p style='font-size: 14px; color: red' class='verdana1'><b>"._T('text_article_propose_publication')."</b></p>"; $res = "\n<td valign='top'>$res</td>"; @@ -396,7 +396,7 @@ function afficher_corps_articles($virtuel, $chapo, $texte, $ps, $extra) if ($ps) { $res .= debut_cadre_enfonce('',true) - . "\n<div $dir_lang style='font-family:Verdana,Arial,Sans,sans-serif; font-size: small;'>" + . "\n<div $dir_lang style='font-size: small;' class='verdana1'>" . justifier("<b>"._T('info_ps')."</b> ".propre($ps)) . "</div>" . fin_cadre_enfonce(true); diff --git a/ecrire/exec/articles_forum.php b/ecrire/exec/articles_forum.php index e8a7561229..97ec82954a 100644 --- a/ecrire/exec/articles_forum.php +++ b/ecrire/exec/articles_forum.php @@ -80,7 +80,7 @@ function articles_forum_cadres($id_rubrique, $id_article, $titre, $script, $args debut_boite_info(); - echo "<p style='text-align: left: font-family: Verdana,Arial,Sans,sans-serif; font-size: 11px'>", + echo "<p style='text-align: left; font-size: 11px' class='verdana1'>", _T('info_gauche_suivi_forum'), aide ("suiviforum"), "</p>"; diff --git a/ecrire/exec/articles_ortho.php b/ecrire/exec/articles_ortho.php index a061c27a38..84a0b1fb93 100644 --- a/ecrire/exec/articles_ortho.php +++ b/ecrire/exec/articles_ortho.php @@ -184,19 +184,19 @@ if ($les_notes) { debut_cadre_relief(); if ($surtitre) { - echo "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>", $surtitre, "</b></span></span>\n"; + echo "<span $dir_lang><span style='font-size: 16px;' class='arial1'><b>", $surtitre, "</b></span></span>\n"; } gros_titre($titre); if ($soustitre) { - echo "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>", $soustitre, "</b></span></span>\n"; + echo "<span $dir_lang><span style='font-size: 16px;' class='arial1'><b>", $soustitre, "</b></span></span>\n"; } if ($descriptif OR $url_site OR $nom_site) { echo "<div align='$spip_lang_left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4;' $dir_lang>"; $t = ($descriptif) ? "{{"._T('info_descriptif')."}} $descriptif\n\n" : ''; $t .= ($nom_site.$url_site) ? "{{"._T('info_urlref')."}} [".$nom_site."->".$url_site."]" : ''; - echo "<span style='font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif'>", $t, "</span>"; + echo "<span style='font-size: 14px; ' class='verdana1'>", $t, "</span>"; echo "</div>"; } @@ -221,7 +221,7 @@ else { if ($ps) { echo debut_cadre_enfonce(); - echo "<div $dir_lang style='font-size 14px; font-family: Verdana,Arial,Sans,sans-serif'>", "<b>"._T('info_ps')."</b>", $ps, "</div>"; + echo "<div $dir_lang style='font-size 14px; ' class='verdana1'>", "<b>"._T('info_ps')."</b>", $ps, "</div>"; echo fin_cadre_enfonce(); } diff --git a/ecrire/exec/articles_versions.php b/ecrire/exec/articles_versions.php index de531944ee..d93415d02a 100644 --- a/ecrire/exec/articles_versions.php +++ b/ecrire/exec/articles_versions.php @@ -167,12 +167,12 @@ else if ($statut_article == 'poubelle') { echo "\n<table cellpadding='0' cellspacing='0' border='0' width='100%'>"; echo "<tr><td style='width: 100%' valign='top'>"; if ($surtitre) { - echo "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>", propre_diff($surtitre), "</b></span></span>\n"; + echo "<span $dir_lang><span style='font-size: 16px;' class='arial1'><b>", propre_diff($surtitre), "</b></span></span>\n"; } gros_titre(propre_diff($titre), $logo_statut); if ($soustitre) { - echo "<span $dir_lang><span style='font-family: arial,helvetica; font-size: 16px;'><b>", propre_diff($soustitre), "</b></span></span>\n"; + echo "<span $dir_lang><span style='font-size: 16px;' class='arial1'><b>", propre_diff($soustitre), "</b></span></span>\n"; } @@ -180,7 +180,7 @@ if ($descriptif OR $url_site OR $nom_site) { echo "<div align='left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4;' $dir_lang>"; $texte_case = ($descriptif) ? "{{"._T('info_descriptif')."}} $descriptif\n\n" : ''; $texte_case .= ($nom_site.$url_site) ? "{{"._T('info_urlref')."}} [".$nom_site."->".$url_site."]" : ''; - echo "<span style='font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif'>", propre($texte_case), "</span>"; + echo "<span style='font-size: 14px; ' class='verdana1'>", propre($texte_case), "</span>"; echo "</div>"; } @@ -284,7 +284,7 @@ if ($id_version) { if ($ps) { echo debut_cadre_enfonce(); - echo "<div $dir_lang style='font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif'>", justifier("<b>"._T('info_ps')."</b> ".propre_diff($ps)), "</div>"; + echo "<div $dir_lang style='font-size: 14px; ' class='verdana1'>", justifier("<b>"._T('info_ps')."</b> ".propre_diff($ps)), "</div>"; echo fin_cadre_enfonce(); } $revision_nbsp = false; diff --git a/ecrire/exec/auteur_infos.php b/ecrire/exec/auteur_infos.php index 554178bbb8..ef1af266cd 100644 --- a/ecrire/exec/auteur_infos.php +++ b/ecrire/exec/auteur_infos.php @@ -114,7 +114,7 @@ function cadre_auteur_infos($id_auteur, $auteur) if (!$id_auteur) return ''; - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10x; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10x; font-weight: bold; text-align: center' class='verdana1'>" . _T('titre_cadre_numero_auteur') . "<br /><span style='font-size: 32px;'>" . $id_auteur diff --git a/ecrire/exec/auteurs.php b/ecrire/exec/auteurs.php index 0265e3de0d..29e7abfca6 100644 --- a/ecrire/exec/auteurs.php +++ b/ecrire/exec/auteurs.php @@ -303,7 +303,7 @@ function afficher_n_auteurs($auteurs) { . $s . "</td><td class='arial1' style='border-top: 1px solid #cccccc;'>" . $mail - . "</td><td class='verdana11' style='border-top: 1px solid #cccccc;'>" + . "</td><td class='verdana1' style='border-top: 1px solid #cccccc;'>" . $nom . ((isset($row['restreint']) AND $row['restreint']) ? (" <small>"._T('statut_admin_restreint')."</small>") diff --git a/ecrire/exec/breves_voir.php b/ecrire/exec/breves_voir.php index b1cd1432db..a0cf16b613 100644 --- a/ecrire/exec/breves_voir.php +++ b/ecrire/exec/breves_voir.php @@ -71,7 +71,7 @@ function afficher_breves_voir($id_breve, $cherche_mot, $select_groupe) debut_boite_info(); - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10x; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10x; font-weight: bold; text-align: center' class='verdana1'>" . _T('info_gauche_numero_breve') . "<br /><span style='font-size: 32px;'>" . $id_breve @@ -149,7 +149,7 @@ function afficher_breves_voir($id_breve, $cherche_mot, $select_groupe) fin_cadre_enfonce(); } else { - echo "<p><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px;'><b>".affdate($date_heure)." </b></span></p>"; + echo "<p><span style='font-size: 16px;' class='verdana1'><b>".affdate($date_heure)." </b></span></p>"; } } diff --git a/ecrire/exec/calendrier.php b/ecrire/exec/calendrier.php index a488f40a72..f1b92e4310 100644 --- a/ecrire/exec/calendrier.php +++ b/ecrire/exec/calendrier.php @@ -86,7 +86,7 @@ function http_calendrier_aide_mess() { global $bleu, $vert, $jaune, $spip_lang_left; return - "\n<br /><br /><br />\n<table style='font-face: arial,helvetica,sans-serif; font-size: 11px' width='700'>\n<tr><th style='text-align: $spip_lang_left; font-weight: bold;'> " . _T('info_aide'). + "\n<br /><br /><br />\n<table style='font-size: 11px' width='700' class='arial1'>\n<tr><th style='text-align: $spip_lang_left; font-weight: bold;'> " . _T('info_aide'). "</th></tr><tr><td>$bleu\n"._T('info_symbole_bleu')."\n" . "</td></tr><tr><td>$vert\n"._T('info_symbole_vert')."\n" . "</td></tr><tr><td>$jaune\n"._T('info_symbole_jaune')."\n" . diff --git a/ecrire/exec/config_fonctions.php b/ecrire/exec/config_fonctions.php index a401bf5e4d..10a86c2378 100644 --- a/ecrire/exec/config_fonctions.php +++ b/ecrire/exec/config_fonctions.php @@ -450,7 +450,7 @@ function proxy_config() echo "<input type='text' name='http_proxy' value='$http_proxy' size='40' class='forml' />"; if ($http_proxy) { - echo "<p align='$spip_lang_left' style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: #000000;'>" + echo "<p align='$spip_lang_left' style='font-size: 14px; color: #000000;' class='verdana1'>" . _T('texte_test_proxy'); echo "</p>"; diff --git a/ecrire/exec/configuration.php b/ecrire/exec/configuration.php index 291ba45119..268361efbc 100644 --- a/ecrire/exec/configuration.php +++ b/ecrire/exec/configuration.php @@ -405,7 +405,7 @@ else $style = "display: none;"; echo "<p />"; debut_cadre_relief(); echo "\n<table border='0' cellspacing='1' cellpadding='3' width=\"100%\">"; - echo "\n<tr><td style='font-face: Verdana,Arial,Sans,sans-serif; font-size: 11px; color: #000000'>"; + echo "\n<tr><td style='font-size: 11px; color: #000000' class='verdana1'>"; echo _T('info_question_proposer_site'); echo "\n<center><select name='proposer_sites' class='fondo' size='1'>\n"; echo "<option".mySel('0',$proposer_sites).">"._T('item_choix_administrateurs')."</option>\n"; diff --git a/ecrire/exec/controle_forum.php b/ecrire/exec/controle_forum.php index 470560ae1b..e37effb657 100644 --- a/ecrire/exec/controle_forum.php +++ b/ecrire/exec/controle_forum.php @@ -261,7 +261,7 @@ function exec_controle_forum_dist() debut_gauche(); debut_boite_info(); - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'>", _T('info_gauche_suivi_forum_2'), aide("suiviforum"), "</span>"; + echo "<span style='font-size: 14px;' class='verdana1'>", _T('info_gauche_suivi_forum_2'), aide("suiviforum"), "</span>"; // Afficher le lien RSS diff --git a/ecrire/exec/forum_envoi.php b/ecrire/exec/forum_envoi.php index 2ac46cf37b..3d081d4c6b 100644 --- a/ecrire/exec/forum_envoi.php +++ b/ecrire/exec/forum_envoi.php @@ -75,7 +75,7 @@ function forum_envoi( $parent .= justifier(propre($texte_parent)); if (strlen($url_site_parent) > 10 AND $nom_site_parent) { - $parent .="<p style='text-align: left; font-family: Verdana,Arial,Sans,sans-serif; font-weight: bold;'><a href='$url_site_parent'>$nom_site_parent</a></p>"; + $parent .="<p style='text-align: left; font-weight: bold;' class='verdana1'><a href='$url_site_parent'>$nom_site_parent</a></p>"; } $parent .= fin_cadre_forum(true); } diff --git a/ecrire/exec/install.php b/ecrire/exec/install.php index 7bd93bc827..6bfa2e80fa 100644 --- a/ecrire/exec/install.php +++ b/ecrire/exec/install.php @@ -71,7 +71,7 @@ function tester_compatibilite_hebergement() { . "mbstring.func_overload=$a - <a href='http://se.php.net/mb_string'>mb_string</a>.<br /><small>"; if ($err) { - echo "<p style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 18px;'><b>"._T('avis_attention').'</b></p><p>'._T('install_echec_annonce')."</p><ul>"; + echo "<p style='font-size: 18px;' class='verdana1'><b>"._T('avis_attention').'</b></p><p>'._T('install_echec_annonce')."</p><ul>"; while (list(,$e) = each ($err)) echo "<li>$e</li>\n"; diff --git a/ecrire/exec/message.php b/ecrire/exec/message.php index 844662de14..f2c6f00641 100644 --- a/ecrire/exec/message.php +++ b/ecrire/exec/message.php @@ -138,7 +138,7 @@ function http_auteurs_ressemblants($cherche_auteur, $id_message) $row = spip_fetch_array(spip_query("SELECT nom FROM spip_auteurs WHERE id_auteur=$nouv_auteur")); $nom_auteur = $row['nom']; return "<b>"._T('info_ajout_participant')."</b><br />" . - "<ul><li><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><b><span style='font-size: 16px;'>$nom_auteur</span></b></span>\n</ul>"; + "<ul><li><span style='font-size: 14px;' class='verdana1'><b><span style='font-size: 16px;'>$nom_auteur</span></b></span>\n</ul>"; } else if (count($resultat) < 16) { $res = ''; @@ -149,7 +149,7 @@ function http_auteurs_ressemblants($cherche_auteur, $id_message) $nom_auteur = $row['nom']; $email_auteur = $row['email']; $bio_auteur = $row['bio']; - $res .= "<li><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px;><b>$nom_auteur</b></span>" . + $res .= "<li><span style='font-size: 16px; class='verdana1'><b>$nom_auteur</b></span>" . ($email_auteur ? " ($email_auteur)" : '') . " | <a href='" . generer_url_ecrire('message', "id_message=$id_message&ajout_auteur=oui&nouv_auteur=$id_auteur") . "'>" . @@ -188,7 +188,7 @@ function http_ajouter_participants($ze_auteurs, $id_message) echo "<div align='left'>"; echo generer_url_post_ecrire('message'); - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><b>", _T('bouton_ajouter_participant')," </b></span>\n", + echo "<span style='font-size: 14px;' class='verdana1'><b>", _T('bouton_ajouter_participant')," </b></span>\n", "<input type='hidden' name='id_message' value=\"$id_message\" />"; if (spip_num_rows($result_ajout_auteurs) > 50) { @@ -296,8 +296,8 @@ function http_message_avec_participants($id_message, $statut, $forcer_dest, $nou $aut = (($id_auteur != $expediteur) ? '' : ("<span class='arial0'>". _T('info_auteur_message') ."</span> ")); - $res .= "<tr><td bgcolor='$couleur'><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'> ". bonhomme_statut($row)." " . $aut . $nom_auteur . "</span></td>" . - "<td bgcolor='$couleur' align='right'><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 12px;'>" . (($id_auteur == $connect_id_auteur) ? " " : ("[<a href='" . generer_url_ecrire("message","id_message=$id_message&supp_dest=$id_auteur") . "'>"._T('lien_retrait_particpant')."</a>]")) . "</span></td></tr>\n"; + $res .= "<tr><td bgcolor='$couleur'><span style='font-size: 14px;' class='verdana1'> ". bonhomme_statut($row)." " . $aut . $nom_auteur . "</span></td>" . + "<td bgcolor='$couleur' align='right'><span style='font-size: 12px;' class='verdana1'>" . (($id_auteur == $connect_id_auteur) ? " " : ("[<a href='" . generer_url_ecrire("message","id_message=$id_message&supp_dest=$id_auteur") . "'>"._T('lien_retrait_particpant')."</a>]")) . "</span></td></tr>\n"; } echo http_visualiser_participants($auteurs_tmp), @@ -314,7 +314,7 @@ function http_message_avec_participants($id_message, $statut, $forcer_dest, $nou else { echo debut_block_invisible("ajouter_auteur"), - "<br /><div align='right'><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><a href='" . generer_url_ecrire("message","id_message=$id_message&forcer_dest=oui") . "'>"._T('lien_ajouter_participant')."</a></span></div>", + "<br /><div align='right'><span style='font-size: 14px;' class='verdana1'><a href='" . generer_url_ecrire("message","id_message=$id_message&forcer_dest=oui") . "'>"._T('lien_ajouter_participant')."</a></span></div>", fin_block(); } fin_cadre_enfonce(); @@ -349,13 +349,13 @@ function http_affiche_message($id_message, $expediteur, $statut, $type, $texte, echo "\n<table width='100%' cellpadding='0' cellspacing='0' border='0'>"; echo "<tr><td>"; # uniques - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: $la_couleur'><b>$le_type</b></span><br />"; - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 20px;'><b>$titre</b></span>"; + echo "<span style='font-size: 14px; color: $la_couleur' class='verdana1'><b>$le_type</b></span><br />"; + echo "<span style='font-size: 20px;' class='verdana1'><b>$titre</b></span>"; if ($statut == 'redac') { - echo "<br /><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: red;'><b>"._T('info_redaction_en_cours')."</b></span>"; + echo "<br /><span style='font-size: 14px; color: red;' class='verdana1'><b>"._T('info_redaction_en_cours')."</b></span>"; } else if ($rv == 'non') { - echo "<br /><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: #666666;'><b>".nom_jour($date_heure).' '.affdate_heure($date_heure)."</b></span>"; + echo "<br /><span style='font-size: 14px; color: #666666;' class='verdana1'><b>".nom_jour($date_heure).' '.affdate_heure($date_heure)."</b></span>"; } @@ -389,7 +389,7 @@ function http_affiche_message($id_message, $expediteur, $statut, $type, $texte, if ($expediteur == $connect_id_auteur AND $statut == 'redac') { if ($type == 'normal' AND $total_dest < 2) { - echo "<p style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color: #666666; text-align: right;'><b>"._T('avis_destinataire_obligatoire')."</b></p>"; + echo "<p style='font-size: 14px; color: #666666; text-align: right;' class='verdana1'><b>"._T('avis_destinataire_obligatoire')."</b></p>"; } else { echo "\n<div align='center'><table><tr><td>"; icone (_T('icone_envoyer_message'), (generer_url_ecrire("message","id_message=$id_message&change_statut=publie")), "messagerie-24.gif", "creer.gif"); diff --git a/ecrire/exec/message_edit.php b/ecrire/exec/message_edit.php index 0168faa86a..674aeb2b74 100644 --- a/ecrire/exec/message_edit.php +++ b/ecrire/exec/message_edit.php @@ -67,11 +67,11 @@ function exec_message_edit_dist() debut_droite(); echo "<div class='arial2'>"; - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px; color:green'><b>$le_type</b></span>"; + echo "<span style='font-size: 14px; color:green' class='verdana1'><b>$le_type</b></span>"; echo generer_url_post_ecrire('message',"id_message=$id_message"); if ($type == "affich") - echo "<p style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 12px; color:red;'>", _T('texte_message_edit'),"</p>"; + echo "<p style='font-size: 12px; color:red;' class='verdana1'>", _T('texte_message_edit'),"</p>"; echo "\n<p><input type='hidden' name='modifier_message' value='oui'/>"; echo "\n<input type='hidden' name='id_message' value='$id_message'/>"; diff --git a/ecrire/exec/messagerie.php b/ecrire/exec/messagerie.php index f652fd1af3..b204b8409d 100644 --- a/ecrire/exec/messagerie.php +++ b/ecrire/exec/messagerie.php @@ -138,7 +138,7 @@ if (spip_num_rows($result) > 0) { $id_auteur = $row['id_auteur']; $nom = typo($row["nom"]); $total = $row["total"]; - echo "<div class='tr_liste' onMouseOver=\"changeclass(this,'tr_liste_over');\" onMouseOut=\"changeclass(this,'tr_liste');\" style=' padding: 2px; padding-left: 10px; border-bottom: 1px solid #cccccc;'><div class='verdana1'><img src='" . _DIR_IMG_PACK . "redac-12.gif' border='0'> <a href='" . generer_url_ecrire("auteurs_edit","id_auteur=$id_auteur") . "'>$nom</a> ($total)</div></div>"; + echo "<div class='tr_liste' onmouseover=\"changeclass(this,'tr_liste_over');\" onmouseout=\"changeclass(this,'tr_liste');\" style='padding: 2px; padding-left: 10px; border-bottom: 1px solid #cccccc;'><div class='verdana1'><img src='" . _DIR_IMG_PACK . "redac-12.gif' border='0'> <a href='" . generer_url_ecrire("auteurs_edit","id_auteur=$id_auteur") . "'>$nom</a> ($total)</div></div>"; if ($count == ceil(spip_num_rows($result)/2)) echo "</td><td valign='top' width='50%' style='background-color: #eeeeee;'>"; } echo "</td></tr></table>"; diff --git a/ecrire/exec/mots_edit.php b/ecrire/exec/mots_edit.php index f033b7d647..fd91f61ab5 100644 --- a/ecrire/exec/mots_edit.php +++ b/ecrire/exec/mots_edit.php @@ -80,7 +80,7 @@ global // if ($id_mot) { - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10px; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10px; font-weight: bold; text-align: center' class='verdana1'>" . _T('titre_gauche_mots_edit') . "<br /><span style='font-size: 32px;'>" . $id_mot @@ -142,7 +142,7 @@ global if ($descriptif) { - $out .= "<div style='border: 1px dashed #aaaaaa; font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif;'>"; + $out .= "<div style='border: 1px dashed #aaaaaa; font-size: 14px; ' class='verdana1'>"; $out .= "<b>" . _T('info_descriptif') . "</b> "; $out .= propre($descriptif); $out .= " "; @@ -154,7 +154,7 @@ global if (strlen($texte)>0){ - $out .= "<p style='font-family: Verdana,Arial,Sans,sans-serif'>"; + $out .= "<p style='font-size: 14px; ' class='verdana1'>"; $out .= propre($texte); $out .= "</p>"; } diff --git a/ecrire/exec/mots_tous.php b/ecrire/exec/mots_tous.php index bc76852100..b1c8861713 100644 --- a/ecrire/exec/mots_tous.php +++ b/ecrire/exec/mots_tous.php @@ -86,13 +86,13 @@ function exec_mots_tous_dist() if ($acces_comite == "oui") $res .= "> "._T('info_redacteurs')." "; if ($acces_forum == "oui") $res .= "> "._T('info_visiteurs_02')." "; - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 12px;'>", $res, "</span>"; + echo "<span style='font-size: 12px;' class='verdana1'>", $res, "</span>"; if ($descriptif) { - echo "<div style='border: 1px dashed #aaaaaa; font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif'>", "<b>",_T('info_descriptif'),"</b> ", propre($descriptif), " </div>"; + echo "<div style='border: 1px dashed #aaaaaa; font-size: 14px; ' class='verdana1'>", "<b>",_T('info_descriptif'),"</b> ", propre($descriptif), " </div>"; } if (strlen($texte)>0){ - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif'>", propre($texte), "</span>"; + echo "<span style='font-size: 14px; ' class='verdana1'>", propre($texte), "</span>"; } // diff --git a/ecrire/exec/mots_type.php b/ecrire/exec/mots_type.php index 5a56cf3621..a70fcea0e7 100644 --- a/ecrire/exec/mots_type.php +++ b/ecrire/exec/mots_type.php @@ -97,10 +97,10 @@ function exec_mots_type_dist() . "</td>" . "<td>". http_img_pack('rien.gif', " ", "width='5'") . "</td>\n" . "<td style='width: 100%' valign='top'>" - . "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 12px;'><b>". _T('titre_groupe_mots') . "</b></span><br />" + . "<span style='font-size: 12px;' class='verdana1'><b>". _T('titre_groupe_mots') . "</b></span><br />" . gros_titre($titre,'',false) . aide("motsgroupes") - . "<div style='font-family: Verdana,Arial,Sans,sans-serif;'>" + . "<div class='verdana1'>" . debut_cadre_formulaire('',true) . "<b>"._T('info_changer_nom_groupe')."</b><br />\n" . "<input type='text' size='40' class='formo' name='change_type' value=\"$type\" $onfocus />\n"; @@ -129,7 +129,7 @@ function exec_mots_type_dist() . "</div>" . "</td></tr></table>" . fin_cadre_relief(true) - . "<br />\n<div style='font-family: Verdana,Arial,Sans,sans-serif;'>" + . "<br />\n<div class='verdana1'>" . debut_cadre_formulaire('',true) . "<div style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #dddddd;'>" . "<b>"._T('info_mots_cles_association')."</b>" diff --git a/ecrire/exec/naviguer.php b/ecrire/exec/naviguer.php index 3c6fe35ec6..fadefec5b4 100644 --- a/ecrire/exec/naviguer.php +++ b/ecrire/exec/naviguer.php @@ -105,7 +105,7 @@ function exec_naviguer_dist() if (strlen($texte) > 1) { - echo "\n<div align='justify' style='font-size: 16px; font-face: Verdana,Arial,Sans,sans-serif'>", justifier(propre($texte)), "</div>"; + echo "\n<div align='justify' style='font-size: 16px; ' class='verdana1'>", justifier(propre($texte)), "</div>"; } langue_naviguer($id_rubrique, $id_parent, $flag_editable); @@ -134,7 +134,7 @@ function exec_naviguer_dist() function infos_naviguer($id_rubrique, $statut) { if ($id_rubrique > 0) { - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10x; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10x; font-weight: bold; text-align: center' class='verdana1'>" . _T('titre_numero_rubrique') . "<br /><span style='font-size: 32px;'>" . $id_rubrique @@ -429,7 +429,7 @@ function montre_naviguer($id_rubrique, $titre, $descriptif, $logo, $flag_editabl echo "</tr>\n"; if (strlen($descriptif) > 1) { - echo "<tr><td><div align='$spip_lang_left' style='padding: 5px; border: 1px dashed #aaaaaa; font-size: 14px; font-family: Verdana,Arial,Sans,sans-serif'>", propre($descriptif."~"), "</div></td></tr>\n"; + echo "<tr><td><div align='$spip_lang_left' style='padding: 5px; border: 1px dashed #aaaaaa; font-size: 14px; ' class='verdana1'>", propre($descriptif."~"), "</div></td></tr>\n"; } echo "</table>\n"; } diff --git a/ecrire/exec/recherche.php b/ecrire/exec/recherche.php index d6ee84e70d..9481f9faca 100644 --- a/ecrire/exec/recherche.php +++ b/ecrire/exec/recherche.php @@ -42,8 +42,8 @@ function exec_recherche_dist() if (strlen($recherche) > 0) { - echo "<span style='font-family: Verdana,Arial,Sans,sans-serif'><b>"._T('info_resultat_recherche')."</b></span><br />"; - echo "<span style='font-size: 20px; font-family: Verdana,Arial,Sans,sans-serif; color: $couleur_foncee'><b>$recherche_aff</b></span>"; + echo "<span class='verdana1'><b>"._T('info_resultat_recherche')."</b></span><br />"; + echo "<span style='font-size: 20px; color: $couleur_foncee' class='verdana1'><b>$recherche_aff</b></span>"; $query_articles['FROM'] = 'spip_articles AS articles'; $query_breves['FROM'] = 'spip_breves'; @@ -127,7 +127,7 @@ function exec_recherche_dist() } if (!$nba AND !$nba1 AND !$nbb AND !$nbb1 AND !$nbr AND !$nbr1 AND !$nbt AND !$nbs AND !$nbs1) { - echo "<p style='font-face: Verdana,Arial,Sans,sans-serif'>"._T('avis_aucun_resultat')."</p>"; + echo "<p class='verdana1'>"._T('avis_aucun_resultat')."</p>"; } } echo fin_gauche(), fin_page(); @@ -159,7 +159,7 @@ function afficher_auteurs ($titre_table, $requete) { echo "<p><table width='100%' cellpadding='0' cellspacing='0' border='0'>"; echo "<tr><td style='width: 100%'>"; echo "<table width='100%' cellpadding='3' cellspacing='0' border='0'>"; - echo "<tr bgcolor='#333333'><td style='width: 100%' colspan='5'><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px; color: #FFFFFF;'><b>$titre_table</b></span></td></tr>"; + echo "<tr bgcolor='#333333'><td style='width: 100%' colspan='5'><span style='font-size: 16px; color: #FFFFFF;' class='verdana1'><b>$titre_table</b></span></td></tr>"; } else { echo "<p><table width='100%' cellpadding='3' cellspacing='0' border='0'>"; diff --git a/ecrire/exec/sites.php b/ecrire/exec/sites.php index 48a425cfd0..b5b6f3608e 100644 --- a/ecrire/exec/sites.php +++ b/ecrire/exec/sites.php @@ -132,7 +132,7 @@ debut_gauche(); debut_boite_info(); - $res = "\n<div style='font-famuily: Verdana,Arial,Sans,sans-serif; font-size: 10x; font-weight: bold; text-align: center'>" + $res = "\n<div style='font-size: 10x; font-weight: bold; text-align: center' class='verdana1'>" . _T('titre_site_numero') . "<br /><span style='font-size: 32px;'>" . $id_syndic @@ -184,7 +184,7 @@ if (strlen($url_affichee) > 40) $url_affichee = substr($url_affichee, 0, 30).".. echo "<a href='$url_site'><b>$url_affichee</b></a>"; if (strlen($descriptif) > 1) { - echo "<div align='left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4; margin-top: 5px; font-size: 13px; font-face: Verdana,Arial,Sans,sans-serif;'>"; + echo "<div align='left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4; margin-top: 5px; font-size: 13px; ' class='verdana1'>"; echo "<b>"._T('info_descriptif')."</b> "; echo propre($descriptif); echo " "; @@ -209,7 +209,7 @@ if ($flag_editable AND ($options == 'avancees' OR $statut == 'publie')) { fin_cadre_enfonce(); } else { - echo "<br />\n<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px;'>"._T('info_site_propose')." <b>".affdate($date_heure)." </b></span>"; + echo "<br />\n<span style='font-size: 16px;' class='verdana1'>"._T('info_site_propose')." <b>".affdate($date_heure)." </b></span>"; } } @@ -256,7 +256,7 @@ if (!$resume AND !$resume = $row['resume']) $resume = 'oui'; if ($syndication == "oui" OR $syndication == "off" OR $syndication == "sus") { - echo "<p style='font-size: 16px; font-family: Verdana,Arial,Sans,sans-serif'><a href='".htmlspecialchars($url_syndic)."'>", http_img_pack('feed.png', 'RSS', ''), '</a> <b>'._T('info_site_syndique').'</b></p>'; + echo "<p style='font-size: 16px; ' class='verdana1'><a href='".htmlspecialchars($url_syndic)."'>", http_img_pack('feed.png', 'RSS', ''), '</a> <b>'._T('info_site_syndique').'</b></p>'; if ($erreur_syndic) echo "<p style='color: red; font-weight: bold;'>",$erreur_syndic,"</p>"; @@ -285,7 +285,7 @@ if ($syndication == "oui" OR $syndication == "off" OR $syndication == "sus") { if ($date_syndic) echo "<div align='left'>". - "<span style='font-family: verdana,arial,helvetica; font-size: 14px;'>", _T('info_derniere_syndication').' '.affdate_heure($date_syndic) .".</span></div>\n"; + "<span style='font-size: 14px;' class='verdana1'>", _T('info_derniere_syndication').' '.affdate_heure($date_syndic) .".</span></div>\n"; echo "<div align='right'>\n"; diff --git a/ecrire/exec/sites_edit.php b/ecrire/exec/sites_edit.php index c0af778951..8bafe8019b 100644 --- a/ecrire/exec/sites_edit.php +++ b/ecrire/exec/sites_edit.php @@ -80,7 +80,7 @@ AND ( $connect_statut == '0minirezo' OR $GLOBALS['meta']["proposer_sites"] > 0) ) { - $form_auto = "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'>" . _T('texte_referencement_automatique') . "</span>" + $form_auto = "<span style='font-size: 14px;' class='verdana1'>" . _T('texte_referencement_automatique') . "</span>" . "\n<div align='right'><input type=\"text\" name=\"url\" class='fondl' size='40' value=\"http://\" />\n" . "\n<input type='hidden' name='id_parent' value='".intval(_request('id_rubrique'))."' />\n" . "<input type=\"submit\" value=\""._T('bouton_ajouter')."\" class='fondo' />\n"; diff --git a/ecrire/exec/statistiques_lang.php b/ecrire/exec/statistiques_lang.php index e6fa4740bc..636595be74 100644 --- a/ecrire/exec/statistiques_lang.php +++ b/ecrire/exec/statistiques_lang.php @@ -107,7 +107,7 @@ function exec_statistiques_lang_dist() echo "</table>\n"; -//echo "<p><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 16px;'>"._T('texte_signification')."</span>"; +//echo "<p><span style='font-size: 16px;' class='verdana1'>"._T('texte_signification')."</span>"; fin_cadre_enfonce(); diff --git a/ecrire/exec/statistiques_referers.php b/ecrire/exec/statistiques_referers.php index 42a3de1428..75b0adbba9 100644 --- a/ecrire/exec/statistiques_referers.php +++ b/ecrire/exec/statistiques_referers.php @@ -45,7 +45,7 @@ echo "<br /><br /><br />"; debut_gauche(); debut_boite_info(); -echo "<p style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small; text-align:left;'>"._T('info_gauche_statistiques_referers')."</p>"; +echo "<p style='font-size:small; text-align:left;' class='verdana1'>"._T('info_gauche_statistiques_referers')."</p>"; fin_boite_info(); debut_droite(); @@ -76,7 +76,7 @@ echo barre_onglets("stat_referers", $jour); $result = spip_query("SELECT referer, visites_$jour AS vis FROM spip_referers WHERE visites_$jour>0 ORDER BY vis DESC LIMIT $limit"); - echo "<br /><div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<br /><div style='font-size:small;' class='verdana1'>"; echo aff_referers ($result, $limit, generer_url_ecrire('statistiques_referers', ("jour=$jour&limit=" . strval($limit+200)))); echo "</div><br />"; diff --git a/ecrire/exec/statistiques_svg.php b/ecrire/exec/statistiques_svg.php index c018ca1321..0dd15e670d 100644 --- a/ecrire/exec/statistiques_svg.php +++ b/ecrire/exec/statistiques_svg.php @@ -258,19 +258,19 @@ if ($connect_statut != '0minirezo') { echo "<rect x='0' y='0' width='".round($largeur*$nb_jours/$agreg)."' height='300' style='stroke-width: 1px; stroke: black; fill: blue; fill-opacity: 0; '/>\n"; - echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='300' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='300' class='verdana1' font-size='8' fill='black' >"; echo "0"; echo "</text>\n"; - echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='228' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='228' class='verdana1' font-size='8' fill='black' >"; echo round($maxgraph/4); echo "</text>\n"; - echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='153' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='153' class='verdana1' font-size='8' fill='black' >"; echo round($maxgraph/2); echo "</text>\n"; - echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='78' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='78' class='verdana1' font-size='8' fill='black' >"; echo round(3*$maxgraph/4); echo "</text>\n"; - echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='8' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".(round($largeur*$nb_jours/$agreg)+3)."' y='8' class='verdana1' font-size='8' fill='black' >"; echo round($maxgraph); echo "</text>\n"; @@ -289,7 +289,7 @@ if ($connect_statut != '0minirezo') { //echo "<div class='arial0' style='border-$spip_lang_left: 1px solid black; padding-$spip_lang_left: 2px; padding-top: 3px; position: absolute; $spip_lang_left: ".$gauche."px; top: -1px;'>".$afficher."</div>"; echo "<rect x='$gauche' y='300' width='1' height='10' style='fill: black;'/>\n"; - echo " <text x='".($gauche+3)."' y='308' font-family='Verdana, helvetica, sans-serif, sans' font-size='8' fill='black' >"; + echo " <text x='".($gauche+3)."' y='308' class='verdana1' font-size='8' fill='black' >"; echo filtrer_ical($afficher); echo "</text>\n"; diff --git a/ecrire/exec/statistiques_visites.php b/ecrire/exec/statistiques_visites.php index ef5edfdfb7..bb2b404fa9 100644 --- a/ecrire/exec/statistiques_visites.php +++ b/ecrire/exec/statistiques_visites.php @@ -80,7 +80,7 @@ function exec_statistiques_visites_dist() $titre = $pourarticle = ""; - $style = "style='font-family: arial,helvetica,sans-serif; font-size: 12px; color: #999999'"; + $style = "class='arial1' style='font-size: 12px; color: #999999'"; if ($id_article = intval($id_article)){ $result = spip_query("SELECT titre, visites, popularite FROM spip_articles WHERE statut='publie' AND id_article=$id_article"); @@ -113,7 +113,7 @@ if ($origine) { debut_gauche(); debut_boite_info(); - echo "<p align='left' style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"._T('info_gauche_statistiques_referers')."</p>"; + echo "<p align='left' style='font-size:small;' class='verdana1'>"._T('info_gauche_statistiques_referers')."</p>"; fin_boite_info(); debut_droite(); @@ -132,7 +132,7 @@ else { echo "<br />"; echo "<div class='iconeoff' style='padding: 5px;'>"; - echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<div style='font-size:small;' class='verdana1'>"; echo typo(_T('info_afficher_visites')); echo "<ul>"; if ($id_article>0) { @@ -163,7 +163,7 @@ else { if ($nombre_articles > 0) { echo "<br />\n"; echo "<div class='iconeoff' style='padding: 5px;'>\n"; - echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<div style='font-size:small;' class='verdana1'>"; echo typo(_T('info_visites_plus_populaires')); echo "<ol style='padding-left:40px; font-size:x-small;color:#666666;'>"; $liste = 0; @@ -226,7 +226,7 @@ else { creer_colonne_droite(); echo "<br /><div class='iconeoff' style='padding: 5px;'>"; - echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;overflow:hidden;'>"; + echo "<div style='font-size:small;overflow:hidden;' class='verdana1'>"; echo typo(_T('info_affichier_visites_articles_plus_visites')); echo "<ol style='padding-left:40px; font-size:x-small;color:#666666;'>"; @@ -554,34 +554,34 @@ if ($GLOBALS['accepte_svg']) { echo "</td>", "<td ".http_style_background("fond-stats.gif")." valign='bottom'>", http_img_rien(3, 1, 'background-color:black;'),"</td>"; echo "<td>", http_img_rien(5, 1),"</td>"; - echo "<td valign='top'><div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<td valign='top'><div style='font-size:small;' class='verdana1'>"; echo "<table cellpadding='0' cellspacing='0' border='0'>"; echo "<tr><td height='15' valign='top'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>".round($maxgraph)."</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>".round($maxgraph)."</b></span>"; echo "</td></tr>"; - echo "<tr><td height='25' valign='middle'>"; - echo "<span $style>",round(7*($maxgraph/8))."</span>"; + echo "<tr><td height='25' valign='middle' $style>"; + echo round(7*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'>".round(3*($maxgraph/4))."</span>"; + echo "<span style='font-size: 12px;' class='arial1'>".round(3*($maxgraph/4))."</span>"; echo "</td></tr>"; - echo "<tr><td height='25' valign='middle'>"; - echo "<span $style>",round(5*($maxgraph/8)),"</span>"; + echo "<tr><td height='25' valign='middle' $style>"; + echo round(5*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>".round($maxgraph/2)."</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>".round($maxgraph/2)."</b></span>"; echo "</td></tr>"; - echo "<tr><td height='25' valign='middle'>"; - echo "<span $style>",round(3*($maxgraph/8)),"</span>"; + echo "<tr><td height='25' valign='middle' $style>"; + echo round(3*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'>".round($maxgraph/4)."</span>"; + echo "<span style='font-size: 12px;' class='arial1'>".round($maxgraph/4)."</span>"; echo "</td></tr>"; - echo "<tr><td height='25' valign='middle'>"; - echo "<span $style>",round(1*($maxgraph/8)),"</span>"; + echo "<tr><td height='25' valign='middle' $style>"; + echo round(1*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='10' valign='bottom'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>0</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>0</b></span>"; echo "</td>"; @@ -615,16 +615,16 @@ if ($GLOBALS['accepte_svg']) { // (desactive au profit de la moeynne "glissante") # $moyenne = round($total_absolu / ((date("U")-$date_premier)/(3600*24))); - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'>"._T('texte_statistiques_visites')."</span>"; + echo "<span style='font-size: 12px;' class='arial1'>"._T('texte_statistiques_visites')."</span>"; echo "<br /><table cellpadding='0' cellspacing='0' border='0' width='100%'><tr style='width:100%;'>"; - echo "<td valign='top' style='width: 33%; font-family: Verdana,Arial,Sans,sans-serif'>", _T('info_maximum')." ".$max, "<br />"._T('info_moyenne')." ".round($moyenne), "</td>"; - echo "<td valign='top' style='width: 33%; font-family: Verdana,Arial,Sans,sans-serif'>"; + echo "<td valign='top' style='width: 33%; ' class='verdana1'>", _T('info_maximum')." ".$max, "<br />"._T('info_moyenne')." ".round($moyenne), "</td>"; + echo "<td valign='top' style='width: 33%; ' class='verdana1'>"; echo '<a href="' . generer_url_ecrire("statistiques_referers","").'" title="'._T('titre_liens_entrants').'">'._T('info_aujourdhui').'</a> '.$visites_today; if ($val_prec > 0) echo '<br /><a href="' . generer_url_ecrire("statistiques_referers","jour=veille").'" title="'._T('titre_liens_entrants').'">'._T('info_hier').'</a> '.$val_prec; if ($id_article) echo "<br />"._T('info_popularite_5').' '.$val_popularite; echo "</td>"; - echo "<td valign='top' style='width: 33%; font-family: Verdana,Arial,Sans,sans-serif'>"; + echo "<td valign='top' style='width: 33%; ' class='verdana1'>"; echo "<b>"._T('info_total')." ".$total_absolu."</b>"; if ($id_article) { @@ -643,7 +643,7 @@ if ($GLOBALS['accepte_svg']) { if (count($log) > 60) { echo "<br />"; - echo "<span style='font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;'><b>"._T('info_visites_par_mois')."</b></span>"; + echo "<span style='font-size: 14px;' class='verdana1'><b>"._T('info_visites_par_mois')."</b></span>"; echo "<div align='left'>"; ///////// Affichage par mois @@ -746,34 +746,34 @@ if ($GLOBALS['accepte_svg']) { echo "</td>", "<td ".http_style_background("fond-stats.gif")." valign='bottom'>", http_img_rien(3, 1, 'background-color:black;'),"</td>"; echo "<td>", http_img_rien(5, 1),"</td>"; - echo "<td valign='top'><div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;'>"; + echo "<td valign='top'><div style='font-size:small;' class='verdana1'>"; echo "<table cellpadding='0' cellspacing='0' border='0'>"; echo "<tr><td height='15' valign='top'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>".round($maxgraph)."</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>".round($maxgraph)."</b></span>"; echo "</td></tr>"; echo "<tr><td height='25' valign='middle' $style>"; echo round(7*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'>".round(3*($maxgraph/4))."</span>"; + echo "<span style='font-size: 12px;' class='arial1'>".round(3*($maxgraph/4))."</span>"; echo "</td></tr>"; echo "<tr><td height='25' valign='middle' $style>"; echo round(5*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>".round($maxgraph/2)."</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>".round($maxgraph/2)."</b></span>"; echo "</td></tr>"; echo "<tr><td height='25' valign='middle' $style>"; echo round(3*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='25' valign='middle'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'>".round($maxgraph/4)."</span>"; + echo "<span style='font-size: 12px;' class='arial1'>".round($maxgraph/4)."</span>"; echo "</td></tr>"; echo "<tr><td height='25' valign='middle' $style>"; echo round(1*($maxgraph/8)); echo "</td></tr>"; echo "<tr><td height='10' valign='bottom'>"; - echo "<span style='font-family: arial,helvetica,sans-serif; font-size: 12px;'><b>0</b></span>"; + echo "<span style='font-size: 12px;' class='arial1'><b>0</b></span>"; echo "</td>"; echo "</tr></table>"; @@ -792,7 +792,7 @@ if ($GLOBALS['accepte_svg']) { } else { $lien = 'oui'; $alter = 'SVG'; } - echo "\n<div align='".$GLOBALS['spip_lang_right']."' style='font-family:Verdana,Arial,Sans,sans-serif; font-size:x-small;'> + echo "\n<div align='".$GLOBALS['spip_lang_right']."' style='font-size:x-small;' class='verdana1'> <a href='". parametre_url(self(), 'var_svg', $lien)."'>$alter</a> | <a href='". parametre_url(self(), 'format', 'csv')."'>CSV</a>". @@ -826,7 +826,7 @@ $result = spip_query("SELECT referer, $vis AS vis FROM $table_ref WHERE $where O echo "<br /><br /><br />"; gros_titre(_T("onglet_origine_visites")); -echo "<div style='font-family:Verdana,Arial,Sans,sans-serif; font-size:small;overflow:hidden;'><br />"; +echo "<div style='font-size:small;overflow:hidden;' class='verdana1'><br />"; echo aff_referers ($result, $limit, generer_url_ecrire('statistiques_visites', ('limit=' . strval($limit+200)))); echo "<br /></div>"; diff --git a/ecrire/inc/chercher_rubrique.php b/ecrire/inc/chercher_rubrique.php index 8c9be8b545..53bad9dc39 100644 --- a/ecrire/inc/chercher_rubrique.php +++ b/ecrire/inc/chercher_rubrique.php @@ -170,7 +170,7 @@ function selecteur_rubrique_html($id_rubrique, $type, $restreint, $idem=0) { $opt = sous_menu_rubriques($id_rubrique,0, 0,$data,$enfants,$idem, $restreint, $type); - $att = " name='id_parent'\nstyle='font-size: 90%; width: 99%; font-face: verdana,arial,helvetica,sans-serif; max-height: 24px;'"; + $att = " name='id_parent'\nstyle='font-size: 90%; width: 99%; max-height: 24px;' class='verdana1'"; if (preg_match(',^<option[^<>]*value=.(\d*).[^<>]*>([^<]*)</option>$,',$opt,$r)) $r = "<input$att type='hidden' value='" . $r[1] . "' />" . $r[2] ; diff --git a/ecrire/inc/documents.php b/ecrire/inc/documents.php index 240aa812c6..905f728ab1 100644 --- a/ecrire/inc/documents.php +++ b/ecrire/inc/documents.php @@ -288,7 +288,7 @@ function afficher_case_document($id_document, $id, $script, $type, $deplier=fals // Affichage du raccourci <doc...> correspondant if (!$doublon) { - $ret .= "\n<div style='padding:2px; font-size: 10px; font-family: arial,helvetica,sans-serif'>"; + $ret .= "\n<div style='padding:2px; font-size: 10px; ' class='arial1'>"; if ($options == "avancees" AND ($type_inclus == "embed" OR $type_inclus == "image") AND $largeur > 0 AND $hauteur > 0) { $ret .= "<b>"._T('info_inclusion_vignette')."</b><br />"; } @@ -300,7 +300,7 @@ function afficher_case_document($id_document, $id, $script, $type, $deplier=fals $ret .= "</div>"; if ($options == "avancees" AND ($type_inclus == "embed" OR $type_inclus == "image") AND $largeur > 0 AND $hauteur > 0) { - $ret .= "<div style='padding:2px; font-size: 10px; font-family: arial,helvetica,sans-serif'>"; + $ret .= "<div style='padding:2px; font-size: 10px; ' class='arial1'>"; $ret .= "<b>"._T('info_inclusion_directe')."</b><br />"; $ret .= "<div style='color: 333333'>" . affiche_raccourci_doc('emb', $id_document, 'left') @@ -310,7 +310,7 @@ function afficher_case_document($id_document, $id, $script, $type, $deplier=fals $ret .= "</div>"; } } else { - $ret .= "<div style='padding:2px; font-size: 12px; font-family: arial,helvetica,sans-serif'>". affiche_raccourci_doc('doc', $id_document, ''). "</div>"; + $ret .= "<div style='padding:2px; font-size: 12px; ' class='arial1'>". affiche_raccourci_doc('doc', $id_document, ''). "</div>"; } $legender = charger_fonction('legender', 'inc'); @@ -343,7 +343,7 @@ function afficher_case_document($id_document, $id, $script, $type, $deplier=fals } else { $raccourci_doc .= affiche_raccourci_doc($doc, $id_document, ''); } - $raccourci_doc = "<div style='padding:2px; font-size: 12px; font-family: arial,helvetica,sans-serif'>$raccourci_doc</div>\n"; + $raccourci_doc = "<div style='padding:2px; font-size: 12px; ' class='arial1'>$raccourci_doc</div>\n"; // // Afficher un apercu (pour les images) diff --git a/ecrire/inc/editer_article.php b/ecrire/inc/editer_article.php index 0bdf206e0f..e474ed7c81 100644 --- a/ecrire/inc/editer_article.php +++ b/ecrire/inc/editer_article.php @@ -265,7 +265,7 @@ function editer_article_chapo($chapo, $config, $aider) return "<div style='border: 1px dashed #666666; background-color: #f0f0f0; padding: 5px;'>" . "<table width='100%' cellspacing='0' cellpadding='0' border='0'>" . "<tr><td valign='top'>" . - "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><b><label for='confirme-virtuel'>"._T('info_redirection')." :</label></b>" . $aider ("artvirt") . "</span>" . + "<span style='font-size: 14px;' class='verdana1'><b><label for='confirme-virtuel'>"._T('info_redirection')." :</label></b>" . $aider ("artvirt") . "</span>" . "</td>" . "<td style='width: 10px'> </td>" . "<td valign='top' style='width: 50%'>" . @@ -273,7 +273,7 @@ function editer_article_chapo($chapo, $config, $aider) style='font-size:9px;' value=\"$virtuel\" size='40' />" . "<input type='hidden' name='changer_virtuel' value='oui' />" . "</td></tr></table>\n" . - "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'>" . _T('texte_article_virtuel_reference') . "</span>" . + "<span style='font-size: 14px;' class='verdana1'>" . _T('texte_article_virtuel_reference') . "</span>" . "</div>\n"; } else { diff --git a/ecrire/inc/editer_auteurs.php b/ecrire/inc/editer_auteurs.php index c78a77a0b1..b6f9dd4e38 100644 --- a/ecrire/inc/editer_auteurs.php +++ b/ecrire/inc/editer_auteurs.php @@ -137,7 +137,7 @@ function rechercher_auteurs_articles($cherche_auteur, $ids, $id_article) elseif (preg_match('/^\d+$/',$ids)) { $row = spip_fetch_array(spip_query("SELECT nom FROM spip_auteurs WHERE id_auteur=$ids")); - return "<b>"._T('texte_ajout_auteur')."</b><br /><ul><li><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><b><span style='font-size: 16px;'>".typo($row['nom'])."</span></b></span></li></ul>"; + return "<b>"._T('texte_ajout_auteur')."</b><br /><ul><li><span style='font-size: 14px;' class='verdana1'><b><span style='font-size: 16px;'>".typo($row['nom'])."</span></b></span></li></ul>"; } else { $ids = preg_replace('/[^0-9,]/','',$ids); // securite diff --git a/ecrire/inc/editer_mot.php b/ecrire/inc/editer_mot.php index e467363b6e..74932b793f 100644 --- a/ecrire/inc/editer_mot.php +++ b/ecrire/inc/editer_mot.php @@ -141,7 +141,7 @@ function recherche_mot_cle($cherche_mots, $id_groupe, $objet, $id_objet, $table, $nouveaux_mots[] = $resultat[0]; $row = spip_fetch_array(spip_query("SELECT titre FROM spip_mots WHERE id_mot=$resultat[0]")); $res .= "<b>"._T('info_mot_cle_ajoute')." $ou : </b><br /><ul>"; - $res .= "<li><span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'><b><span style='font-size: 16px;'>".typo($row['titre'])."</span></b></span></li>\n"; + $res .= "<li><span style='font-size: 14px;' class='verdana1'><b><span style='font-size: 16px;'>".typo($row['titre'])."</span></b></span></li>\n"; $res .= "</ul>"; } else $res .= affiche_mots_ressemblant($cherche_mot, $objet, $id_objet, $resultat, $table, $table_id, $url_base); diff --git a/ecrire/inc/import.php b/ecrire/inc/import.php index 78e888c4b1..298a59956f 100644 --- a/ecrire/inc/import.php +++ b/ecrire/inc/import.php @@ -295,7 +295,7 @@ function import_affiche_javascript($taille) { $max_time = ini_get('max_execution_time')*1000; echo debut_boite_alerte(), - "<span font-family: Verdana,Arial,Sans,sans-serif; font-size: 18px; color: black'><b>", _T('info_base_restauration'), "</b></span>", + "<span style='font-size: 18px; color: black;' class='verdana1'><b>", _T('info_base_restauration'), "</b></span>", "<form name='progression'><center><input type='text' size='10' style='text-align:center;' name='taille' value='", $taille, "'><br /><input type='text' class='forml' name='recharge' value='"._T('info_recharger_page')."'></center></form>", diff --git a/ecrire/inc/legender.php b/ecrire/inc/legender.php index 2c112becee..ca265067eb 100644 --- a/ecrire/inc/legender.php +++ b/ecrire/inc/legender.php @@ -116,7 +116,7 @@ function inc_legender_dist($id_document, $document, $script, $type, $id, $ancre, . $GLOBALS['couleur_foncee'] . "; border: 1px solid " . $GLOBALS['couleur_foncee'] - . "; padding: 5px; margin: 3px; background-color: white;'>" + . "; padding: 5px; margin: 3px; background-color: white;'>" . block_parfois_visible("legender-aff-$id_document", $entete, $corps, "text-align:center;", $flag) . "</div>"; diff --git a/ecrire/inc/message_select.php b/ecrire/inc/message_select.php index ca9cd6ee88..b5cf8032c2 100644 --- a/ecrire/inc/message_select.php +++ b/ecrire/inc/message_select.php @@ -98,7 +98,7 @@ function afficher_message_boucles($row, &$messages_vus, $voir_logo, $afficher_au } if ($auteurs AND $type == 'normal') { - $s = "<span style='font-family: Arial,Sans,sans-serif; font-size: 12px;'>" . join(', ', $auteurs) . "</span>"; + $s = "<span style='font-size: 12px;' class='arial1'>" . join(', ', $auteurs) . "</span>"; } else $s = " "; $vals[] = $s; } diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php index 5824990fa4..45a1f0596e 100644 --- a/ecrire/inc/presentation.php +++ b/ecrire/inc/presentation.php @@ -282,7 +282,7 @@ function bloc_des_raccourcis($bloc) { . creer_colonne_droite('',true) . debut_cadre_enfonce('',true) . (($spip_display != 4) - ? ("\n<div style='font-family: Verdana,Arial,Sans,sans-serif; font-size: x-small'><b>" + ? ("\n<div style='font-size: x-small' class='verdana1'><b>" ._T('titre_cadre_raccourcis') ."</b>") : ( "<h3>"._T('titre_cadre_raccourcis')."</h3><ul>")) @@ -298,8 +298,8 @@ function afficher_plus($lien) { global $options, $spip_lang_right, $spip_display; if ($options == "avancees" AND $spip_display != 4) { - return "\n<span style='float:$spip_lang_right; padding-top: 2px;'><a href='$lien'>" . - http_img_pack("plus.gif", "+", "") ."</a></span>"; + return "\n<a href='$lien' style='float:$spip_lang_right; padding-right: 10px;'>" . + http_img_pack("plus.gif", "+", "") ."</a>"; } } @@ -411,8 +411,7 @@ function afficher_tranches_requete($num_rows, $tmp_var, $url='', $nb_aff = 10, $ } } - $texte .= "<span class=\"arial2\" style='border-bottom: 1px solid #444444; position: absolute; top: 2px; $spip_lang_right: 15px;'>"; - + $style = " class='arial2' style='border-bottom: 1px solid #444444; position: absolute; top: 1px; $spip_lang_right: 15px;'"; $script = parametre_url($self, $tmp_var, -1); if ($url) { @@ -425,10 +424,10 @@ function afficher_tranches_requete($num_rows, $tmp_var, $url='', $nb_aff = 10, $ . '\');"'; } $l = htmlentities(_T('lien_tout_afficher')); - $texte .= "<a href=\"$script#a$ancre\"$on><img\nsrc='". _DIR_IMG_PACK . "plus.gif' title=\"$l\" alt=\"$l\" /></a>"; + $texte .= "<a$style\nhref=\"$script#a$ancre\"$on><img\nsrc='". _DIR_IMG_PACK . "plus.gif' title=\"$l\" alt=\"$l\" /></a>"; - $texte .= "</span></div>\n"; + $texte .= "</div>\n"; return $texte; } @@ -1745,7 +1744,7 @@ function fin_page() . "'>" . _T("access_interface_graphique") . "</a></div>") - : ('<div style="text-align: right; font-family: Verdana; font-size: 8pt">' + : ("<div style='text-align: right; font-size: 11px' class='verdana1'>" . info_copyright() . "<br />" . _T('info_copyright_doc') diff --git a/ecrire/inc/tourner.php b/ecrire/inc/tourner.php index 0cc5528adc..4109563ebd 100644 --- a/ecrire/inc/tourner.php +++ b/ecrire/inc/tourner.php @@ -66,7 +66,7 @@ function inc_tourner_dist($id_document, $document, $script, $flag, $type) $res .= document_et_vignette($document, $url, true); $res .= "</div>\n"; - $res .= "<div class='verdana1' style='text-align: center; font-size: 12px; font-family: arial,helvetica,sans-serif; color: 333333;'><doc" + $res .= "<div style='text-align: center; font-size: 12px; color: 333333;' class='verdana1'><doc" . $id_document . "></div>"; diff --git a/ecrire/inc/virtualiser.php b/ecrire/inc/virtualiser.php index 3f349b00de..d23c14bb19 100644 --- a/ecrire/inc/virtualiser.php +++ b/ecrire/inc/virtualiser.php @@ -27,7 +27,7 @@ function inc_virtualiser_dist($id_article, $flag, $virtuel, $script, $args) . $http . $virtuel . "' size='40' /><br />\n" - . "<span style='font-family: Verdana,Arial,Sans,sans-serif; font-size: 14px;'>(<b>"._T('texte_article_virtuel') . " :</b>$t)</span>" + . "<span style='font-size: 14px;' class='verdana1'>(<b>"._T('texte_article_virtuel') . " :</b>$t)</span>" . "\n<div align='$spip_lang_right'><input type='submit' class='fondo' value='" . _T('bouton_changer') . "' style='font-size:10px' /></div>"; -- GitLab