diff --git a/ecrire/exec/aide_index.php b/ecrire/exec/aide_index.php index 015af209deb618b29e113a7f5dffa73342836856..ade2d80cc7c96cc2cb175509d6e072dd65953b36 100644 --- a/ecrire/exec/aide_index.php +++ b/ecrire/exec/aide_index.php @@ -148,15 +148,15 @@ function help_body($aide, $html, $lang_aide='') { } } else { // panneau d'accueil - $html = '<div align="center"> - <img src="'._DIR_IMG_PACK. - 'logo-spip.gif" alt="SPIP" width="267" height="170" border="0" /> + $html = "<div align='center'> + <img src='" . _DIR_IMG_PACK. + "logo-spip.gif' alt='SPIP' style='width: 267px; height: 170px; border: 0px' /> <br /> - <div align="center" style="font-variant: small-caps;"> - Système de publication pour l\'Internet + <div align='center' style='font-variant: small-caps;'> + Système de publication pour l'Internet </div></div> - <div style="position:absolute; bottom: 10px; right:20px; - font-size: 12px; ">'. + <div style='position:absolute; bottom: 10px; right:20px; + font-size: 12px; '>" . preg_replace(",<a ,i", "<a class='target_blank' ",_T('info_copyright_doc')). '</div>'; } @@ -194,12 +194,12 @@ jQuery(function(){ echo " lang='$lang_aide'>"; if ($aide == 'spip') { - echo '<table border="0" width="100%" height="60%"> -<tr style="width: 100%" height="60%"> -<td style="width: 100%" height="60%" align="center" valign="middle"> -<img src="', generer_url_ecrire("aide_index", "img=AIDE--logo-spip.gif", false, true), - '" alt="SPIP" width="300" height="170" border="0" /> -</td></tr></table>'; + echo "<table border='0' width='100%' height='60%'> +<tr style='width: 100%' height='60%'> +<td style='width: 100%' height='60%' align='center' valign='middle'> +<img src='", generer_url_ecrire('aide_index', 'img=AIDE--logo-spip.gif', false, true), + "' alt='SPIP' style='width: 300px; height: 170px; border: 0px;' /> +</td></tr></table>"; } // Il faut que la langue de typo() soit celle de l'aide en ligne diff --git a/ecrire/exec/articles_tous.php b/ecrire/exec/articles_tous.php index 7ab1c62e5211fb501dec8104ac18fbd9eed75627..112ae28b2f809fb4c60f8be0418aa51e6363889c 100644 --- a/ecrire/exec/articles_tous.php +++ b/ecrire/exec/articles_tous.php @@ -179,7 +179,7 @@ function http_label_img($statut, $etat, $var, $img, $texte) { (($etat !== false) ? ' checked="checked" ' : '') . "id='$statut'") . " " . - http_img_pack($img, $texte, "width='8' height='9' border='0'", $texte) . + http_img_pack($img, $texte, "style='width: 8px; height: 9px; border: 0px;'", $texte) . " " . $texte . "</label>" . diff --git a/ecrire/exec/forum_envoi.php b/ecrire/exec/forum_envoi.php index fdb38153b22ad26507ed5cf26a10bf8791e4357d..7909e27c7ca369bc959bb64dac71e14114486818 100644 --- a/ecrire/exec/forum_envoi.php +++ b/ecrire/exec/forum_envoi.php @@ -226,7 +226,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s { global $spip_lang_rtl; - + spip_log("forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_site, $url_site"); return "\n<table width='100%' cellpadding='0' cellspacing='0' border='0'>" . (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>") . "\n<tr>" @@ -235,7 +235,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s . _DIR_IMG_PACK . "forum-vert.gif'" . ">" - . http_img_pack('rien.gif', ' ', "width='10' height='13' border='0'") + . http_img_pack('rien.gif', ' ', "style='width: 10px; height: 13px border: 0px'") . "</td>\n<td ")) . " width='100%' valign='top' rowspan='2'>" . debut_cadre_thread_forum("", true, "", typo($titre_texte)) @@ -251,7 +251,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s : ("<tr><td style='width: 10px' valign='top' background='" . _DIR_IMG_PACK . "rien.gif'>" - . http_img_pack("forum-droite$spip_lang_rtl.gif", $titre_parent, "width='10' height='13' border='0'") + . http_img_pack("forum-droite$spip_lang_rtl.gif", $titre_parent, " style='width: 10px; height: 13px border: 0px'") . "</td>\n</tr>")) . "</table>" . "\n<div> </div>"; diff --git a/ecrire/exec/message.php b/ecrire/exec/message.php index f2c6f00641933fd4f7030e4e93442356baa64ee7..17a2042aa2e90fa4ee83b3777c0bb16e637142b9 100644 --- a/ecrire/exec/message.php +++ b/ecrire/exec/message.php @@ -101,10 +101,10 @@ function http_afficher_rendez_vous($date_heure, $date_fin) $dirpuce = _DIR_RACINE . 'dist'; if (jour($date_heure) == jour($date_fin) AND mois($date_heure) == mois($date_fin) AND annee($date_heure) == annee($date_fin)) { echo "<p class='verdana2' style='text-align: center'>"._T('titre_rendez_vous')." ".majuscules(nom_jour($date_heure))." <b>".majuscules(affdate($date_heure))."</b><br />\n<b>".heures($date_heure)." "._T('date_mot_heures')." ".minutes($date_heure)."</b>"; - echo " <img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' border='0' /> ".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</p>"; + echo " <img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' style='border: 0px;' /> ".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</p>"; } else { echo "<p class='verdana2' style='text-align: center'>"._T('titre_rendez_vous')."<br />\n".majuscules(nom_jour($date_heure))." <b>".majuscules(affdate($date_heure))."</b>, <b>".heures($date_heure)." "._T('date_mot_heures')." ".minutes($date_heure)."</b>"; - echo "<br />\n<img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' border='0' /> ".majuscules(nom_jour($date_fin))." ".majuscules(affdate($date_fin)).", <b>".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</b></p>"; + echo "<br />\n<img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' style='border: 0px;' /> ".majuscules(nom_jour($date_fin))." ".majuscules(affdate($date_fin)).", <b>".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</b></p>"; } } diff --git a/ecrire/exec/messagerie.php b/ecrire/exec/messagerie.php index b204b8409d1270d5ddd0b8718a86d323415661a5..1d0d2533a2b19dc9a585f75a1aef253f757cda29 100644 --- a/ecrire/exec/messagerie.php +++ b/ecrire/exec/messagerie.php @@ -45,15 +45,15 @@ debut_boite_info(); echo _T('info_gauche_messagerie'); -echo "<p>".http_img_pack("m_envoi$spip_lang_rtl.gif", 'V', "width='14' height='7' border='0'") .' ' . _T('info_symbole_vert'), '</p>'; +echo "<p>".http_img_pack("m_envoi$spip_lang_rtl.gif", 'V', "style='width: 14px; height: 7px; border: 0px'") .' ' . _T('info_symbole_vert'), '</p>'; echo aide ("messut"); -echo "<p>".http_img_pack("m_envoi_bleu$spip_lang_rtl.gif", 'B', "width='14' height='7' border='0'") .' ' . _T('info_symbole_bleu'), '</p>'; +echo "<p>".http_img_pack("m_envoi_bleu$spip_lang_rtl.gif", 'B', "style='width: 14px; height: 7px; border: 0px'") .' ' . _T('info_symbole_bleu'), '</p>'; echo aide ("messpense"); -echo "<p>".http_img_pack("m_envoi_jaune$spip_lang_rtl.gif", 'J', "width='14' height='7' border='0'") .' ' . _T('info_symbole_jaune'), '</p>'; +echo "<p>".http_img_pack("m_envoi_jaune$spip_lang_rtl.gif", 'J', "style='width: 14px; height: 7px; border: 0px'") .' ' . _T('info_symbole_jaune'), '</p>'; fin_boite_info(); @@ -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' style='border: 0px'> <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/statistiques_lang.php b/ecrire/exec/statistiques_lang.php index 65c50607798cf41172ea6785cc059e6e28aab476..534d39802ae2a289ca6789d8df0f5fcfe9720ce4 100644 --- a/ecrire/exec/statistiques_lang.php +++ b/ecrire/exec/statistiques_lang.php @@ -96,7 +96,7 @@ function exec_statistiques_lang_dist() echo "\n<table cellpadding='0' cellspacing='0' border='0' width='".($taille+5)."'>"; echo "\n<tr><td style='align:$spip_lang_right; background-color: #eeeeee; border: 1px solid #999999; white-space: nowrap;'>"; if ($visites_abs > 0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' width='$visites_abs' height='8' alt=' ' />"; - if ($visites>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_foncee;' width='$visites' height='8' border='0' alt=' ' />"; + if ($visites>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_foncee; border: 0px;' width='$visites' height='8' alt=' ' />"; echo "</td></tr></table>\n"; echo "</td>"; diff --git a/ecrire/exec/statistiques_repartition.php b/ecrire/exec/statistiques_repartition.php index 0759828a6b71f6dfd867f7fd0989cfd8f684e1ab..add5fa264d0251f0a901dde6c9bf2550083adefb 100644 --- a/ecrire/exec/statistiques_repartition.php +++ b/ecrire/exec/statistiques_repartition.php @@ -85,9 +85,6 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) { echo "\n<div class='verdana1' style='float: $spip_lang_right;'>$pourcent%</div>"; } - //echo "<IMG src='" . _DIR_IMG_PACK . "rien.gif' width='".($niveau*20+1)."' height=8 border=0>"; - - if ( $largeur_rouge > 2) echo bouton_block_invisible("stats$id_rubrique"); echo "<span class='verdana1'>"; @@ -102,9 +99,9 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) { echo "\n<tr>"; if ($gauche > 0) echo "<td style='width: " .$gauche."px'></td>"; echo "\n<td style='background-color: #eeeeee; border: 1px solid #999999; white-space: nowrap;'>"; - if ($visites_abs > 0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' width='".$visites_abs."' height='8' border='0' alt= ' '/>"; - if ($largeur_rouge>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_foncee;' width='$largeur_rouge' height='8' border='0' alt=' ' />"; - if ($largeur_vert>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_claire;' width='$largeur_vert' height='8' border='0' alt=' ' />"; + if ($visites_abs > 0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='height: 8px; border: 0px; width: ".$visites_abs."px;' alt= ' '/>"; + if ($largeur_rouge>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_foncee; height: 8px; border: 0px; width: " . $largeur_rouge . "px;' alt=' ' />"; + if ($largeur_vert>0) echo "<img src='" . _DIR_IMG_PACK . "rien.gif' style='background-color: $couleur_claire; width: " . $largeur_vert ."px; height: 8px; border: 0px' alt=' ' />"; echo "</td></tr></table>\n"; echo "</td></tr></table>"; diff --git a/ecrire/exec/statistiques_visites.php b/ecrire/exec/statistiques_visites.php index a38d55cc862978f425fd91642678c1568de534e4..228a4a8d6f3a1de421a0e80e64702f6888556435 100644 --- a/ecrire/exec/statistiques_visites.php +++ b/ecrire/exec/statistiques_visites.php @@ -357,12 +357,12 @@ if ($connect_statut != '0minirezo') { if ($date_premier < $date_debut) echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_plus$pour_article"), 'loupe-moins.gif', - "border='0' style='vertical-align:center;'", + "style='border: 0px; vertical-align:center;'", _T('info_zoom'). '-'), " "; if ( (($date_today - $date_debut) / (24*3600)) > 30) echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_moins$pour_article"), 'loupe-plus.gif', - "border='0' style='vertical-align:center;'", + "style='border: 0px; vertical-align:center;'", _T('info_zoom'). '+'), " "; diff --git a/ecrire/exec/synchro.php b/ecrire/exec/synchro.php index 66fdfb3001fbb58071885c19d9b794f9825126e5..d49df8856999d692f03a964e46f2964087347219 100644 --- a/ecrire/exec/synchro.php +++ b/ecrire/exec/synchro.php @@ -127,7 +127,7 @@ if (spip_num_rows($result) > 0) { $titre = htmlspecialchars($titre_rubrique); echo "<li>", http_href( generer_url_public('backend', "id_rubrique=$id_rubrique"), - http_img_pack( 'feed.png', 'RSS', ' border="0" ') .' '. + http_img_pack( 'feed.png', 'RSS', '') .' '. $titre_rubrique, $titre), "</li>\n"; } @@ -142,7 +142,7 @@ if (spip_num_rows($result) > 0) { echo "<p>"._T("ical_texte_rss_breves")."</p>"; echo '<ul><li>' . http_href( generer_url_public('backend-breves', ""), - http_img_pack( 'feed.png', 'RSS', ' border="0" ') .' '. + http_img_pack( 'feed.png', 'RSS', '') .' '. _L('syndication des brèves du site'), _L('syndication des brèves du site')) . "</li></ul>";