Let's make XOOPS valid xhtml1.0 transitional!
First,
replacing
,
with
,
Empty elements must either have an end tag or the start tag must end with />
------------------------------------------
->
----------------------------------------
/html/class/errorhandler.php
line 169
$output .= sprintf( "%s in file %s line %s
\n", $error['errstr'], $error['errfile'], $error['errline'] );
/html/modules/xoopspoll/admin/index.php
line 441
echo "
View Log
Sorry, not yet.
";
/html/modules/mydownloads/blocks/mydownloads_top.php
line 74
$form .= "
"._MB_MYDOWNLOADS_CHARS."
"._MB_MYDOWNLOADS_LENGTH."";
/html/modules/mylinks/blocks/mylinks_top.php
line 71
$form .= "
"._MB_MYLINKS_CHARS."
"._MB_MYLINKS_LENGTH."";
/html/modules/news/blocks/news_top.php
line68
$form .= "
"._MB_NEWS_CHARS."
"._MB_NEWS_LENGTH."";
/html/modules/system/admin/banners/xoops_version.php
$modversion['author'] = "Francisco Burzi
(
http://phpnuke.org/ )";
/html/modules/system/admin/findusers/xoops_version.php
$modversion['author'] = "Kazumi Ono
(
http://www.myweb.ne.jp/ )";
/html/modules/system/admin/mailusers/xoops_version.php
$modversion['author'] = "Kazumi Ono
(
http://www.myweb.ne.jp/ )";
/html/modules/system/admin/modulesadmin/xoops_version.php
$modversion['author'] = "Kazumi Ono
(
http://www.mywebaddons.com/ )";
/html/modules/system/admin/users/xoops_version.php
$modversion['author'] = "Francisco Burzi
(
http://phpnuke.org/ )";
/html/modules/xoopsheadline/xoops_version.php
$modversion['author'] = "Kazumi Ono
(
https://xoops.org/ http://www.xoopscube.jp/ http://www.myweb.ne.jp/ )";
and in lang file
/html/modules/newbb/language/english/admin.php
define("_MD_A_YDNFOATPOTFDYAA","You did not fill out all the parts of the form.
Did you assign at least one moderator? Please go back and correct the form.");
/html/modules/newbb/language/english/main.php
define("_MD_ANONNOTALLOWED","Anonymous user not allowed to post.
Please register.");
/html/modules/sections/language/english/main.php
define("_MD_MUSTREGFIRST","You need to be a registered user or logged in to send a modify request.
Please register or login first!");
-------------------------------------------
->
--------------------------------------
/html/modules/mydownloads/admin/index.php
line 335
echo "
";
/html/modules/mylinks/admin/index.php
line 311
echo "
";
/html/modules/sections/admin/index.php
line 49
echo "
line 61
line 82
line 103
line 146
--------------------------------------------
& -> &
--------------------------------------------
/html/search.php
line 191
$search_url .= "&mid=$mid&action=showall&andor=$andor";
line 253
$search_url .= "&mid=$mid&action=$action&andor=$andor";
line 255
$search_url .= "&uid=$uid";
line 261
$search_url_prev = $search_url."&start=$prev";
line 269
$search_url_next = $search_url."&start=$next";
/html/modules/system/admin/blocksadmin/blockform.php
line 61
$form->addElement(new XoopsFormLabel(_AM_CONTENT, '
'._AM_EDITTPL.''));
line 65
$form->addElement(new XoopsFormLabel(_AM_CONTENT, '
'._AM_EDITTPL.''));
---------------------------------------------
->
-----------------------------------------
/html/modules/system/admin/banners/banners.php
line 165
"._AM_USEHTML."
line 300
echo "
";
line 302
echo "
";
----------------------------------------
embed -> object
-----------------------------------------
/include/functions.php
function xoops_getbanner()
From:
if (stristr($imageurl, '.swf')) {
$bannerobject = $bannerobject
.'.'.$imageurl.'">'
.''
.''
.'';
} else {
$bannerobject = $bannerobject.'.$imageurl.'" alt="" />';
}
( btw, in ShockwaveFlash"; Umm.. no need ; !! )
to:
if (stristr($imageurl, '.swf')) {
$bannerobject = $bannerobject
.'';
} else {
$bannerobject = $bannerobject.'.$imageurl.'" alt="" />';
}
same fix needed in /html/banners.php
Read this article if you want more info.
http://www.alistapart.com/articles/flashsatay/---------------------------------
and bug fix!
/html/modules/system/admin/smiles/smiles.php
line 70
From:
if ($smiles['display'] == 1) {
echo ' checked="checked"';
}
To:
if ($smiles['display'] == 1) {
echo ' checked="checked"';
}
echo " />";
Umm...
I think it's still not perfect.
-------To be continued---------^^;;