Diff for /loncom/publisher/publisher.html between versions 1.24 and 1.25

version 1.24, 2003/02/04 20:33:19 version 1.25, 2003/02/04 21:05:12
Line 57  function getactionfilename() { Line 57  function getactionfilename() {
    document.fileaction.submit();     document.fileaction.submit();
 }  }
   
   function getdelfilename() {
     document.del.filename.value=parent.LONCAPAToBePublished.location.href;
     document.del.submit();
   }
   
 function getpostdata() {  function getpostdata() {
   document.printout.postdata.value=parent.LONCAPAToBePublished.location.href;    document.printout.postdata.value=parent.LONCAPAToBePublished.location.href;
   document.printout.submit();    document.printout.submit();
Line 87  function getpostdata() { Line 92  function getpostdata() {
       <input type="button" value="Upload file"  onClick="getufilename();" />        <input type="button" value="Upload file"  onClick="getufilename();" />
     </td>      </td>
   </form>    </form>
     <form name="printout" target="_parent" action="/adm/printout" target="LONCAPAToBePublished" method="post" onSubmit="getpostdata();">
       <td rowspan="2" bgcolor="#ccddaa" align="center">
         <input type="hidden" name="postdata" value="" />
         <input type="button" value="Print" onClick="getpostdata();" />
       </td>
     </form>
   
  </tr>   </tr>
  <tr valign="middle">   <tr valign="middle">
   <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">    <form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">
Line 95  function getpostdata() { Line 107  function getpostdata() {
       <input type="button" value="Retrieve Old Version" onClick="getrfilename();" />        <input type="button" value="Retrieve Old Version" onClick="getrfilename();" />
     </td>      </td>
   </form>    </form>
   <form name="printout" target="_parent" action="/adm/printout" target="LONCAPAToBePublished" method="post" onSubmit="getpostdata();">    <form name="del" action="/adm/cfile" target="_parent" method="post">
     <td bgcolor="#ccddaa" align="center">      <td bgcolor="#ccddaa">
       <input type="hidden" name="postdata" value="" />        <input type="hidden" name="filename" value="" />
       <input type="button" value="Print" onClick="getpostdata();" />        <input type="hidden" name="action" value="delete" />
                 <input type="button" value="Delete" onClick="getdelfilename();" />
     </td>      </td>
   </form>    </form>
   <form name="fileaction" action="/adm/cfile" target="_parent" method="post">    <form name="fileaction" action="/adm/cfile" target="_parent" method="post">
Line 110  function getpostdata() { Line 123  function getpostdata() {
     <option value="newfile">New file:</option>      <option value="newfile">New file:</option>
     <option value="newhtmlfile">New HTML file:</option>      <option value="newhtmlfile">New HTML file:</option>
     <option value="newproblemfile">New problem:</option>      <option value="newproblemfile">New problem:</option>
     <option value="newsubdir">New subdirectory:</option>      <option value="newdir">New subdirectory:</option>
     <option value="rename">Rename current file to:</option>      <option value="rename">Rename current file to:</option>
     <option value="copy">Copy current file to:</option>      <option value="copy">Copy current file to:</option>
   </select>&nbsp;<input type="text" name="filename" value="Type Name Here" onFocus="if (this.value == 'Type Name Here') this.value=''" />&nbsp;<input type="button" value="Go" onClick="getactionfilename();" />    </select>&nbsp;<input type="text" name="newfilename" value="Type Name Here" onFocus="if (this.value == 'Type Name Here') this.value=''" />&nbsp;<input type="button" value="Go" onClick="getactionfilename();" />
       </nobr>        </nobr>
     </td>      </td>
   </form>    </form>

Removed from v.1.24  
changed lines
  Added in v.1.25


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