version 1.161, 2021/11/30 15:55:37
|
version 1.162, 2022/10/27 20:33:31
|
Line 84 use Apache::lonlocal;
|
Line 84 use Apache::lonlocal;
|
use Apache::lonmsgdisplay(); |
use Apache::lonmsgdisplay(); |
use Apache::lontemplate; |
use Apache::lontemplate; |
use Apache::longroup; |
use Apache::longroup; |
|
use Apache::lonhtmlcommon(); |
use HTML::Entities(); |
use HTML::Entities(); |
use Image::Magick; |
use Image::Magick; |
|
|
Line 222 sub handler {
|
Line 223 sub handler {
|
$args->{'no_nav_bar'} = 1; |
$args->{'no_nav_bar'} = 1; |
} elsif (!$env{'form.register'}) { #Don't show breadcrumbs twice, when this page is part of course content and you call it |
} elsif (!$env{'form.register'}) { #Don't show breadcrumbs twice, when this page is part of course content and you call it |
if (($env{'request.course.id'}) && |
if (($env{'request.course.id'}) && |
($env{'form.folderpath'} =~ /^supplemental/)) { |
($env{'form.folderpath'} =~ /^supplemental/)) { |
|
&Apache::loncommon::validate_folderpath(1,'',$coursenum,$coursedomain); |
my $crstype = &Apache::loncommon::course_type(); |
my $crstype = &Apache::loncommon::course_type(); |
my $title = $env{'form.title'}; |
my $title = $env{'form.title'}; |
if ($title eq '') { |
if ($title eq '') { |