Diff for /loncom/interface/lonmenu.pm between versions 1.550 and 1.555

version 1.550, 2024/05/01 14:42:54 version 1.555, 2024/08/21 23:55:16
Line 1261  s&7&4&docs-22x22.png&Edit Metadata&defau Line 1261  s&7&4&docs-22x22.png&Edit Metadata&defau
 s&7&2&prt.png&Print&printout[_1]&gocstr('/adm/printout','$esc_currdir')&Print contents of directory  s&7&2&prt.png&Print&printout[_1]&gocstr('/adm/printout','$esc_currdir')&Print contents of directory
 s&7&1&del.png&Delete&dir[_3]&gocstr('/adm/cfile?action=delete','$esc_currdir')&Delete this Directory  s&7&1&del.png&Delete&dir[_3]&gocstr('/adm/cfile?action=delete','$esc_currdir')&Delete this Directory
 ENDMENUITEMS  ENDMENUITEMS
                   unless ($crsauthor_cstr) {
                       if ($env{'environment.canarchive'}) {
                           $menuitems .= (<<ENDMENUITEMS);
   s&7&7&archive.png&Export&dir[_1]&gocstr('/adm/cfile?action=archive','$esc_currdir')&Export Authoring Space Archive
   ENDMENUITEMS
                       }
                   }
             } else {              } else {
                 $currdir =~ s|[^/]+$||;                  $currdir =~ s|[^/]+$||;
  my $cleandisfn = &Apache::loncommon::escape_single($thisdisfn);   my $cleandisfn = &Apache::loncommon::escape_single($thisdisfn);
Line 1305  ENDMENUITEMS Line 1312  ENDMENUITEMS
 s&7&2&prt.png&Print&printout[_1]&gocstr('/adm/printout','/priv/$udom/$uname/$cleandisfn')&Prepare a printable document  s&7&2&prt.png&Print&printout[_1]&gocstr('/adm/printout','/priv/$udom/$uname/$cleandisfn')&Prepare a printable document
 ENDMENUITEMS  ENDMENUITEMS
                 }                  }
             }  
 #  #
 # "Exit Daxe" in Functions menu when using Daxe  # "Exit Daxe" in Functions menu when using Daxe
 #  #
Line 1323  s&7&6&tolastloc.png&Exit Daxe&resource[_ Line 1329  s&7&6&tolastloc.png&Exit Daxe&resource[_
 ENDMENUITEMS  ENDMENUITEMS
                     }                      }
                 }                  }
               }
 #  #
 # Editing options usually accessed via "Settings" in inline menu need to be  # Editing options usually accessed via "Settings" in inline menu need to be
 # accessed in a different way, when Authoring Space is accessed in course  # accessed in a different way, when Authoring Space is accessed in course
Line 1896  sub advtools_crumbs { Line 1903  sub advtools_crumbs {
     } elsif ($env{'request.noversionuri'} !~ m{^/adm/(navmaps|viewclasslist)(\?|$)}) {      } elsif ($env{'request.noversionuri'} !~ m{^/adm/(navmaps|viewclasslist)(\?|$)}) {
         if ($env{'request.state'} eq 'construct') {          if ($env{'request.state'} eq 'construct') {
             &Apache::lonhtmlcommon::add_breadcrumb_tool(              &Apache::lonhtmlcommon::add_breadcrumb_tool(
                 'advtools', @funcs[61,73,74,71,72]);                  'advtools', @funcs[61,73,74,71,72,77]);
         } else {          } else {
             &Apache::lonhtmlcommon::add_breadcrumb_tool(              &Apache::lonhtmlcommon::add_breadcrumb_tool(
                 'advtools', @funcs[61,71,72,73,74,75,92]);                  'advtools', @funcs[61,71,72,73,74,75,92]);
Line 2679  sub utilityfunctions { Line 2686  sub utilityfunctions {
     my $esc_url=&escape($currenturl);      my $esc_url=&escape($currenturl);
     my $esc_symb=&escape($currentsymb);      my $esc_symb=&escape($currentsymb);
     my $newname = &mt('New Name');      my $newname = &mt('New Name');
       &js_escape(\$newname);
   
     my $countdown = &countdown_toggle_js();      my $countdown = &countdown_toggle_js();
   

Removed from v.1.550  
changed lines
  Added in v.1.555


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