version 1.32, 2010/06/06 02:40:35
|
version 1.33, 2012/11/08 21:55:11
|
Line 262 sub handler {
|
Line 262 sub handler {
|
$spell_header)); |
$spell_header)); |
if ($symb) { |
if ($symb) { |
my $title='<h1>'.&Apache::lonnet::gettitle($symb).'</h1>'; |
my $title='<h1>'.&Apache::lonnet::gettitle($symb).'</h1>'; |
my $displaylink = &get_parent_uri($symb); |
if (&get_parent_uri($symb)) { |
if ($displaylink ne '') { |
$r->print($title); |
my $functions=&Apache::lonhtmlcommon::start_funclist() |
|
.&Apache::lonhtmlcommon::add_item_funclist( |
|
'<a href="'.$displaylink.'">' |
|
.&mt('Student View').'</a>') |
|
.&Apache::lonhtmlcommon::end_funclist(); |
|
$r->print(&Apache::loncommon::head_subbox($functions) |
|
.$title); |
|
} else { |
} else { |
$r->print($title |
$r->print($title |
.'<p class="LC_error">' |
.'<p class="LC_error">' |
Line 420 sub handler {
|
Line 413 sub handler {
|
} |
} |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
return OK; |
return OK; |
} |
} |
|
|
1; |
1; |
__END__ |
__END__ |