--- loncom/interface/londocs.pm 2009/10/18 15:32:36 1.395 +++ loncom/interface/londocs.pm 2009/10/19 02:12:32 1.396 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.395 2009/10/18 15:32:36 raeburn Exp $ +# $Id: londocs.pm,v 1.396 2009/10/19 02:12:32 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2061,7 +2061,7 @@ END $url.='pagepath='.&escape($pagepath). '&pagesymb='.&escape($symb).$cpinfo; } - if ($external) { + if (($external) && ($allowed)) { my $form = ($folder =~ /^default/)? 'newext' : 'supnewext'; $external = ' '.&mt('Edit').''; } else {