Diff for /loncom/interface/lonmenu.pm between versions 1.451 and 1.452

version 1.451, 2016/06/19 04:27:50 version 1.452, 2016/08/15 15:52:16
Line 877  ENDMENUITEMS Line 877  ENDMENUITEMS
             $got_prt = 1;              $got_prt = 1;
             if (($env{'user.adv'}) && ($env{'request.uri'} =~ /^\/res/)              if (($env{'user.adv'}) && ($env{'request.uri'} =~ /^\/res/)
                 && (!$env{'request.enc'})) {                  && (!$env{'request.enc'})) {
                 # wishlist is only available for users with access to resource-pool                  my ($cnum,$cdom) = &Apache::loncommon::crsauthor_url($env{'request.uri'});
                 # and links can only be set for resources within the resource-pool                  unless ($cnum) {
                 $menuitems .= (<<ENDMENUITEMS);                      # wishlist is only available for users with access to resource-pool
                       # and links can only be set for resources within the resource-pool
                       $menuitems .= (<<ENDMENUITEMS);
 s&9&1&wishlist-link.png&Stored Links&wishlistlink[_2]&set_wishlistlink()&Save a link for this resource in my personal Stored Links repository&&1  s&9&1&wishlist-link.png&Stored Links&wishlistlink[_2]&set_wishlistlink()&Save a link for this resource in my personal Stored Links repository&&1
 ENDMENUITEMS  ENDMENUITEMS
                 $got_wishlist = 1;                      $got_wishlist = 1;
                   }
             }              }
   
 my $currentURL = &Apache::loncommon::get_symb();  my $currentURL = &Apache::loncommon::get_symb();

Removed from v.1.451  
changed lines
  Added in v.1.452


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