--- loncom/interface/lonhtmlcommon.pm 2011/12/21 21:25:40 1.297
+++ loncom/interface/lonhtmlcommon.pm 2012/01/03 00:28:29 1.300
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.297 2011/12/21 21:25:40 www Exp $
+# $Id: lonhtmlcommon.pm,v 1.300 2012/01/03 00:28:29 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1462,9 +1462,11 @@ returns: nothing
}
my $links;
if ((&show_return_link) && (!$CourseBreadcrumbs)) {
- $links=&htmltag( 'a',"",
+ my $alttext = &mt('Go Back');
+ $links=&htmltag( 'a',"
",
{ href => '/adm/flip?postdata=return:',
title => &mt("Back to most recent content resource") });
+ $links=&htmltag('li',$links);
}
$links.= join "",
map {
@@ -2001,26 +2003,41 @@ sub course_custom_roles {
sub resource_info_box {
- my ($symb,$onlyfolderflag)=@_;
+ my ($symb,$onlyfolderflag,$stuvcurrent,$stuvdisp)=@_;
my $return='';
+ if ($stuvcurrent ne '') {
+ $return = '
'.&mt('No context provided.').'
'; } + if ($stuvcurrent ne '') { + $return .= '