Commit 6f224c20 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add js string

parent f741e6eb
......@@ -129,13 +129,12 @@ function siteoptions_submit($values) {
}
$result['error'] = false;
$result['message'] = get_string('siteoptionsset');
error_log($result['message']);
json_headers();
echo json_encode($result);
exit;
}
$smarty = smarty(array(),array(),array('siteoptionsset'));
$smarty = smarty(array(),array(),array('siteoptionsset','setsiteoptionsfailed'));
$smarty->assign('SITEOPTIONFORM',$siteoptionform);
$smarty->display('admin/options/index.tpl');
......
Markdown is supported
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