Diff for /loncom/interface/lonmenu.pm between versions 1.369.2.54 and 1.369.2.55

version 1.369.2.54, 2015/01/21 21:09:15 version 1.369.2.55, 2015/05/28 12:49:30
Line 813  sub innerregister { Line 813  sub innerregister {
             my $currdir = '/priv/'.$udom.'/'.$uname.'/'.$thisdisfn;              my $currdir = '/priv/'.$udom.'/'.$uname.'/'.$thisdisfn;
             if ($currdir =~ m-/$-) {              if ($currdir =~ m-/$-) {
                 $is_const_dir = 1;                  $is_const_dir = 1;
                   if ($thisdisfn eq '') {
                       $is_const_dir = 2;
                   }
             } else {              } else {
                 $currdir =~ s|[^/]+$||;                  $currdir =~ s|[^/]+$||;
  my $cleandisfn = &Apache::loncommon::escape_single($thisdisfn);   my $cleandisfn = &Apache::loncommon::escape_single($thisdisfn);
Line 979  ENDMENUITEMS Line 982  ENDMENUITEMS
                     &advtools_crumbs(@inlineremote);                      &advtools_crumbs(@inlineremote);
                 }                  }
             }              }
               my ($topic_help,$topic_help_text);
               if ($is_const_dir == 2) {
                   if ((($ENV{'SERVER_PORT'} == 443) ||
                        ($Apache::lonnet::protocol{$Apache::lonnet::perlvar{'lonHostID'}} eq 'https')) &&
                        (&Apache::lonnet::usertools_access($env{'user.name'},$env{'user.domain'},'webdav'))) {
                       $topic_help = 'Authoring_WebDAV,Authoring_WebDAV_Mac_10v6,Authoring_WebDAV_Mac_10v10,'.
                                    'Authoring_WebDAV_Windows_v7,Authoring_WebDAV_Linux_Centos';
                       $topic_help_text = 'About WebDAV access';
                   }
               }
             return   &Apache::lonhtmlcommon::scripttag('', 'start')              return   &Apache::lonhtmlcommon::scripttag('', 'start')
                    . &Apache::lonhtmlcommon::breadcrumbs(undef,undef,0)                     . &Apache::lonhtmlcommon::breadcrumbs(undef,undef,0,'','','','',$topic_help,$topic_help_text)
                    . &Apache::lonhtmlcommon::scripttag('', 'end');                     . &Apache::lonhtmlcommon::scripttag('', 'end');
   
         } else {          } else {

Removed from v.1.369.2.54  
changed lines
  Added in v.1.369.2.55


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