version 1.197, 2009/04/22 17:19:10
|
version 1.198, 2009/07/03 09:59:06
|
Line 409 function gothere(val) {
|
Line 409 function gothere(val) {
|
ENDHEADER |
ENDHEADER |
|
|
my ($headerdom)=($uri=~m{^/res/($match_domain)/}); |
my ($headerdom)=($uri=~m{^/res/($match_domain)/}); |
$r->print(&Apache::loncommon::start_page('Content Library',$js, |
|
{'domain' => $headerdom,})); |
if ($env{'form.catalogmode'}) { |
|
# "Popup mode" |
|
$r->print(&Apache::loncommon::start_page('Browse published resources',$js, |
|
{'only_body' => 1, |
|
'domain' => $headerdom,})); |
|
} else { |
|
# Only display page header and breadcrumbs in non-popup mode |
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
|
&Apache::lonhtmlcommon::add_breadcrumb({ |
|
'text' => 'Browse published resources', |
|
'href' => '/res/fhwfdev/?launch=1', |
|
}); |
|
$r->print(&Apache::loncommon::start_page('Browse published resources',$js, |
|
{'domain' => $headerdom,}) |
|
.&Apache::lonhtmlcommon::breadcrumbs() |
|
); |
|
} |
|
|
# ---------------------------------- get state of file types to be showing |
# ---------------------------------- get state of file types to be showing |
if ($env{'form.only'}) { |
if ($env{'form.only'}) { |
$typeselect = $env{'form.only'}; |
$typeselect = $env{'form.only'}; |