- if (cms::determine_type() == "index") {
- $scripts = "<script type='text/javascript' src='/includes/all.js'></script>";
- $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylansserver.com&ucn_task=conformance#";
- } else if ($this->determine_type() == 'note'
- && isset($_GET['comments'])) {
- $scripts = "<script type='text/javascript' src='http://www.google.com/recaptcha/api/js/recaptcha_ajax.js'></script>";
- $scripts .= "<script type='text/javascript' src='/includes/comment.js'></script>";
- }