[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 11 Sep 2008 13:31:03 -0000


raeburn		Thu Sep 11 09:31:03 2008 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Bug 5337. "Launch Remote Control" removed for inline navigation menu for $env{'user.adv'} users.  Now all users will lauunch from User Pereferences.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.241 loncom/interface/lonmenu.pm:1.242
--- loncom/interface/lonmenu.pm:1.241	Fri Sep  5 15:20:39 2008
+++ loncom/interface/lonmenu.pm	Thu Sep 11 09:30:59 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.241 2008/09/05 19:20:39 riegler Exp $
+# $Id: lonmenu.pm,v 1.242 2008/09/11 13:30:59 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -251,10 +251,6 @@
         }
         my $form=&serverform();
 	my $utility=&utilityfunctions();
-	my $remote;
-	if ($env{'user.adv'}) {
-	    $remote = '<td><a href="/adm/remote?action=launch&amp;url='.$escurl.'" target="_top">'.$lt{'launch'}.'</a></td>'
-	}
 
         my $helplink=&Apache::loncommon::top_nav_help('Help');
 	return (<<ENDINLINEMENU);
@@ -272,7 +268,6 @@
 $navmaps
 $docs
 $groups
-$remote
 $roles
 <td class="LC_top_nav_help">$helplink</td>
 <td class="LC_top_nav_exit"><a href="/adm/logout" target="_top">$lt{'exit'}</a></td>