Diff for /loncom/publisher/publisher.html between versions 1.15 and 1.21

version 1.15, 2001/07/08 18:37:11 version 1.21, 2002/09/16 13:05:50
Line 68  function getnewdirfilename() { Line 68  function getnewdirfilename() {
       document.newdir.submit();        document.newdir.submit();
    }     }
 }  }
   
   function getpostdata() {
     document.printout.postdata.value=parent.LONCAPAToBePublished.location.href;
     document.printout.submit();
   }
 </script>  </script>
 </head>  </head>
 <body bgcolor="#FFFFFF">  <body bgcolor="#ccffff" text='#004400' link='#003333' vlink='#006666'>
 <table border=0><tr><th bgcolor="#aaaaaa" height=20>  <font size="-2">
 <table border=0><tr valign="top"><td bgcolor="#ccffcc">  <table border=0><tr><th bgcolor="#004400" height=20>
   <table border=0><tr valign="middle">
 <form name="publisher" action="/adm/publish" target="_parent" method="post">  <form name="publisher" action="/adm/publish" target="_parent" method="post">
   <td bgcolor="#ccffcc">
 <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();">
 </form>  </td></form>
   <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post">
 </td><td bgcolor="#ccffcc">  <td bgcolor="#ccffcc">
 <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished"   
 method="post">  
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="button" value="List Directory" onClick="getdfilename();">  <input type="button" value="List Directory" onClick="getdfilename();">
 </form>  </td></form>
   <form name="cp" action="/adm/cfile" target="_parent" method="post" onSubmit="getcpfilename();">
 </td><td bgcolor="#ccffcc">  <td bgcolor="#ccffcc">
 <form name="cp" 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="copy">  <input type="hidden" name="action" value="copy">
 <input type="text" size=10 name="newfilename" value="">  <input type="text" size=10 name="newfilename" value="">
 <input type="button" value="Copy" onClick="getcpfilename();">  <input type="button" value="Copy" onClick="getcpfilename();">
 </form>  </td></form>
   
 </td><td bgcolor="#ccffcc">  
 <form name="upublisher" action="/adm/upload" target="_parent"   <form name="upublisher" action="/adm/upload" target="_parent" 
 method="post" enctype="multipart/form-data">  method="post" enctype="multipart/form-data">
   <td bgcolor="#ccffcc" valign="top">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="file" name="upfile" size="10">  <input type="file" name="upfile" size="10">
 <input type="button" value="Upload file" onClick="getufilename();">  <input type="button" value="Upload file"  onClick="getufilename();">
   </td></form>
   <form name="printout" action="/adm/printout" target="LONCAPAToBePublished"
   method="post" onSubmit="getpostdata();">
   <td rowspan=2 bgcolor="#ccffcc">
   <input type="hidden" name="postdata" value="">
   <input type="button" value="Printout" onClick="getpostdata();">
   </td>
 </form>  </form>
   </tr>
   
 </td></tr>  <tr valign="middle">
   
 <tr valign="top">  
 <td bgcolor="#ccffcc">  
 <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">  <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">
   <td bgcolor="#ccffcc">
 <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 bgcolor="#ccffcc">  </td></form>
   
 <form name="del" action="/adm/cfile" target="_parent" method="post">  <form name="del" action="/adm/cfile" target="_parent" method="post">
   <td bgcolor="#ccffcc">
 <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 bgcolor="#ccffcc">  </td></form>
   <form name="rename" action="/adm/cfile" target="_parent" method="post" onSubmit="getrenamefilename();">
 <form name="rename" action="/adm/cfile" target="_parent" method="post">  <td bgcolor="#ccffcc">
 <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=10 name="newfilename" value="">  <input type="text" size=10 name="newfilename" value="">
 <input type="button" value="Rename" onClick="getrenamefilename();">  <input type="button" value="Rename" onClick="getrenamefilename();">
 </form></td><td bgcolor="#ccffcc">  </td></form>
 <form name="newdir" action="/adm/cfile" target="_parent" method="post">  <form name="newdir" action="/adm/cfile" target="_parent" method="post" onSubmit="getnewdirfilename();">
   <td bgcolor="#ccffcc">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="hidden" name="action" value="newdir">  <input type="hidden" name="action" value="newdir">
 <input type="text" size=10 name="newfilename" value="">  <input type="text" size=10 name="newfilename" value="">
 <input type="button" value="New Subdirectory" onClick="getnewdirfilename();">  <input type="button" value="New Subdirectory" onClick="getnewdirfilename();">
 </form></td>  </td></form>
 </tr>  </tr>
 </table>  </table>
 </th></tr></table>  </th></tr></table>
   </font>
 </body>  </body>
 </html>  </html>
   

Removed from v.1.15  
changed lines
  Added in v.1.21


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