xhtml compliance issues
2 posts
• Page 1 of 1
xhtml compliance issues
Hi,
I installed xmap v1.2 today and got a series of xhtml compliance issues (151 of them) on the site map page. I have fixed the problems by making the following changes to xmap.html.php
1 termination of the img tags using xhtml syntax
Line 98 was changed from
to
Line 101 was changed from
to
2 conceal the javascript code to prevent it from being interpreted as html
line 159 was changed from
to
and line 189 changed from
to
The functionality is unaffected by these changes
I hope this helps
Regards
Phil
I installed xmap v1.2 today and got a series of xhtml compliance issues (151 of them) on the site map page. I have fixed the problems by making the following changes to xmap.html.php
1 termination of the img tags using xhtml syntax
Line 98 was changed from
- Code: Select all
$img = '<img src="'.$this->live_site.'/administrator/images/publish_x.png" alt="'._XMAP_EXT_PUBLISHED.'" title="'._XMAP_EXT_UNPUBLISHED.'">';
to
- Code: Select all
$img = '<img src="'.$this->live_site.'/administrator/images/publish_x.png" alt="'._XMAP_EXT_PUBLISHED.'" title="'._XMAP_EXT_UNPUBLISHED.'" />';
Line 101 was changed from
- Code: Select all
$img = '<img src="'.$this->live_site.'/administrator/images/tick.png" alt="'._XMAP_EXT_PUBLISHED.'" title="'._XMAP_EXT_PUBLISHED.'">';
to
- Code: Select all
$img = '<img src="'.$this->live_site.'/administrator/images/tick.png" alt="'._XMAP_EXT_PUBLISHED.'" title="'._XMAP_EXT_PUBLISHED.'" />';
2 conceal the javascript code to prevent it from being interpreted as html
line 159 was changed from
- Code: Select all
$js = "
to
- Code: Select all
$js = "
// <!--
and line 189 changed from
- Code: Select all
});";
to
- Code: Select all
});
// -->";
The functionality is unaffected by these changes
I hope this helps
Regards
Phil
- doorknob
- Junior Boarder

- Posts: 27
- Joined: Thu Aug 07, 2008 9:30 pm
Re: xhtml compliance issues
Hi doorknob, thanks for your post, I'll add those changes to Xmap!
Note: That problem only exist if you are logged in as a Super administrator.
Thanks
Note: That problem only exist if you are logged in as a Super administrator.
Thanks
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests