Friday, 25 July 2014 17:44
beggarly

xhtml compliance issues

Report Xmap bugs on this forum.

xhtml compliance issues

Postby doorknob » Thu Aug 07, 2008 9:45 pm

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
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
Junior Boarder
 
Posts: 27
Joined: Thu Aug 07, 2008 9:30 pm

Re: xhtml compliance issues

Postby guilleva » Sat Aug 23, 2008 2:16 am

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
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica


Return to Bugs



Who is online

Users browsing this forum: No registered users and 8 guests

cron