version 1.61, 2011/01/03 14:39:19
|
version 1.62, 2011/01/10 00:06:28
|
Line 133 sub startGradeScreen {
|
Line 133 sub startGradeScreen {
|
|
|
$r->print("\n".'<ul class="LC_TabContentBigger" id="main">'); |
$r->print("\n".'<ul class="LC_TabContentBigger" id="main">'); |
$r->print("\n".'<li'.($mode eq 'quick'?' class="active"':'').'><a href="/adm/quickgrades"><b> '. |
$r->print("\n".'<li'.($mode eq 'quick'?' class="active"':'').'><a href="/adm/quickgrades"><b> '. |
($showPoints?&mt('Points Overview'):($showCategories?&mt('Grades Overview'):&mt('Completion Overview'))). |
($showPoints?&mt('Individual Points Overview'):($showCategories?&mt('Grades Overview'):&mt('Completion Overview'))). |
' </b></a></li>'); |
' </b></a></li>'); |
|
|
if (!($showPoints || $notshowSPRSlink) || ($allowed_to_view)) { |
if (!($showPoints || $notshowSPRSlink) || ($allowed_to_view)) { |
Line 403 sub outputCategories {
|
Line 403 sub outputCategories {
|
|
|
my ($r,$showPoints,$notshowTotals, |
my ($r,$showPoints,$notshowTotals, |
$navmap,$totalParts,$totalPossible,$totalRight,$totalAttempted,$topLevelParts,$topLevelRight,$topLevelAttempted)=@_; |
$navmap,$totalParts,$totalPossible,$totalRight,$totalAttempted,$topLevelParts,$topLevelRight,$topLevelAttempted)=@_; |
|
# Take care of storing and retrieving categories |
|
|
|
my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; |
|
my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'}; |
|
|
|
my %categories=&Apache::lonnet::dump('grading_categories',$cdom,$cnum); |
|
# categories loaded now |
|
|
} |
} |
|
|
# Pass this two refs to arrays for the start and end color, and a number |
# Pass this two refs to arrays for the start and end color, and a number |