Diff for /loncom/publisher/Attic/lonconstruct.pm between versions 1.22 and 1.23

version 1.22, 2004/03/31 05:24:00 version 1.23, 2004/10/29 18:40:40
Line 40  package Apache::lonconstruct; Line 40  package Apache::lonconstruct;
   
   
 use strict;  use strict;
 use Apache::Constants qw(:common :http :methods);  use Apache::Constants qw(:common :http :methods REDIRECT);
 use Apache::lonnet;  use Apache::lonnet;
 use Apache::Log ();  use Apache::Log ();
 use HTML::Entities();  use HTML::Entities();
Line 85  sub Debug { Line 85  sub Debug {
 }  }
   
   
   
   
 # ================================================================ Main Handler  # ================================================================ Main Handler
   
 sub handler {  sub handler {
Line 119  sub handler { Line 117  sub handler {
    if ($ENV{'form.forceColoredit'}) {     if ($ENV{'form.forceColoredit'}) {
        $lowerframe.='?editmode=Edit&problemmode=Edit';         $lowerframe.='?editmode=Edit&problemmode=Edit';
    }     }
   
   #
   # Checking to see if we should display the topframe
   #
      my $toprows = 0;
      my $topsrc = '';
      if ($ENV{'environment.remote'} eq 'on') {
          $toprows = '110';
          $topsrc = '/adm/localize/adm/publisher.html';
      }
    $r->print(<<ENDPAGE);     $r->print(<<ENDPAGE);
 <html>  <html>
 <head><title>LON-CAPA Construction Space</title>  <head><title>LON-CAPA Construction Space</title>
Line 126  sub handler { Line 134  sub handler {
 var lastknownpriv="$lowerframe";  var lastknownpriv="$lowerframe";
 </script>  </script>
 </head>  </head>
 <frameset rows="110,*" border="0">  <frameset rows="$toprows,*" border="0">
 <frame src='/adm/localize/adm/publisher.html'>  <frame src='$topsrc'>
 <frame src="$lowerframe" name="LONCAPAToBePublished">  <frame src="$lowerframe" name="LONCAPAToBePublished">
 </frameset>  </frameset>
 </html>  </html>

Removed from v.1.22  
changed lines
  Added in v.1.23


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