--- loncom/auth/lonroles.pm 2010/09/02 17:08:28 1.256.2.4 +++ loncom/auth/lonroles.pm 2011/09/27 20:33:34 1.256.2.6 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.256.2.4 2010/09/02 17:08:28 raeburn Exp $ +# $Id: lonroles.pm,v 1.256.2.6 2011/09/27 20:33:34 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -579,7 +579,9 @@ ENDENTERKEY } } # Are we allowed to look at the first resource? - if ($furl !~ m|^/adm/|) { + if (($furl !~ m|^/adm/|) || + (($env{'environment.remotenavmap'} eq 'on') && + ($furl =~ m{^/adm/navmaps}))) { # Guess not ... $furl=&Apache::lonpageflip::first_accessible_resource(); } @@ -1761,7 +1763,7 @@ sub display_cc_role { my %newhash=&Apache::lonnet::coursedescription($tcourseid); if (%newhash) { $twhere=$newhash{'description'}. - ' '. + ' '. &Apache::loncommon::syllabuswrapper(&mt('Syllabus'),$trest,$tdom). ''; $ttype = $newhash{'type'};