version 1.64, 2025/03/16 21:04:09
|
version 1.65, 2025/03/17 00:25:51
|
Line 536 sub handler {
|
Line 536 sub handler {
|
# Render private items? |
# Render private items? |
my $viewpubliconly=1; |
my $viewpubliconly=1; |
$r->print("\n". |
$r->print("\n". |
($html?'<hr /><h3>':'<title>'). |
($html?'<hr /><h3 class="LC_heading_3">':'<title>'). |
&mt('LON-CAPA Feed "[_1]" for [_2]',$displayfeedname,$name). |
&mt('LON-CAPA Feed "[_1]" for [_2]',$displayfeedname,$name). |
($displayoption eq 'hidden'?' ('.&mt('Hidden').')':''). |
($displayoption eq 'hidden'?' ('.&mt('Hidden').')':''). |
($html?'</h3>'.($edit?'<form method="post" name="lonhomework" enctype="multipart/form-data" action=""><br />'. |
($html?'</h3>'.($edit?'<form method="post" name="lonhomework" enctype="multipart/form-data" action=""><br />'. |
Line 577 sub handler {
|
Line 577 sub handler {
|
my $free_space = $disk_quota - ($current_disk_usage / 1024.); |
my $free_space = $disk_quota - ($current_disk_usage / 1024.); |
# Format this number since it will be displayed onscreen |
# Format this number since it will be displayed onscreen |
$free_space = sprintf("%.1f", $free_space); |
$free_space = sprintf("%.1f", $free_space); |
|
my $fileclass = 'LC_left'; |
|
my $notitle = 1; |
$uploadlink = &Apache::lonhtmlcommon::start_pick_box(). |
$uploadlink = &Apache::lonhtmlcommon::start_pick_box(). |
&Apache::inputtags::file_selector(0,0,'*','both','',$free_space). |
&Apache::inputtags::file_selector(0,0,'*','both','',$free_space,$fileclass,$notitle). |
&Apache::lonhtmlcommon::end_pick_box(); |
&Apache::lonhtmlcommon::end_pick_box(); |
} else { |
} else { |
# Otherwise, display |
# Otherwise, display |