version 1.96, 2009/05/25 17:49:43
|
version 1.97, 2009/06/09 15:01:28
|
Line 543 ENDJS
|
Line 543 ENDJS
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::add_breadcrumb({ |
&Apache::lonhtmlcommon::add_breadcrumb({ |
text => 'Construction Space', |
text => 'Construction Space', |
href => '', # FIXME Add link to priv/[user] |
href => &Apache::loncommon::authorspace(), |
faq => 6, |
faq => 6, |
bug => 'RAT', |
bug => 'RAT', |
help => 'Sequence_Simple_Editor_Creation',}); |
help => 'Sequence_Simple_Editor_Creation',}); |
Line 640 ENDSMPHEAD
|
Line 640 ENDSMPHEAD
|
sub nodir { |
sub nodir { |
my ($r,$dir)=@_; |
my ($r,$dir)=@_; |
$dir=~s{^/home/$LONCAPA::username_re/public_html}{}; |
$dir=~s{^/home/$LONCAPA::username_re/public_html}{}; |
$r->print(&Apache::loncommon::start_page('Construction Space',undef) |
my $brcrum = [{'href' => &Apache::loncommon::authorspace(), |
.&Apache::lonhtmlcommon::breadcrumbs() # FIXME add breadcrumbs |
'text' => 'Construction Space'}]; |
|
# {'href' => '', |
|
# 'text' => 'No such directory'}]; |
|
$r->print(&Apache::loncommon::start_page('Construction Space', |
|
undef, |
|
{'bread_crumbs' => $brcrum,}) |
.&Apache::loncommon::head_subbox( |
.&Apache::loncommon::head_subbox( |
&Apache::loncommon::CSTR_pageheader()) |
&Apache::loncommon::CSTR_pageheader()) |
.'<p class="LC_error">' |
.'<p class="LC_error">' |
Line 659 sub viewmap {
|
Line 664 sub viewmap {
|
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::add_breadcrumb({ |
&Apache::lonhtmlcommon::add_breadcrumb({ |
text => 'Construction Space', |
text => 'Construction Space', |
href => '', # FIXME Add link to priv/[user] |
href => &Apache::loncommon::authorspace(), |
faq => 6, |
faq => 6, |
bug => 'RAT', |
bug => 'RAT', |
help => 'Sequence_Simple_Editor_Creation',}); |
help => 'Sequence_Simple_Editor_Creation',}); |
Line 682 sub viewmap {
|
Line 687 sub viewmap {
|
); |
); |
} |
} |
my $idx=0; |
my $idx=0; |
$r->print('<h1>'.$url.'</h1>'); |
$r->print('<p><span class="LC_filename">'.$url.'</span></p>'); |
if ($adv) { |
if ($adv) { |
$r->print('<p class="LC_warning">' |
$r->print('<p class="LC_warning">' |
.&mt('Map contents are not shown in order.') |
.&mt('Map contents are not shown in order.') |