1
jph000
vlweather 0.9 XHTML Validation
  • 2009/2/24 1:13

  • jph000

  • Just popping in

  • Posts: 60

  • Since: 2004/8/2 2


In case anyone's interested in the status of legacy modules under XOOPS 2.3.2 and PHP5 and XHTML validation, my changes to get vlweather 0.9 to validate for CSS level 2 and XHTML 1.0 Transitional are summarized below. Note: Replacement of $HTTP_GET_VARS with $_GET for PHP5 compatibility already had been done.

1. templates/blocks/vlweatherblock.html

OLD


<{$block.location}>
<{$block.time}>

<{$block.conditions}>
<{$block.temp}><{$block.feels}>
<{$block.rel_humidity}>
<{$block.dew}>
<{$block.bar}> <{$block.bardir}>
<{$block.windspeed}>
<{$block.rec_precip}>
<{$block.forecast}>
<{$block.usersettings}>


NEW

<{$block.location}>

<{$block.time}>



<{$block.conditions}>
<{$block.temp}><{$block.feels}>
<{$block.rel_humidity}>
<{$block.dew}>
<{$block.bar}> <{$block.bardir}>
<{$block.windspeed}>
<{$block.rec_precip}>
<{$block.forecast}>
<{$block.usersettings}>


2. blocks/vlweatherblock.php

13 occurrences replaced
with


4 occurrences removed
and
tags

3. change.php

2 occurrences removed
and
tags

4. class/vlweather.php

OLD
$content ="
" . _VL_BL_CONDAO . "
" . $hago . $mago . _VL_BL_AGO ."
\n";

2 occurrences removed
and
tags

4 occurrences replaced in href link code of simple ampersands with ampersand string equivalent: ampersand city

2
Nick_James
Re: vlweather 0.9 XHTML Validation

That's great. Thanks
Nicholas James
President - LaDads
http://www.ladads.info

Login

Who's Online

432 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 432


more...

Donat-O-Meter

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

Latest GitHub Commits