Commit 33013eec authored by Francois Marier's avatar Francois Marier
Browse files

Remove closing tags from PHP files



These closing tags are unnecessary and against our coding
guidelines. Let's get rid of them all in one go.

Change-Id: Ia94f103e525185597ee3780a3839d7577cdd0c29
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent e7299ba2
......@@ -33,5 +33,3 @@ define('TITLE', get_string('about'));
$smarty = smarty();
$smarty->assign('page_content', get_site_page_content('about'));
$smarty->display('sitepage.tpl');
?>
......@@ -109,4 +109,3 @@ if ($message) {
}
json_reply(false, (object) array('message' => $message, 'data' => $newhtml));
......@@ -249,4 +249,3 @@ $smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('deleteall', $deleteall);
$smarty->assign('activitylist', $activitylist);
$smarty->display('account/activity/index.tpl');
?>
......@@ -117,6 +117,3 @@ function activityprefs_submit(Pieform $form, $values) {
}
$form->json_reply(PIEFORM_OK, get_string('prefssaved', 'account'));
}
?>
......@@ -60,5 +60,3 @@ function account_delete_submit(Pieform $form, $values) {
$smarty = smarty();
$smarty->assign('form', $deleteform);
$smarty->display('account/delete.tpl');
?>
......@@ -322,6 +322,3 @@ function clearPasswords(form, data) {
");
$smarty->assign('PAGEHEADING', TITLE);
$smarty->display('account/index.tpl');
?>
......@@ -248,5 +248,3 @@ $smarty->assign('invitedform', $invitedform);
$smarty->assign('joinform', $joinform);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->display('account/institutions.tpl');
?>
......@@ -68,5 +68,3 @@ $smarty->assign('newfiltersdescription', get_string('newfiltersdescription', 'ad
$smarty->assign('filters', $filters);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->display('admin/extensions/filters.tpl');
?>
......@@ -133,4 +133,3 @@ function pluginconfig_validate(PieForm $form, $values) {
call_static_method($classname, 'validate_config_options', $form, $values);
}
}
?>
......@@ -205,5 +205,3 @@ $smarty->assign('plugins', $plugins);
$smarty->assign('installlink', 'installplugin');
$smarty->assign('PAGEHEADING', TITLE);
$smarty->display('admin/extensions/plugins.tpl');
?>
......@@ -64,5 +64,3 @@ function admindeletegroup_submit(Pieform $form, $values) {
$SESSION->add_ok_msg(get_string('deletegroup', 'group'));
redirect(get_config('wwwroot').'admin/groups/groups.php');
}
?>
......@@ -50,5 +50,3 @@ if (!delete_records('group_category','id', $itemid)) {
}
json_reply(false, get_string('groupcategorydeleted','admin'));
?>
......@@ -51,4 +51,3 @@ $result['message'] = false;
json_headers();
echo json_encode($result);
?>
......@@ -196,5 +196,3 @@ $smarty->assign('PAGEHEADING', hsc(get_string('groupcategories', 'admin')));
$smarty->assign('INLINEJAVASCRIPT', $ijs);
$smarty->assign('optionform', $optionform);
$smarty->display('admin/groups/groupcategories.tpl');
?>
......@@ -44,5 +44,3 @@ $data['offset'] = $offset;
$data['query'] = $query;
json_reply(false, array('data' => $data));
?>
......@@ -79,4 +79,3 @@ $smarty->display('admin/groups/groups.tpl');
function search_submit(Pieform $form, $values) {
redirect(get_config('wwwroot') . 'admin/groups/groups.php' . (!empty($values['query']) ? '?query=' . urlencode($values['query']) : ''));
}
?>
......@@ -108,5 +108,3 @@ $smarty = smarty();
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('managegroupform', $form);
$smarty->display('admin/groups/manage.tpl');
?>
......@@ -66,5 +66,3 @@ else {
}
json_reply(false, null);
?>
......@@ -131,5 +131,3 @@ function close_site_submit(Pieform $form, $values) {
}
redirect(get_config('wwwroot') . 'admin/index.php');
}
?>
......@@ -47,5 +47,3 @@ if (isset($register)) {
}
$smarty->display('admin/registersite.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