Diff for /loncom/publisher/lonpubdir.pm between versions 1.79 and 1.80

version 1.79, 2005/05/17 00:46:36 version 1.80, 2005/05/19 03:22:04
Line 279  parent.lastknownpriv='/~$uname$thisdisfn Line 279  parent.lastknownpriv='/~$uname$thisdisfn
       if (activity == 'obsolete') {        if (activity == 'obsolete') {
           var pubform = document.pubresource            var pubform = document.pubresource
           pubform.filename.value = theform.filename.value            pubform.filename.value = theform.filename.value
           alert("You will be taken to the publication page.\\nCheck the 'Obsolete' checkbox at the bottom of the page, and click 'Finalize Publication'.")            pubform.makeobsolete.value=1;
           pubform.submit()            pubform.submit()
       }        }
       if (activity == 'print') {        if (activity == 'print') {
Line 396  sub resourceactions { Line 396  sub resourceactions {
        </form>         </form>
        <form name="pubresource" action="/adm/publish" target="_parent" method="post">         <form name="pubresource" action="/adm/publish" target="_parent" method="post">
          <input type="hidden" name="filename" value="" />           <input type="hidden" name="filename" value="" />
            <input type="hidden" name="makeobsolete" value="0" />
        </form>         </form>
        <form name="printresource" action="/adm/printout" target="_parent" method="post">         <form name="printresource" action="/adm/printout" target="_parent" method="post">
            <input type="hidden" name="postdata" value="" />             <input type="hidden" name="postdata" value="" />

Removed from v.1.79  
changed lines
  Added in v.1.80


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