Diff for /loncom/publisher/publisher.html between versions 1.11 and 1.13

version 1.11, 2001/06/23 18:26:40 version 1.13, 2001/06/24 01:40:14
Line 49  function getrenamefilename() { Line 49  function getrenamefilename() {
   document.rename.submit();    document.rename.submit();
 }  }
   
   function getcpfilename() {
     document.cp.filename.value=parent.LONCAPAToBePublished.location.href;
     document.cp.submit();
   }
   
 function getnewdirfilename() {  function getnewdirfilename() {
   document.newdir.filename.value=parent.LONCAPAToBePublished.location.href;     document.newdir.filename.value=parent.LONCAPAToBePublished.location.href;
      if (document.newdir.filename.value.indexOf('/adm/pubdir')!=-1) {
          document.newdir.filename.value=document.dpublisher.filename.value;
      }
    if ((document.newdir.filename.value.charAt(     if ((document.newdir.filename.value.charAt(
         document.newdir.filename.value.length-1)!='/') &&          document.newdir.filename.value.length-1)!='/') &&
        (document.newdir.filename.value.indexOf('/adm/pubdir')==-1)) {         (document.newdir.filename.value.indexOf('/adm/pubdir')==-1)) {
Line 91  method="post" enctype="multipart/form-da Line 99  method="post" enctype="multipart/form-da
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="hidden" name="action" value="delete">  <input type="hidden" name="action" value="delete">
 <input type="button" value="Delete" onClick="getdelfilename();">  <input type="button" value="Delete" onClick="getdelfilename();">
 </form></td><td colspan=2>  </form></td><td>
 <form name="rename" action="/adm/cfile" target="LONCAPAToBePublished"   <form name="cp" action="/adm/cfile" target="_parent" method="post">
 method="post">  <input type="hidden" name="filename" value="">
   <input type="hidden" name="action" value="copy">
   <input type="text" size=15 name="newfilename" value="">
   <input type="button" value="Copy" onClick="getcpfilename();">
   </form></td><td>
   <form name="rename" action="/adm/cfile" target="_parent" method="post">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="hidden" name="action" value="rename">  <input type="hidden" name="action" value="rename">
 <input type="text" size=15 name="newfilename" value="">  <input type="text" size=15 name="newfilename" value="">

Removed from v.1.11  
changed lines
  Added in v.1.13


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