--- loncom/interface/londocs.pm 2011/12/21 20:21:49 1.468
+++ loncom/interface/londocs.pm 2011/12/21 23:23:08 1.469
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.468 2011/12/21 20:21:49 raeburn Exp $
+# $Id: londocs.pm,v 1.469 2011/12/21 23:23:08 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2200,13 +2200,23 @@ END
} else {
$reinit = &mt('(re-initialize course to access)');
}
- $line.='
-
- '.($url?'':'').''.($url?'':'').'
- |
-
- '.($url?"":'').$title.($url?'':' '.$reinit.'').$external."
- | ";
+ $line.='';
+ if ($url=~m{/adm/coursedocs}) {
+ $line.='';
+ } elsif ($url) {
+ $line.=&Apache::loncommon::modal_link($url.'&inhibitmenu=yes','',600,500);
+ } else {
+ $line.='';
+ }
+ $line.=' | ';
+ if ($url=~m{/adm/coursedocs}) {
+ $line.=''.$title.'';
+ } elsif ($url) {
+ $line.=&Apache::loncommon::modal_link($url.'&inhibitmenu=yes',$title,600,500);
+ } else {
+ $line.=$title.' '.$reinit.'';
+ }
+ $line.=$external." | ";
if (($allowed) && ($folder!~/^supplemental/)) {
my %lt=&Apache::lonlocal::texthash(
'hd' => 'Hidden',