[Php-calendar-discussion] menu code
Brought to you by:
sproctor
From: Ken R. <ke...@in...> - 2005-07-07 09:49:18
|
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/in= cludes/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=20 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 =3D tag('div', attributes('class=3D"phpc-footer"')); if($config['translate']) { $html->add(tag('p', '[', lang_link('en'), '] [', lang_link('de'), ']')); } $html->add(tag('p', '[', tag('a', attributes('href=3D"http://validator.w3.org/' .'check?url=3D' .rawurlencode($phpc_url) .'"'), 'Valid XHTML 1.1'), '] [', tag('a', attributes('href=3D"http://jigsaw.w3.org/' .'css-validator/check/referer"'), 'Valid CSS2'), ']')); return $html; } |