Diff for /loncom/publisher/publisher.html between versions 1.32 and 1.34

version 1.32, 2003/09/05 02:22:25 version 1.34, 2003/11/21 21:07:38
Line 51  function getrfilename() { Line 51  function getrfilename() {
 function getactionfilename() {  function getactionfilename() {
   document.fileaction.filename.value=frameloc();    document.fileaction.filename.value=frameloc();
   var test=document.fileaction.action.selectedIndex;    var test=document.fileaction.action.selectedIndex;
   if (test == 4) { // trying to create a directory    if (test == 8) { // trying to create a directory
       if (document.fileaction.filename.value.indexOf('/adm/pubdir')!=-1) {        if (document.fileaction.filename.value.indexOf('/adm/pubdir')!=-1) {
           document.fileaction.filename.value=document.dpublisher.filename.value;            document.fileaction.filename.value=document.dpublisher.filename.value;
       }        }
Line 150  function getpostdata() { Line 150  function getpostdata() {
                             <option value="newstyfile">New style file:</option>                              <option value="newstyfile">New style file:</option>
     <option value="newdir">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="rename">Move 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="newfilename" 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>

Removed from v.1.32  
changed lines
  Added in v.1.34


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