From c4dee29aeaa0c672a0b64a419af9304302155d4c Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Tue, 9 May 2006 07:47:58 +0000 Subject: [PATCH] validation XHTML --- ecrire/inc/barre.php | 4 ++-- ecrire/inc/filtres.php | 2 +- ecrire/inc/layer.php | 2 +- formulaires/formulaire_recherche.html | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ecrire/inc/barre.php b/ecrire/inc/barre.php index 172c83cad5..7530ab242e 100644 --- a/ecrire/inc/barre.php +++ b/ecrire/inc/barre.php @@ -22,9 +22,9 @@ function bouton_barre_racc($action, $img, $help, $champhelp) { ."\" class='spip_barre' tabindex='1000'\ntitle=\"" . $a ."\"" - .(!_DIR_RESTREINT ? '' : "\nonMouseOver=\"helpline('" + .(!_DIR_RESTREINT ? '' : "\nonmouseover=\"helpline('" .addslashes($a) - ."',$champhelp)\"\nonMouseOut=\"helpline('" + ."',$champhelp)\"\nonmouseout=\"helpline('" .attribut_html(_T('barre_aide')) ."', $champhelp)\"") ."><img\nsrc='" diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index e9accee493..b03d2fa8a7 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -2617,7 +2617,7 @@ id='textarea_$num_textarea' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);' -ondbclick='storeCaret(this);'>$texte</textarea>"; +ondblclick='storeCaret(this);'>$texte</textarea>"; } // comme in_array mais renvoie son 3e arg si le 2er arg n'est pas un tableau diff --git a/ecrire/inc/layer.php b/ecrire/inc/layer.php index f2f4d2ee5a..8b8736392e 100644 --- a/ecrire/inc/layer.php +++ b/ecrire/inc/layer.php @@ -195,7 +195,7 @@ $GLOBALS['browser_caret'] = (!$GLOBALS['browser_barre'] ? '' : " onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);' -ondbclick='storeCaret(this);'"); +ondblclick='storeCaret(this);'"); // Hack pour forcer largeur des formo/forml sous Mozilla >= 1.7 // meme principe que le behavior win_width.htc pour MSIE diff --git a/formulaires/formulaire_recherche.html b/formulaires/formulaire_recherche.html index 613f1eb2e4..5a7215df83 100644 --- a/formulaires/formulaire_recherche.html +++ b/formulaires/formulaire_recherche.html @@ -1,5 +1,4 @@ <div class="formulaire_spip formulaire_recherche"> -<a name="formulaire_recherche" id="formulaire_recherche"></a> <form action="[(#ENV{lien})]" method="get"> [(#ENV{lien}|form_hidden)] -- GitLab