Diff for /loncom/publisher/publisher.html between versions 1.8 and 1.9

version 1.8, 2001/04/03 14:57:17 version 1.9, 2001/04/09 18:22:07
Line 21  function getdfilename() { Line 21  function getdfilename() {
   }    }
 }  }
   
   function getufilename() {
     document.upublisher.filename.value=parent.LONCAPAToBePublished.location.href;
     if (document.upublisher.filename.value.indexOf('/adm/pubdir')==-1) {
         document.upublisher.submit();
     }
   }
   
 function getrfilename() {  function getrfilename() {
   document.rpublisher.filename.value=parent.LONCAPAToBePublished.location.href;    document.rpublisher.filename.value=parent.LONCAPAToBePublished.location.href;
    if ((document.rpublisher.filename.value.charAt(     if ((document.rpublisher.filename.value.charAt(
Line 35  function getrfilename() { Line 42  function getrfilename() {
 </script>  </script>
 </head>  </head>
 <body bgcolor="#FFFFFF">  <body bgcolor="#FFFFFF">
 <table><tr><td>  <table border=2><tr><td>
 <form name="publisher" action="/adm/publish" target="_parent" method="post">  <form name="publisher" action="/adm/publish" target="_parent" method="post">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="button" value="Publish this Resource" onClick="getfilename();">  <input type="button" value="Publish this Resource" onClick="getfilename();">
Line 49  method="post"> Line 56  method="post">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="button" value="Retrieve Old Version" onClick="getrfilename();">  <input type="button" value="Retrieve Old Version" onClick="getrfilename();">
 </form></td><td>  </form></td><td>
 <b>LON-CAPA Construction Space</b>  <form name="upublisher" action="/adm/upload" target="_parent" 
   method="post" enctype="multipart/form-data">
   <input type="hidden" name="filename" value="">
   <input type="file" size="20">
   <input type="button" value="Upload file" onClick="getufilename();">
   </form>
 </td></tr></table>  </td></tr></table>
 </body>  </body>
 </html>  </html>
   

Removed from v.1.8  
changed lines
  Added in v.1.9


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