version 1.240.2.5, 2009/12/24 18:28:54
|
version 1.240.2.6, 2009/12/25 00:26:16
|
Line 165 sub redirect_user {
|
Line 165 sub redirect_user {
|
my $start_page = &Apache::loncommon::start_page('Switching Role',undef, |
my $start_page = &Apache::loncommon::start_page('Switching Role',undef, |
{'redirect' => [1,$url], |
{'redirect' => [1,$url], |
'bread_crumbs' => $brcrum,}); |
'bread_crumbs' => $brcrum,}); |
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
my $end_page = &Apache::loncommon::end_page(); |
my $end_page = &Apache::loncommon::end_page(); |
|
|
# Note to style police: |
# Note to style police: |
Line 751 ENDSCRIPT
|
Line 752 ENDSCRIPT
|
$r->print(&Apache::lonmenu::inlinemenu('gcicustom',$switcher). |
$r->print(&Apache::lonmenu::inlinemenu('gcicustom',$switcher). |
&Apache::loncommon::end_page()); |
&Apache::loncommon::end_page()); |
return OK; |
return OK; |
|
} else { |
|
if ($env{'form.destinationurl'} eq '/adm/gci_info') { |
|
delete($env{'form.destinationurl'}); |
|
} |
} |
} |
if ($env{'user.adv'}) { |
if ($env{'user.adv'}) { |
$r->print('<p><label><input type="checkbox" name="showall"'); |
$r->print('<p><label><input type="checkbox" name="showall"'); |