Commit 0242b984 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove old requests for Plotkit.js


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 9262bd34
......@@ -73,16 +73,11 @@ $closeform = pieform(array(
),
));
$jsfiles = array();
if (empty($upgrades)) {
$sitedata = site_statistics();
if (!empty($sitedata['weekly'])) {
$jsfiles = array('js/PlotKit/excanvas.js', 'js/PlotKit/PlotKit.js');
$sitedata['dataarray'] = json_encode(array($sitedata['weekly']['view-count'], $sitedata['weekly']['user-count'], $sitedata['weekly']['group-count']));
}
}
$smarty = smarty($jsfiles);
$smarty = smarty();
$smarty->assign('PAGEHEADING', hsc(get_string('administration', 'admin')));
// normal admin page starts here
......
......@@ -63,7 +63,7 @@ addLoadEvent(function () {
});
EOF;
$smarty = smarty(array('js/PlotKit/excanvas.js', 'js/PlotKit/PlotKit.js', 'paginator'));
$smarty = smarty(array('paginator'));
$smarty->assign('PAGEHEADING', hsc(TITLE));
$smarty->assign('INLINEJAVASCRIPT', $js);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment