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

Conformité XHTML: évacuation de l'attribut border de la balise img.

parent 561077f2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -148,15 +148,15 @@ function help_body($aide, $html, $lang_aide='') { ...@@ -148,15 +148,15 @@ function help_body($aide, $html, $lang_aide='') {
} }
} else { } else {
// panneau d'accueil // panneau d'accueil
$html = '<div align="center"> $html = "<div align='center'>
<img src="'._DIR_IMG_PACK. <img src='" . _DIR_IMG_PACK.
'logo-spip.gif" alt="SPIP" width="267" height="170" border="0" /> "logo-spip.gif' alt='SPIP' style='width: 267px; height: 170px; border: 0px' />
<br /> <br />
<div align="center" style="font-variant: small-caps;"> <div align='center' style='font-variant: small-caps;'>
Syst&egrave;me de publication pour l\'Internet Syst&egrave;me de publication pour l'Internet
</div></div> </div></div>
<div style="position:absolute; bottom: 10px; right:20px; <div style='position:absolute; bottom: 10px; right:20px;
font-size: 12px; ">'. font-size: 12px; '>" .
preg_replace(",<a ,i", "<a class='target_blank' ",_T('info_copyright_doc')). preg_replace(",<a ,i", "<a class='target_blank' ",_T('info_copyright_doc')).
'</div>'; '</div>';
} }
...@@ -194,12 +194,12 @@ jQuery(function(){ ...@@ -194,12 +194,12 @@ jQuery(function(){
echo " lang='$lang_aide'>"; echo " lang='$lang_aide'>";
if ($aide == 'spip') { if ($aide == 'spip') {
echo '<table border="0" width="100%" height="60%"> echo "<table border='0' width='100%' height='60%'>
<tr style="width: 100%" height="60%"> <tr style='width: 100%' height='60%'>
<td style="width: 100%" height="60%" align="center" valign="middle"> <td style='width: 100%' height='60%' align='center' valign='middle'>
<img src="', generer_url_ecrire("aide_index", "img=AIDE--logo-spip.gif", false, true), <img src='", generer_url_ecrire('aide_index', 'img=AIDE--logo-spip.gif', false, true),
'" alt="SPIP" width="300" height="170" border="0" /> "' alt='SPIP' style='width: 300px; height: 170px; border: 0px;' />
</td></tr></table>'; </td></tr></table>";
} }
// Il faut que la langue de typo() soit celle de l'aide en ligne // Il faut que la langue de typo() soit celle de l'aide en ligne
......
...@@ -179,7 +179,7 @@ function http_label_img($statut, $etat, $var, $img, $texte) { ...@@ -179,7 +179,7 @@ function http_label_img($statut, $etat, $var, $img, $texte) {
(($etat !== false) ? ' checked="checked" ' : '') . (($etat !== false) ? ' checked="checked" ' : '') .
"id='$statut'") . "id='$statut'") .
"&nbsp;" . "&nbsp;" .
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 . $texte .
"</label>" . "</label>" .
......
...@@ -226,7 +226,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s ...@@ -226,7 +226,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s
{ {
global $spip_lang_rtl; 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'>" return "\n<table width='100%' cellpadding='0' cellspacing='0' border='0'>"
. (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>") . (!$parent ? '' : "<tr><td colspan='2'>$parent</td></tr>")
. "\n<tr>" . "\n<tr>"
...@@ -235,7 +235,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s ...@@ -235,7 +235,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s
. _DIR_IMG_PACK . _DIR_IMG_PACK
. "forum-vert.gif'" . "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 ")) . "</td>\n<td "))
. " width='100%' valign='top' rowspan='2'>" . " width='100%' valign='top' rowspan='2'>"
. debut_cadre_thread_forum("", true, "", typo($titre_texte)) . debut_cadre_thread_forum("", true, "", typo($titre_texte))
...@@ -251,7 +251,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s ...@@ -251,7 +251,7 @@ function forum_envoi_entete($parent, $titre_parent, $texte, $titre_texte, $nom_s
: ("<tr><td style='width: 10px' valign='top' background='" : ("<tr><td style='width: 10px' valign='top' background='"
. _DIR_IMG_PACK . _DIR_IMG_PACK
. "rien.gif'>" . "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>")) . "</td>\n</tr>"))
. "</table>" . "</table>"
. "\n<div>&nbsp;</div>"; . "\n<div>&nbsp;</div>";
......
...@@ -101,10 +101,10 @@ function http_afficher_rendez_vous($date_heure, $date_fin) ...@@ -101,10 +101,10 @@ function http_afficher_rendez_vous($date_heure, $date_fin)
$dirpuce = _DIR_RACINE . 'dist'; $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)) { 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 "<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 " &nbsp; <img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' border='0' /> &nbsp; ".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</p>"; echo " &nbsp; <img src='$dirpuce/puce$spip_lang_rtl.gif' alt=' ' style='border: 0px;' /> &nbsp; ".heures($date_fin)." "._T('date_mot_heures')." ".minutes($date_fin)."</p>";
} else { } 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 "<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>";
} }
} }
......
...@@ -45,15 +45,15 @@ debut_boite_info(); ...@@ -45,15 +45,15 @@ debut_boite_info();
echo _T('info_gauche_messagerie'); 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 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 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(); fin_boite_info();
...@@ -138,7 +138,7 @@ if (spip_num_rows($result) > 0) { ...@@ -138,7 +138,7 @@ if (spip_num_rows($result) > 0) {
$id_auteur = $row['id_auteur']; $id_auteur = $row['id_auteur'];
$nom = typo($row["nom"]); $nom = typo($row["nom"]);
$total = $row["total"]; $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;'>"; if ($count == ceil(spip_num_rows($result)/2)) echo "</td><td valign='top' width='50%' style='background-color: #eeeeee;'>";
} }
echo "</td></tr></table>"; echo "</td></tr></table>";
......
...@@ -96,7 +96,7 @@ function exec_statistiques_lang_dist() ...@@ -96,7 +96,7 @@ function exec_statistiques_lang_dist()
echo "\n<table cellpadding='0' cellspacing='0' border='0' width='".($taille+5)."'>"; 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;'>"; 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_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></tr></table>\n";
echo "</td>"; echo "</td>";
......
...@@ -85,9 +85,6 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) { ...@@ -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 "\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"); if ( $largeur_rouge > 2) echo bouton_block_invisible("stats$id_rubrique");
echo "<span class='verdana1'>"; echo "<span class='verdana1'>";
...@@ -102,9 +99,9 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) { ...@@ -102,9 +99,9 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) {
echo "\n<tr>"; echo "\n<tr>";
if ($gauche > 0) echo "<td style='width: " .$gauche."px'></td>"; if ($gauche > 0) echo "<td style='width: " .$gauche."px'></td>";
echo "\n<td style='background-color: #eeeeee; border: 1px solid #999999; white-space: nowrap;'>"; 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 ($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;' width='$largeur_rouge' height='8' border='0' 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' 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 ."px; height: 8px; border: 0px' alt=' ' />";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo "</td></tr></table>"; echo "</td></tr></table>";
......
...@@ -357,12 +357,12 @@ if ($connect_statut != '0minirezo') { ...@@ -357,12 +357,12 @@ if ($connect_statut != '0minirezo') {
if ($date_premier < $date_debut) if ($date_premier < $date_debut)
echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_plus$pour_article"), echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_plus$pour_article"),
'loupe-moins.gif', 'loupe-moins.gif',
"border='0' style='vertical-align:center;'", "style='border: 0px; vertical-align:center;'",
_T('info_zoom'). '-'), "&nbsp;"; _T('info_zoom'). '-'), "&nbsp;";
if ( (($date_today - $date_debut) / (24*3600)) > 30) if ( (($date_today - $date_debut) / (24*3600)) > 30)
echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_moins$pour_article"), echo http_href_img(generer_url_ecrire("statistiques_visites","aff_jours=$aff_jours_moins$pour_article"),
'loupe-plus.gif', 'loupe-plus.gif',
"border='0' style='vertical-align:center;'", "style='border: 0px; vertical-align:center;'",
_T('info_zoom'). '+'), "&nbsp;"; _T('info_zoom'). '+'), "&nbsp;";
......
...@@ -127,7 +127,7 @@ if (spip_num_rows($result) > 0) { ...@@ -127,7 +127,7 @@ if (spip_num_rows($result) > 0) {
$titre = htmlspecialchars($titre_rubrique); $titre = htmlspecialchars($titre_rubrique);
echo "<li>", http_href( generer_url_public('backend', "id_rubrique=$id_rubrique"), echo "<li>", http_href( generer_url_public('backend', "id_rubrique=$id_rubrique"),
http_img_pack( 'feed.png', 'RSS', ' border="0" ') .'&nbsp; '. http_img_pack( 'feed.png', 'RSS', '') .'&nbsp; '.
$titre_rubrique, $titre), $titre_rubrique, $titre),
"</li>\n"; "</li>\n";
} }
...@@ -142,7 +142,7 @@ if (spip_num_rows($result) > 0) { ...@@ -142,7 +142,7 @@ if (spip_num_rows($result) > 0) {
echo "<p>"._T("ical_texte_rss_breves")."</p>"; echo "<p>"._T("ical_texte_rss_breves")."</p>";
echo '<ul><li>' . echo '<ul><li>' .
http_href( generer_url_public('backend-breves', ""), http_href( generer_url_public('backend-breves', ""),
http_img_pack( 'feed.png', 'RSS', ' border="0" ') .'&nbsp; '. http_img_pack( 'feed.png', 'RSS', '') .'&nbsp; '.
_L('syndication des br&egrave;ves du site'), _L('syndication des br&egrave;ves du site')) . _L('syndication des br&egrave;ves du site'), _L('syndication des br&egrave;ves du site')) .
"</li></ul>"; "</li></ul>";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter