Diff for /loncom/publisher/publisher.html between versions 1.1 and 1.6

version 1.1, 2000/11/28 21:37:43 version 1.6, 2001/04/02 21:28:58
Line 7  function getfilename() { Line 7  function getfilename() {
    document.publisher.filename.value=parent.LONCAPAToBePublished.location.href;     document.publisher.filename.value=parent.LONCAPAToBePublished.location.href;
 }  }
   
   function getdfilename() {
     document.dpublisher.filename.value=parent.LONCAPAToBePublished.location.href;
     if (document.dpublisher.filename.value.indexOf('/adm/pubdir')==-1) {
         document.dpublisher.submit();
     }
   }
   
   function getrfilename() {
     document.rpublisher.filename.value=parent.LONCAPAToBePublished.location.href;
   }
   
 </script>  </script>
 </head>  </head>
 <body bgcolor="#FFFFFF">  <body bgcolor="#FFFFFF">
 <form name="publisher" action="/adm/publish" onSubmit="getfilename();">  <table><tr><td>
   <form name="publisher" action="/adm/publish" target="_parent" method="post" 
   onSubmit="getfilename();">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="submit" value="Publish this Resource">  <input type="submit" value="Publish this Resource">
 <input type="submit" value="Publish this Directory">  </form></td><td>
 <input type="submit" value="Publish Directory and all Subdirectories">  <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" 
 </form>  method="post">
   <input type="hidden" name="filename" value="">
   <input type="button" value="List Directory" onClick="getdfilename();">
   </form></td><td>
   <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post"
    onSubmit="getrfilename();">
   <input type="hidden" name="filename" value="">
   <input type="submit" value="Retrieve Old Version">
   </form></td><td>
   <b>LON-CAPA Construction Space</b>
   </td></tr></table>
 </body>  </body>
 </html>  </html>
   

Removed from v.1.1  
changed lines
  Added in v.1.6


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