6.0.0-beta1
7/27/25

[#2400] Horde::addScriptFile() uses deprecated language attribute
Summary Horde::addScriptFile() uses deprecated language attribute
Queue Horde Base
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester mwarden (at) gmail (dot) com
Created 08/06/2005 (7295 days ago)
Due
Updated 08/07/2005 (7294 days ago)
Assigned
Resolved 08/07/2005 (7294 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/07/2005 12:52:20 AM Chuck Hagenbuch State ⇒ Resolved
 
08/06/2005 09:27:12 PM mwarden (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Horde::addScriptFile() uses deprecated language attribute
Queue ⇒ Horde Base
New Attachment: Horde.php.diff Download
Reply to this comment
I am not able to change all the output needed to make Horde_Form xhtml

compliant. The problem I am having at the moment is this line

(framework/Horde/Horde.php#253):



echo '<!--a75c305b1c0a6022--><script language="JavaScript" 
type="text/javascript" src="' .

$url . '"></script>';



As you can see, the output has the invalid attribute 'language'. Is

this in the plans to fix, or are you leaving it in there for (very)

backward compatibility? This line is in the addScriptFile() method

which is used all over the place in Horde_Form (and I'm sure

elsewhere). The langauge attribute was deprecated in HTML4.01, if that

helps in the decision.



Patch attached.

Saved Queries