Hi Ken,
Rather than modifying the function comment out the call to it on line 210
of calendar.php.
Gabriel
On Thu, July 7, 2005 10:48 am, Ken Robb said:
> I deleted the entire function and got the message...
> Fatal error: Call to undefined function: link bar() in
> /usr/local/4admin/apache/vhosts/theremnantchurch.com/httpdocs/calendar/includes/calendar.php
> on line 210
>
> It looks like I should only delete part of the function and not all of it.
> Other parts of the code call on this function.
>
> Can you tell me what modifications to the function have to be made?
>
> Thanks
> Ken
>
> Here is the function...
>
> // returns XHTML data for the links at the bottom of the calendar
> function link bar()
> {
> global $config, $phpc url;
>
> $html = tag('div', attributes('class="phpc-footer"'));
>
> if($config['translate']) {
> $html->add(tag('p', '[', lang link('en'), '] [',
> lang link('de'), ']'));
> }
>
> $html->add(tag('p', '[',
> tag('a',
> attributes('href="http://validator.w3.org/'
> .'check?url='
> .rawurlencode($phpc url)
> .'"'), 'Valid XHTML 1.1'),
> '] [',
> tag('a', attributes('href="http://jigsaw.w3.org/'
> .'css-validator/check/referer"'),
> 'Valid CSS2'),
> ']'));
> return $html;
> }
>
--
Gabriel Harrison
Web Development and IT Support
1 Hawthorn Crescent
Durham DH1 1ED
Tel: 0191 370 9181
Mob: 07939 231 720
|