Commit b45dd2bf authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove calls to create_template_form() which no longer exists

parent be12f743
...@@ -59,7 +59,6 @@ $smarty->assign('views', $data->data); ...@@ -59,7 +59,6 @@ $smarty->assign('views', $data->data);
$smarty->assign('institution', 'mahara'); $smarty->assign('institution', 'mahara');
$smarty->assign('pagination', $pagination['html']); $smarty->assign('pagination', $pagination['html']);
$smarty->assign('createviewform', pieform(create_view_form(null, 'mahara'))); $smarty->assign('createviewform', pieform(create_view_form(null, 'mahara')));
$smarty->assign('createtemplateform', pieform(create_template_form(null, 'mahara')));
$smarty->display('view/index.tpl'); $smarty->display('view/index.tpl');
......
...@@ -79,7 +79,6 @@ $smarty->assign('member', $member); ...@@ -79,7 +79,6 @@ $smarty->assign('member', $member);
$smarty->assign('views', $data->data); $smarty->assign('views', $data->data);
$smarty->assign('pagination', $pagination['html']); $smarty->assign('pagination', $pagination['html']);
$smarty->assign('createviewform', pieform(create_view_form($group->id))); $smarty->assign('createviewform', pieform(create_view_form($group->id)));
$smarty->assign('createtemplateform', pieform(create_template_form($group->id)));
if ($can_edit) { // && !$shared) { if ($can_edit) { // && !$shared) {
$smarty->display('view/index.tpl'); $smarty->display('view/index.tpl');
......
...@@ -78,7 +78,6 @@ $smarty->assign('views', $data->data); ...@@ -78,7 +78,6 @@ $smarty->assign('views', $data->data);
$smarty->assign('institution', $institution); $smarty->assign('institution', $institution);
$smarty->assign('pagination', $pagination['html']); $smarty->assign('pagination', $pagination['html']);
$smarty->assign('createviewform', pieform(create_view_form(null, $institution))); $smarty->assign('createviewform', pieform(create_view_form(null, $institution)));
$smarty->assign('createtemplateform', pieform(create_template_form(null, $institution)));
$smarty->display('view/index.tpl'); $smarty->display('view/index.tpl');
......
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