'
.$errtext
@@ -647,7 +700,7 @@ sub viewmap {
);
}
my $idx=0;
- $r->print('
'.$url.'
');
+ $r->print('
'.$url.'
');
if ($adv) {
$r->print('
'
.&mt('Map contents are not shown in order.')
@@ -660,7 +713,7 @@ sub viewmap {
.'
'.&mt('Title in map').' | '
.'
'.&mt('Filename of resource').' | '
.'
'.&mt('Link to published resource').' | '
- .'
'.&mt('Link to resource in Construction Space').' | '
+ .'
'.&mt('Link to resource in Authoring Space').' | '
.&Apache::loncommon::end_data_table_header_row()
);
foreach (&LONCAPA::map::attemptread(&Apache::lonnet::filelocation('',$url))) {
@@ -679,10 +732,10 @@ sub viewmap {
$filename = $1;
}
my $cstrurl = $resurl;
- $cstrurl =~ s#^/res/[^/]+/([^/]+)/#/priv/$1/#;
+ $cstrurl =~ s{^/res/}{/priv/};
$r->print(&Apache::loncommon::start_data_table_row()
.'
'
- .''
+ .''
.' | '
.'
'
.&HTML::Entities::encode(&LONCAPA::map::qtescape($title))
@@ -698,7 +751,7 @@ sub viewmap {
$r->print(' | ');
if ($url) {
$r->print(''.
- &mt('Construction space').'');
+ &mt('Authoring space').'');
} else {
$r->print(' ');
}
|