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

version 1.4, 2001/03/29 21:56:53 version 1.6, 2001/04/02 21:28:58
Line 9  function getfilename() { Line 9  function getfilename() {
   
 function getdfilename() {  function getdfilename() {
   document.dpublisher.filename.value=parent.LONCAPAToBePublished.location.href;    document.dpublisher.filename.value=parent.LONCAPAToBePublished.location.href;
     if (document.dpublisher.filename.value.indexOf('/adm/pubdir')==-1) {
         document.dpublisher.submit();
     }
 }  }
   
 function getrfilename() {  function getrfilename() {
Line 19  function getrfilename() { Line 22  function getrfilename() {
 </head>  </head>
 <body bgcolor="#FFFFFF">  <body bgcolor="#FFFFFF">
 <table><tr><td>  <table><tr><td>
 <form name="publisher" action="/adm/publish" target="_parent" method="post"  <form name="publisher" action="/adm/publish" target="_parent" method="post" 
  onSubmit="getfilename();">  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">
 </form></td><td>  </form></td><td>
 <form name="dpublisher" action="/adm/pubdir" target="_parent" method="post"  <form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" 
  onSubmit="getdfilename();">  method="post">
 <input type="hidden" name="filename" value="">  <input type="hidden" name="filename" value="">
 <input type="submit" value="Publish this Directory">  <input type="button" value="List Directory" onClick="getdfilename();">
 </form></td><td>  </form></td><td>
 <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post"  <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post"
  onSubmit="getrfilename();">   onSubmit="getrfilename();">

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


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