version 1.614, 2010/04/13 10:21:21
|
version 1.615, 2010/04/13 11:38:30
|
Line 8430 sub grading_menu {
|
Line 8430 sub grading_menu {
|
icon => 'edit-find-replace.png', |
icon => 'edit-find-replace.png', |
linktitle => 'Grade current resource for all students.' |
linktitle => 'Grade current resource for all students.' |
}, |
}, |
{ linktext => 'Grade complete page/sequence/folder for one student', |
{ linktext => 'Grade page/folder for one student', |
url => $url1d, |
url => $url1d, |
permission => 'F', |
permission => 'F', |
icon => 'edit-find-replace.png', |
icon => 'edit-find-replace.png', |
Line 8498 sub submit_options_sequence {
|
Line 8498 sub submit_options_sequence {
|
|
|
$result.=' |
$result.=' |
<h2> |
<h2> |
'.&mt('Grade complete page/sequence/folder for one student').' |
'.&mt('Grade page/folder for one student').' |
</h2>'. |
</h2>'. |
&selectfield(0). |
&selectfield(0). |
'<input type="hidden" name="command" value="pickStudentPage" /> |
'<input type="hidden" name="command" value="pickStudentPage" /> |
Line 9194 sub handler {
|
Line 9194 sub handler {
|
&startpage($request,$symb,[{href=>"", text=>"Student Submissions"}]); |
&startpage($request,$symb,[{href=>"", text=>"Student Submissions"}]); |
($env{'form.student'} eq '' ? &listStudents($request,$symb) : &submission($request,0,0,$symb)); |
($env{'form.student'} eq '' ? &listStudents($request,$symb) : &submission($request,0,0,$symb)); |
} elsif ($command eq 'pickStudentPage' && $perm{'vgr'}) { |
} elsif ($command eq 'pickStudentPage' && $perm{'vgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb,[{href=>&href_symb_cmd($symb,'all_for_one'),text=>'Grade page/folder for one student'}, |
|
{href=>'',text=>'Select student'}],1,1); |
&pickStudentPage($request,$symb); |
&pickStudentPage($request,$symb); |
} elsif ($command eq 'displayPage' && $perm{'vgr'}) { |
} elsif ($command eq 'displayPage' && $perm{'vgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb, |
|
[{href=>&href_symb_cmd($symb,'all_for_one'),text=>'Grade page/folder for one student'}, |
|
{href=>'',text=>'Select student'}, |
|
{href=>'',text=>'Grade student'}],1,1); |
&displayPage($request,$symb); |
&displayPage($request,$symb); |
} elsif ($command eq 'gradeByPage' && $perm{'mgr'}) { |
} elsif ($command eq 'gradeByPage' && $perm{'mgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb); |
Line 9218 sub handler {
|
Line 9222 sub handler {
|
&startpage($request,$symb,[{href=>"", text=>"Grading table"}]); |
&startpage($request,$symb,[{href=>"", text=>"Grading table"}]); |
$request->print(&submit_options_table($request,$symb)); |
$request->print(&submit_options_table($request,$symb)); |
} elsif ($command eq 'all_for_one' && $perm{'vgr'}) { |
} elsif ($command eq 'all_for_one' && $perm{'vgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb,[{href=>'',text=>'Grade page/folder for one student'}],1,1); |
$request->print(&submit_options_sequence($request,$symb)); |
$request->print(&submit_options_sequence($request,$symb)); |
} elsif ($command eq 'viewgrades' && $perm{'vgr'}) { |
} elsif ($command eq 'viewgrades' && $perm{'vgr'}) { |
&startpage($request,$symb,[{href=>&href_symb_cmd($symb,"table"), text=>"Grading table"},{href=>'', text=>"Modify grades"}]); |
&startpage($request,$symb,[{href=>&href_symb_cmd($symb,"table"), text=>"Grading table"},{href=>'', text=>"Modify grades"}]); |
Line 9239 sub handler {
|
Line 9243 sub handler {
|
&startpage($request,$symb); |
&startpage($request,$symb); |
$request->print(&verifyreceipt($request,$symb)); |
$request->print(&verifyreceipt($request,$symb)); |
} elsif ($command eq 'processclicker' && $perm{'mgr'}) { |
} elsif ($command eq 'processclicker' && $perm{'mgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb,[{href=>'', text=>'Process clicker'}]); |
$request->print(&process_clicker($request,$symb)); |
$request->print(&process_clicker($request,$symb)); |
} elsif ($command eq 'processclickerfile' && $perm{'mgr'}) { |
} elsif ($command eq 'processclickerfile' && $perm{'mgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb,[{href=>&href_symb_cmd($symb,'processclicker'), text=>'Process clicker'}, |
|
{href=>'', text=>'Process clicker file'}]); |
$request->print(&process_clicker_file($request,$symb)); |
$request->print(&process_clicker_file($request,$symb)); |
} elsif ($command eq 'assignclickergrades' && $perm{'mgr'}) { |
} elsif ($command eq 'assignclickergrades' && $perm{'mgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb,[{href=>&href_symb_cmd($symb,'processclicker'), text=>'Process clicker'}, |
|
{href=>'', text=>'Process clicker file'}, |
|
{href=>'', text=>'Store grades'}]); |
$request->print(&assign_clicker_grades($request,$symb)); |
$request->print(&assign_clicker_grades($request,$symb)); |
} elsif ($command eq 'csvform' && $perm{'mgr'}) { |
} elsif ($command eq 'csvform' && $perm{'mgr'}) { |
&startpage($request,$symb); |
&startpage($request,$symb); |