From: tomflannaghan Date: Thu, 17 Aug 2006 09:27:51 +0000 (+0000) Subject: Javascript added X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b01008523944e0e1b3a1f52e394ad7d6ce045fe8;p=moodle.git Javascript added --- diff --git a/mod/data/view.php b/mod/data/view.php index f20975df02..b4a75dfaed 100755 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -147,7 +147,7 @@ $USER->editing = $edit; } -/// RSS and CSS meta +/// RSS and CSS and JS meta $meta = ''; if (!empty($CFG->enablerssfeeds) && !empty($CFG->data_enablerssfeeds) && $data->rssarticles > 0) { $rsspath = rss_get_url($course->id, $USER->id, 'data', $data->id); @@ -157,6 +157,10 @@ if ($data->csstemplate) { $meta .= ' '; } + if ($data->jstemplate) { + $meta .= ''; + } + /// Print the page header $PAGE->print_header($course->shortname.': %fullname%', '', $meta);