Commit a1dfe761 authored by Nigel McNie's avatar Nigel McNie
Browse files

Pass staff/admin flags to the template so the dropdown to choose viewing...

Pass staff/admin flags to the template so the dropdown to choose viewing submitted views etc. are available.
parent 1751a820
......@@ -314,6 +314,8 @@ $smarty = smarty(array('tablerenderer'));
$smarty->assign('INLINEJAVASCRIPT', $javascript);
$smarty->assign('member', $membership);
$smarty->assign('tutor', $tutor);
$smarty->assign('staff', $staff);
$smarty->assign('admin', $admin);
$smarty->assign('controlled', $controlled);
$smarty->assign('request', $request);
$smarty->assign('canjoin', $canjoin);
......
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