The below I get
$html = tag('html', attributes("xmlns=\"http://www.w3.org/1999/xhtml\"",
"xml:lang=\"$lang\"", "lang=\"$lang\""),
tag('head',
tag('title', $config['calendar_title']),
tag('link', attributes('rel="stylesheet"'.' type="text/css" href="'.$phpc_script.'?action=style"')),
tag('link', attributes('rel="stylesheet" type="text/css" href="xxx.css"'))),
tag('body',
tag('h1', $config['calendar_title']),
navbar(),
$rest,
link_bar()));
return $output . $html->toString();
But how do I add this:
tag('script', attributes('type="text/javascript" src="xxx.js"')),
That just makes the page blank. Take out the 'script' tag code, and the CSS tag works fine. I'm not familiar with that tag(,) thing.