[EventCalendar] validation problem

Darrell Schulte d at schulte.mn
Tue Jan 9 16:52:20 UTC 2007


On Jan 9, 2007, at 10:37 AM, Vkaryl wrote:

> Darrell Schulte wrote:
>> On Jan 9, 2007, at 10:03 AM, Vkaryl wrote:
>>> Darrell - do you mean what the source shows?
>> Yes, or if possible, just direct me to the page in the question --  
>> you don't have to undo your change.
>
> Page addy: http://anasazifreetrappers.org/anasazi-free-trappers- 
> mission-statement/
>
> The validator error ref'd the closing td after the non-displaying  
> spinner.

So, did you ditch this code from template-functions.php?

// iCalendar link.
   $webcal=get_settings('home') . "/?ec3_ical";
   // Macintosh always understands webcal:// protocol.
   // It's hard to guess on other platforms, so stick to http://
   if(strstr($_SERVER['HTTP_USER_AGENT'],'Mac OS X'))
       $webcal=preg_replace('/^http:/','webcal:',$webcal);
   echo "\t    <a id='ec3_publish' href='$webcal'"
      . " title='" . __('Subscribe to iCalendar.','ec3') ."'>\n"
      . "\t     <img src='$ec3->myfiles/publish.gif' alt='iCalendar' / 
 >\n"
      . "\t    </a>\n";
   echo "\t</td>\n";

Note: that last line is where the missing </td> is actually located...

Darrell Schulte
http://schulte.mn





More information about the EventCalendar mailing list