--- loncom/publisher/publisher.html 2003/09/05 02:22:25 1.32 +++ loncom/publisher/publisher.html 2003/12/10 00:32:56 1.35 @@ -18,7 +18,7 @@ function getfilename() { (document.publisher.filename.value.indexOf('/adm/pubdir')==-1)) { document.publisher.submit(); } else { - alert('Cannot publish directory'); + alert('MT{Cannot publish directory}'); } } @@ -44,21 +44,21 @@ function getrfilename() { (document.rpublisher.filename.value.indexOf('/adm/pubdir')==-1)) { document.rpublisher.submit(); } else { - alert('Cannot retrieve directory'); + alert('MT{Cannot retrieve directory}'); } } function getactionfilename() { document.fileaction.filename.value=frameloc(); var test=document.fileaction.action.selectedIndex; - if (test == 4) { // trying to create a directory + if (test == 8) { // trying to create a directory if (document.fileaction.filename.value.indexOf('/adm/pubdir')!=-1) { document.fileaction.filename.value=document.dpublisher.filename.value; } if ((document.fileaction.filename.value.charAt( document.fileaction.filename.value.length-1)!='/') && (document.fileaction.filename.value.indexOf('/adm/pubdir')==-1)) { - alert('Must create new subdirectory inside a directory'); + alert('MT{Must create new subdirectory inside a directory}'); return; } } @@ -95,13 +95,13 @@ function getpostdata() {
@@ -125,14 +125,14 @@ function getpostdata() {