CVS: spip/ecrire inc_barre.php3,1.18,1.19

Update of /home/spip-cvs/spip/ecrire
In directory miel:/tmp/cvs-serv7508/ecrire

Modified Files:
  inc_barre.php3
Log Message:
jajascript

Index: inc_barre.php3

RCS file: /home/spip-cvs/spip/ecrire/inc_barre.php3,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- inc_barre.php3 4 Oct 2003 14:39:29 -0000 1.18
+++ inc_barre.php3 24 Oct 2003 22:04:52 -0000 1.19
@@ -41,9 +41,10 @@
   global $flag_ecrire;
   $champ = "document.$formulaire.$texte";
   $champhelp = "document.$formulaire.helpbox$texte";
- return "<a href=\"".$action."\" class='spip_barre' tabindex='1000' title=\"".attribut_html($help)."\" "
- ."onMouseOver=\"helpline('".addslashes($help)."',$champhelp)\" onMouseOut=\"helpline('"._T('barre_aide')."', $champhelp)\">"
- ."<img src='".($flag_ecrire ? "../" : "")."IMG/icones_barre/".$img."' border='0' height='16' width='16'></a>";
+ $retour = "<a href=\"".$action."\" class='spip_barre' tabindex='1000' title=\"".attribut_html($help)."\"";
+ if (!$flag_ecrire) $retour .= " onMouseOver=\"helpline('".addslashes($help)."',$champhelp)\" onMouseOut=\"helpline('"._T('barre_aide')."', $champhelp)\"";
+ $retour .= "><img src='".($flag_ecrire ? "../" : "")."IMG/icones_barre/".$img."' border='0' height='16' width='16'></a>";
+ return $retour;
}

function afficher_barre($formulaire='',$texte='', $forum=false) {
@@ -109,10 +110,7 @@
     $ret .= "</td>";

     if ($flag_ecrire) {
- $ret .= "<td> &nbsp; </td>";
- $col++;
-
- $ret .= "<td align='$spip_lang_right' onMouseOver=\"helpline(_T('barre_aide_rac'),helpbox$texte)\" onMouseOut=\"helpline('Utilisez les raccourcis typographiques pour enrichir votre mise en page', $champhelp)\">";
+ $ret .= "<td align='$spip_lang_right'>";
       $col++;
       $ret .= "&nbsp;&nbsp;&nbsp;";
       $ret .= aide("raccourcis");