--- loncom/interface/lonhtmlcommon.pm 2013/04/30 15:10:22 1.343
+++ loncom/interface/lonhtmlcommon.pm 2013/05/21 19:30:11 1.345
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.343 2013/04/30 15:10:22 bisitz Exp $
+# $Id: lonhtmlcommon.pm,v 1.345 2013/05/21 19:30:11 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -216,6 +216,8 @@ sub dependencycheck_js {
} elsif ($folderpath) {
$link = '/adm/dependencies?folderpath='.&HTML::Entities::encode($folderpath,'<>&"');
$url = $uri;
+ } elsif ($uri =~ m{^/public/$match_domain/$match_courseid/syllabus$}) {
+ $link = '/adm/dependencies';
}
$link .= (($link=~/\?/)?'&':'?').'title='.
&HTML::Entities::encode($title,'<>&"');
@@ -1955,7 +1957,7 @@ sub docs_breadcrumbs {
}
}
if ($folder eq 'supplemental') {
- $name = &mt('Supplemental '.$crstype.' Contents');
+ $name = &mt('Supplemental Content');
}
if ($contenteditor) {
$plain.=$name.' > ';