1
Razbox
Error xoops tag onload for w3c
  • 2009/10/1 17:21

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1



Forgive me in advance for my bad English language.
I'm an admin Italian XOOPS.

I found a problem on the file

/class/textsanitizer/image/image.php

The file is called when you post pictures by admin on blocks through tool.
The syntax is not valid and compatible with the W3C standards.

Example output code deprecated:
Quote:
<img src='http://www.mysite/10.gif' border='0' alt='' onload="javascript:if(this.width>152) this.width=152" />


Tag interested=onload


Indeed, the pictures posted with the automated tool to insert blocks are not compatible with other browsers (eg Firefox).
Someone rewrote the affected file w3c compliant?
Thanks
Razbox from Italy

P.s. Sorry for my bad english language

2
kris_fr
Re: Error xoops tag onload for w3c
  • 2009/10/1 21:23

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

xoops version ?

@+

3
ghia
Re: Error xoops tag onload for w3c
  • 2009/10/1 23:34

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is in all XOOPS versions.
Onload is reserved for body and frameset tags by the W3C.
Most browsers allow it on other objects too as eg images.

4
Razbox
Re: Error xoops tag onload for w3c
  • 2009/10/2 9:22

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


The version is XOOPS 2.3.3b.

Yes, i know that the tag onload is valid only into body.

I think that current situation of image.php it's very bad,
and would be better to rewrite the code of this file!!!!

You have some ideas?

Thanks

Razbox

5
Razbox
Re: Error xoops tag onload for w3c
  • 2009/10/2 17:19

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


Nothing?

Razbox

6
Razbox
Re: Error xoops tag onload for w3c
  • 2009/10/4 9:19

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


No one help me????

Razbox

7
kris_fr
Re: Error xoops tag onload for w3c
  • 2009/10/4 9:48

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31



Login

Who's Online

152 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits