From: Erik Moeller Date: Sun, 18 Jan 2004 08:19:29 +0000 (+0000) Subject: generate toolbar buttons via JS so that non-JS browsers don't show toolbar X-Git-Tag: 1.3.0beta1~1140 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=9fbf29e7ef028d07d2f1516292096803e0e5ae96;p=lhc%2Fweb%2Fwiklou.git generate toolbar buttons via JS so that non-JS browsers don't show toolbar text --- diff --git a/includes/Skin.php b/includes/Skin.php index 0f324d1a8a..e7a646e42b 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2227,13 +2227,13 @@ class Skin { // The tip text is shown when the user moves the mouse over the button. $toolarray=array( array( "image"=>"button_bold.gif", - "open"=>"\\'\\'\\'", - "close"=>"\\'\\'\\'", + "open"=>"\'\'\'", + "close"=>"\'\'\'", "sample"=>wfMsg("bold_sample"), "tip"=>wfMsg("bold_tip")), array( "image"=>"button_italic.gif", - "open"=>"\\'\\'", - "close"=>"\\'\\'", + "open"=>"\'\'", + "close"=>"\'\'", "sample"=>wfMsg("italic_sample"), "tip"=>wfMsg("italic_tip")), array( "image"=>"button_link.gif", @@ -2277,11 +2277,11 @@ class Skin { "sample"=>"", "tip"=>wfMsg("hr_tip")) ); - $toolbar.=" -
"; + $toolbar.=""; return $toolbar; - } }