version 1.27, 2006/05/01 06:17:16
|
version 1.30, 2010/12/03 21:33:56
|
Line 85 sub html_header {
|
Line 85 sub html_header {
|
&Apache::lonstatistics::clear_classlist_variables(); |
&Apache::lonstatistics::clear_classlist_variables(); |
foreach (['Sections',&Apache::lonstatistics::SectionSelect('Section','multiple',3)], |
foreach (['Sections',&Apache::lonstatistics::SectionSelect('Section','multiple',3)], |
['Groups',&Apache::lonstatistics::GroupSelect('Group','multiple',3)], |
['Groups',&Apache::lonstatistics::GroupSelect('Group','multiple',3)], |
['Enrollment Status',&Apache::lonhtmlcommon::StatusOptions(undef,undef,3)], |
['Access Status',&Apache::lonhtmlcommon::StatusOptions(undef,undef,3)], |
['Output Format',$self->output_selector()]) { |
['Output Format',$self->output_selector()]) { |
my ($name,$selector) = @{$_}; |
my ($name,$selector) = @{$_}; |
$toprow .= '<th align="center"><b>'.&mt($name).'</b></th>'; |
$toprow .= '<th align="center"><b>'.&mt($name).'</b></th>'; |
$bottomrow .= '<td>'.$selector.'</td>'; |
$bottomrow .= '<td>'.$selector.'</td>'; |
} |
} |
my $status .= '<nobr>'.&mt('Status: [_1]', |
my $status .= '<p><span class="LC_nobreak">' |
'<input type="text" '. |
.&mt('Status: [_1]', |
'name="spreadsheet_status" size="60" value="" />' |
'<input type="text" name="spreadsheet_status"' |
).'</nobr>'; |
.' size="60" value="" readonly="readonly" />') |
|
.'</span></p>'; |
|
|
return "<p>\n<table>\n". |
return "<p>\n<table>\n". |
"<tr>".$toprow."</tr>\n". |
"<tr>".$toprow."</tr>\n". |
Line 321 sub outsheet_htmlclasslist {
|
Line 322 sub outsheet_htmlclasslist {
|
# |
# |
if ($show_expire_link) { |
if ($show_expire_link) { |
$r->print('<a href="/adm/classcalc?output_format=htmlclasslist&'. |
$r->print('<a href="/adm/classcalc?output_format=htmlclasslist&'. |
'recalc=ilovewastingtime¬_first_run=1">'. |
'recalc=expireallsheets¬_first_run=1">'. |
&mt('Expire all student spreadsheets').'</a>'.$/); |
&mt('Expire all student spreadsheets').'</a>'.$/); |
} |
} |
# |
# |