version 1.21, 2006/08/18 15:15:38
|
version 1.24, 2008/10/30 17:45:25
|
Line 248 sub bin_data {
|
Line 248 sub bin_data {
|
my @Bins; |
my @Bins; |
my $count=0; |
my $count=0; |
my $idx=0; |
my $idx=0; |
while ($idx < scalar(@$data) && ($endbin-$binend + $binsize)>0) { |
while ($idx < scalar(@$data) && ($endbin-$binend + $binsize)>=0) { |
my $dataset = $data->[$idx++]; |
my $dataset = $data->[$idx++]; |
my ($x,$y) = @{$dataset}; |
my ($x,$y) = @{$dataset}; |
while ($x > ($binend-.001)) { |
while ($x > ($binend-.001)) { |
Line 293 sub CreateInterface {
|
Line 293 sub CreateInterface {
|
$Str .= &Apache::lonhtmlcommon::breadcrumbs('Correct Problems Plot'); |
$Str .= &Apache::lonhtmlcommon::breadcrumbs('Correct Problems Plot'); |
$Str .= '<p>'; |
$Str .= '<p>'; |
# |
# |
$Str .= '<table cellspacing="5">'."\n"; |
$Str .= &Apache::loncommon::start_data_table(); |
$Str .= '<tr>'; |
$Str .= &Apache::loncommon::start_data_table_header_row(); |
$Str .= '<td align="center"><b>'.&mt('Sections').'</b></td>'; |
$Str .= '<th>'.&mt('Sections').'</th>'; |
$Str .= '<td align="center"><b>'.&mt('Groups').'</b></td>'; |
$Str .= '<th>'.&mt('Groups').'</th>'; |
$Str .= '<td align="center"><b>'.&mt('Access Status').'</b></td>'; |
$Str .= '<th>'.&mt('Access Status').'</th>'; |
$Str .= '<td align="center"><b>'.&mt('Sequences and Folders').'</b></td>'; |
$Str .= '<th>'.&mt('Sequences and Folders').'</th>'; |
$Str .= '<td rowspan="2">'. |
$Str .= '<th>'.&mt('Time Period').'</th>'; |
&Apache::lonstathelpers::limit_by_time_form().'</td>'; |
$Str .= &Apache::loncommon::end_data_table_header_row(); |
$Str .= '</tr>'."\n"; |
|
# |
# |
$Str .= '<tr><td align="center">'."\n"; |
$Str .= &Apache::loncommon::start_data_table_row(); |
|
$Str .= '<td align="center" valign="top">'."\n"; |
$Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',5); |
$Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',5); |
$Str .= '</td>'; |
$Str .= '</td>'; |
# |
# |
$Str .= '<td align="center">'."\n"; |
$Str .= '<td align="center" valign="top">'."\n"; |
$Str .= &Apache::lonstatistics::GroupSelect('Group','multiple',5); |
$Str .= &Apache::lonstatistics::GroupSelect('Group','multiple',5); |
$Str .= '</td>'; |
$Str .= '</td>'; |
$Str .= '<td align="center">'; |
$Str .= '<td align="center" valign="top">'; |
$Str .= &Apache::lonhtmlcommon::StatusOptions(undef,undef,5); |
$Str .= &Apache::lonhtmlcommon::StatusOptions(undef,undef,5); |
$Str .= '</td><td>'."\n"; |
$Str .= '</td>'."\n"; |
# |
# |
|
$Str .= '<td align="center" valign="top">'."\n"; |
$Str .= &Apache::lonstatistics::map_select('Maps','multiple,all',5); |
$Str .= &Apache::lonstatistics::map_select('Maps','multiple,all',5); |
$Str .= '</td>'; |
$Str .= '</td>'; |
# |
# |
$Str .= '</tr>'."\n"; |
$Str .= '<td align="center" valign="top">'."\n"; |
$Str .= '</table>'."\n"; |
$Str .= &Apache::lonstathelpers::limit_by_time_form(); |
|
$Str .= '</td>'; |
|
# |
|
$Str .= &Apache::loncommon::end_data_table_row(); |
|
$Str .= &Apache::loncommon::end_data_table(); |
# |
# |
$Str .= '<nobr>'.&mt('Status: [_1]', |
$Str .= '<p><span class="LC_nobreak">' |
'<input type="text" '. |
.&mt('Status: [_1]', |
'name="stats_status" size="60" value="" />'). |
'<input type="text" name="stats_status"' |
'</nobr>'.'</p>'; |
.' size="60" value="" readonly="readonly" />') |
|
.'</span></p>'; |
|
$Str .= '</p>'; |
## |
## |
return $Str; |
return $Str; |
} |
} |