Diff for /loncom/interface/lonmenu.pm between versions 1.362 and 1.365

version 1.362, 2011/11/27 20:55:58 version 1.365, 2011/12/09 01:04:27
Line 428  sub innerregister { Line 428  sub innerregister {
      "gocmd('/adm/parmset','set')",       "gocmd('/adm/parmset','set')",
      'Content Settings');       'Content Settings');
  }   }
         if ($env{'request.symb'} ne '' &&          if ($env{'request.symb'}=~/^uploaded/ &&
             &Apache::lonnet::allowed('mdc',$crs)) {              &Apache::lonnet::allowed('mdc',$crs)) {
             $hwkadd.=&switch('','',7,4,'docs.png','Folder/Page Content','parms[_2]',              $hwkadd.=&switch('','',7,4,'docs.png','Folder/Page Content','parms[_2]',
                              "gocmd('/adm/coursedocs','direct')",                               "gocmd('/adm/coursedocs','direct')",
Line 1230  function golist(url) { Line 1230  function golist(url) {
   
   
 function catalog_info() {  function catalog_info() {
    loncatinfo=window.open(window.location.pathname+'.meta',"LONcatInfo",'height=320,width=280,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no');     openMyModal(window.location.pathname+'.meta',500,400,'yes');
 }  }
   
 function chat_win() {  function chat_win() {
Line 1256  function annotate() { Line 1256  function annotate() {
    annotator.document.close();     annotator.document.close();
 }  }
   
 function set_wishlistlink(title, path) {  
     if (!title) {  
         title = document.title;  
         title = title.replace(/^LON-CAPA /,'');  
     }  
     if (!path) {  
         path = location.pathname;  
     }  
     Win = window.open('/adm/wishlist?mode=newLink&setTitle='+title+'&setPath='+path,  
                       'wishlistNewLink','width=560,height=350,scrollbars=0');  
 }  
   
 function open_Wishlist_Import(rat) {  function open_Wishlist_Import(rat) {
    var newWin;     var newWin;
    if (rat) {     if (rat) {
Line 1670  sub required_privs { Line 1658  sub required_privs {
              '/adm/statistics'   => 'vgr',               '/adm/statistics'   => 'vgr',
            };             };
     unless ($env{'course.'.$env{'request.course.id'}.'.grading'} eq 'spreadsheet') {      unless ($env{'course.'.$env{'request.course.id'}.'.grading'} eq 'spreadsheet') {
         $privs->{'/adm/classcalc'}   => 'vgr',          $privs->{'/adm/classcalc'}   = 'vgr',
         $privs->{'/adm/assesscalc'}  => 'vgr',          $privs->{'/adm/assesscalc'}  = 'vgr',
         $privs->{'/adm/studentcalc'} => 'vgr';          $privs->{'/adm/studentcalc'} = 'vgr';
     }      }
     return $privs;      return $privs;
 }  }

Removed from v.1.362  
changed lines
  Added in v.1.365


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>