--- loncom/publisher/lonpubdir.pm 2008/01/17 04:50:57 1.108 +++ loncom/publisher/lonpubdir.pm 2008/07/29 10:06:27 1.109 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Directory Lister # -# $Id: lonpubdir.pm,v 1.108 2008/01/17 04:50:57 raeburn Exp $ +# $Id: lonpubdir.pm,v 1.109 2008/07/29 10:06:27 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -218,6 +218,7 @@ sub startpage { my $esc_thisdisfn = &Apache::loncommon::escape_single($thisdisfn); my $doctitle = 'LON-CAPA '.&mt('Construction Space'); + my $newname = &mt('New Name'); my $pubdirscript=(< top.document.title = '$esc_thisdisfn/ - $doctitle'; @@ -314,7 +315,7 @@ parent.lastknownpriv='/~$uname$esc_thisd } function changename(theform,activity) { var oldname=theform.dispfilename.value; - var newname=prompt('New Name',oldname); + var newname=prompt('$newname',oldname); if (newname == "" || !newname || newname == oldname) { return } @@ -540,7 +541,7 @@ sub putdirectory { )); my $actionitem = ''; if ($dirname eq '..') { - $actionitem = 'Go to ...'; + $actionitem = &mt('Go to ...'); } else { $actionitem = '