version 1.15, 2009/12/04 15:13:04
|
version 1.18.8.4.2.1, 2022/05/27 18:00:59
|
Line 46 sub handler {
|
Line 46 sub handler {
|
my $readfile=$r->uri; |
my $readfile=$r->uri; |
$readfile=~s/\/loadonly\/adveditmenu$//; |
$readfile=~s/\/loadonly\/adveditmenu$//; |
|
|
|
my $target = '_top'; |
|
if ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || |
|
(($env{'request.deeplink.login'}) && ($env{'request.deeplink.target'}))) { |
|
$target = '_parent'; |
|
} |
|
|
# Breadcrumbs |
# Breadcrumbs |
my $brcrum = [{'href' => &Apache::loncommon::authorspace(), |
my $brcrum = [{'href' => &Apache::loncommon::authorspace($r->uri), |
'text' => 'Construction Space'}, |
'text' => 'Authoring Space', |
|
'target' => $target}, |
{'href' => '', |
{'href' => '', |
'text' => 'RAT'}, |
'text' => 'RAT'}, |
{'href' => '', |
{'href' => '', |
Line 108 sub handler {
|
Line 115 sub handler {
|
'<a href="javascript:groupimport();">' |
'<a href="javascript:groupimport();">' |
.&mt('Import').'</a>') |
.&mt('Import').'</a>') |
.&Apache::lonhtmlcommon::add_item_funclist( |
.&Apache::lonhtmlcommon::add_item_funclist( |
'<a href="javascript:bookmarkopen();">' |
'<a href="javascript:open_StoredLinks_Import('."'advanced'".');">' |
.&mt('Import Bookmarks').'</a>') |
.&mt('Import from Stored Links').'</a>') |
.&Apache::lonhtmlcommon::add_item_funclist( |
.&Apache::lonhtmlcommon::add_item_funclist( |
'<a href="javascript:groupcopy();">' |
'<a href="javascript:groupcopy();">' |
.&mt('Copy').'</a>') |
.&mt('Copy').'</a>') |
Line 132 sub handler {
|
Line 139 sub handler {
|
|
|
# Print Advanced RAT page header |
# Print Advanced RAT page header |
$r->send_http_header('text/html'); |
$r->send_http_header('text/html'); |
|
my $frameset = 1; |
|
|
$r->print( |
$r->print( |
&Apache::loncommon::start_page( |
&Apache::loncommon::start_page( |
Line 141 sub handler {
|
Line 149 sub handler {
|
'bread_crumbs' => $brcrum,}) |
'bread_crumbs' => $brcrum,}) |
|
|
.&Apache::loncommon::head_subbox( |
.&Apache::loncommon::head_subbox( |
&Apache::loncommon::CSTR_pageheader() |
&Apache::loncommon::CSTR_pageheader('',$frameset) |
.$functions) |
.$functions) |
|
|
.&Apache::loncommon::end_page() |
.&Apache::loncommon::end_page() |