[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Tue May 21 09:01:37 EDT 2013
raeburn Tue May 21 13:01:37 2013 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Wording Changes.
- Shorten 'Main Course Content' to 'Main Content', and
'Supplemental Course Content' to 'Supplemental Content' for consistency
with Tab names in Contents screen.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.547 loncom/interface/londocs.pm:1.548
--- loncom/interface/londocs.pm:1.547 Tue May 21 12:54:15 2013
+++ loncom/interface/londocs.pm Tue May 21 13:01:36 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.547 2013/05/21 12:54:15 raeburn Exp $
+# $Id: londocs.pm,v 1.548 2013/05/21 13:01:36 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -488,7 +488,7 @@
}
my $folderpath=$env{'form.folderpath'};
if ($folderpath eq '') {
- $folderpath = 'default&'.&escape(&mt('Main '.$crstype.' Content').':::::');
+ $folderpath = 'default&'.&escape(&mt('Main Content').':::::');
}
$pathitem = '<input type="hidden" name="folderpath" value="'.
&HTML::Entities::encode($folderpath,'<>&"').'" />';
@@ -4053,7 +4053,7 @@
}
sub supplemental_base {
- return 'supplemental&'.&escape(&mt('Supplemental '.&Apache::loncommon::course_type().' Content'));
+ return 'supplemental&'.&escape(&mt('Supplemental Content'));
}
sub handler {
@@ -4186,7 +4186,7 @@
}
} elsif ($env{'form.command'} eq 'editdocs') {
$env{'form.folderpath'} = 'default&'.
- &escape(&mt('Main '.$crstype.' Content').':::::');
+ &escape(&mt('Main Content').':::::');
&Apache::lonnet::appenv({'docs.exit.'.$env{'request.course.id'} => $env{'form.command'}});
} elsif ($env{'form.command'} eq 'editsupp') {
$env{'form.folderpath'} = 'supplemental&'.
@@ -4231,7 +4231,7 @@
if ($supplementalflag) {
$env{'form.folderpath'}=&supplemental_base();
} else {
- $env{'form.folderpath'}='default&'.&escape(&mt('Main '.$crstype.' Content').
+ $env{'form.folderpath'}='default&'.&escape(&mt('Main Content').
':::::');
}
}
@@ -4257,7 +4257,7 @@
if ($env{'form.folder'} eq '' ||
$env{'form.folder'} eq 'supplemental') {
$folderpath='default&'.
- &escape(&mt('Main '.$crstype.' Content').':::::');
+ &escape(&mt('Main Content').':::::');
}
}
$containertag = '<input type="hidden" name="folderpath" value="" />';
@@ -4582,7 +4582,7 @@
if ($folder eq '' || $supplementalflag) {
$folder='default';
$savefolderpath = $env{'form.folderpath'};
- $env{'form.folderpath'}='default&'.&escape(&mt('Content'));
+ $env{'form.folderpath'}='default&'.&escape(&mt('Main Content'));
$pathitem = '<input type="hidden" name="folderpath" value="'.
&HTML::Entities::encode($env{'form.folderpath'},'<>&"').'" />';
}
@@ -5366,7 +5366,7 @@
$main_container_page = 1;
}
my $toplevelmain =
- &escape(&mt('Main '.$crstype.' Content').':::::');
+ &escape(&mt('Main Content').':::::');
my $toplevelsupp = &supplemental_base();
my $backtourl;
More information about the LON-CAPA-cvs
mailing list