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

version 1.36, 2010/03/10 21:26:04 version 1.37, 2010/04/12 15:05:51
Line 117  sub handler { Line 117  sub handler {
        $lowerframe.='?editmode=Edit&problemmode=edit';         $lowerframe.='?editmode=Edit&problemmode=edit';
    }     }
   
    my $js=qq|     # when the remote control existed we used to force the
 <script type="text/javascript">     # pages of construction space into a frameset.
 var lastknownpriv="$lowerframe";     # without remote control, we can elimnate this frameset
 </script>     # and redirect to the url of the content frame.
     |;     # This keeps all URLs intact. 
      $r->internal_redirect($lowerframe);
    my $start_page=  
        &Apache::loncommon::start_page('Construction Space',$js,  
       {'frameset'    => 1,  
        'add_entries' => {  
    'rows'   => "0,*",  
    'border' => "0",}});  
    my $end_page=  
        &Apache::loncommon::end_page({'frameset' => 1});  
   
   
 #SD this entire frameset should be obsolete?!  
    $r->print(<<ENDPAGE);  
 $start_page  
 <frame src='' />  
 <frame src="$lowerframe" name="LONCAPAToBePublished" />  
 $end_page  
 ENDPAGE  
    return OK;     return OK;
 }  }
 1;  1;

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


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