--- loncom/publisher/lonpubdir.pm 2022/05/27 04:24:55 1.174 +++ loncom/publisher/lonpubdir.pm 2023/06/10 23:01:15 1.175 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Authoring Space Directory Lister # -# $Id: lonpubdir.pm,v 1.174 2022/05/27 04:24:55 raeburn Exp $ +# $Id: lonpubdir.pm,v 1.175 2023/06/10 23:01:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -549,7 +549,14 @@ sub dircontrols { acti => 'Actions for current directory', updc => 'Upload a new document', pick => 'Please select an action to perform using the new filename', + shcu => 'Shortcuts', ); + my %js_lt = &Apache::lonlocal::texthash( + nanf => 'Name of New File', + nans => 'Name of New Subdirectory', + psfn => 'Please specify file name', + ); + &js_escape(\%js_lt); my $mytype = $lt{'type'}; # avoid conflict with " and ' in javascript # Calculate free space in bytes. # $disk_quota is in MB and $current_disk_usage is in kB @@ -584,7 +591,7 @@ sub dircontrols {
$lt{'updc'} - +
@@ -619,9 +626,9 @@ sub dircontrols { -    +   
- Quickactions: + $lt{'shcu'}: @@ -634,26 +641,36 @@ sub dircontrols {