version 1.58.4.8, 2011/10/03 01:35:46
|
version 1.58.4.9, 2013/11/21 16:34:23
|
Line 66 sub handler {
|
Line 66 sub handler {
|
} |
} |
my $formname = 'coursecatalog'; |
my $formname = 'coursecatalog'; |
if ($env{'form.showdom'} ne '') { |
if ($env{'form.showdom'} ne '') { |
|
$env{'form.showdom'} = &LONCAPA::clean_domain($env{'form.showdom'}); |
if (&Apache::lonnet::domain($env{'form.showdom'}) ne '') { |
if (&Apache::lonnet::domain($env{'form.showdom'}) ne '') { |
$codedom = $env{'form.showdom'}; |
$codedom = $env{'form.showdom'}; |
|
} else { |
|
$env{'form.showdom'} = ''; |
} |
} |
} |
} |
my $domdesc = &Apache::lonnet::domain($codedom,'description'); |
my $domdesc = &Apache::lonnet::domain($codedom,'description'); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
|
|
|
if ($env{'form.catalog_maxdepth'} ne '') { |
|
$env{'form.catalog_maxdepth'} =~ s{\D}{}g; |
|
} |
|
|
my %domconfig = |
my %domconfig = |
&Apache::lonnet::get_dom('configuration',['coursecategories'],$codedom); |
&Apache::lonnet::get_dom('configuration',['coursecategories'],$codedom); |
my (@cats,@trails,%allitems,%idx,@jsarray,%subcathash,$cathash); |
my (@cats,@trails,%allitems,%idx,@jsarray,%subcathash,$cathash); |