Diff for /loncom/publisher/lonpubdir.pm between versions 1.36 and 1.37

version 1.36, 2003/07/17 13:50:44 version 1.37, 2003/08/03 01:20:02
Line 165  sub getEffectiveUrl { Line 165  sub getEffectiveUrl {
     $fn=~s|^/~(\w+)|/home/$1/public_html|;      $fn=~s|^/~(\w+)|/home/$1/public_html|;
  }   }
     }      }
       $fn=~s/\/+/\//g;
     return $fn;      return $fn;
 }  }
 #  #
Line 189  sub startpage { Line 190  sub startpage {
     $r->print(&Apache::loncommon::bodytag(undef,undef,undef,1));      $r->print(&Apache::loncommon::bodytag(undef,undef,undef,1));
     my $pubdirscript=(<<ENDPUBDIRSCRIPT);      my $pubdirscript=(<<ENDPUBDIRSCRIPT);
 <script>  <script>
   // Store directory location for menu bar to find
   
   parent.lastknownpriv='/~$uname/$thisdisfn/';
   
   // Confirmation dialogues
   
     function pubdir(theform) {      function pubdir(theform) {
  if (confirm('Publish complete directory?')) {   if (confirm('Publish complete directory?')) {
     theform.submit();      theform.submit();

Removed from v.1.36  
changed lines
  Added in v.1.37


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