File:  [LON-CAPA] / rat / lonratedt.pm
Revision 1.2: download - view: text, annotated - select for diffs
Tue May 1 15:23:40 2001 UTC (22 years, 11 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
changes between lonratedt.pm, lonratsrv.pm, and client/code.html
to have the loading "semaphore" to be in the parent frame

# The LearningOnline Network with CAPA
# Edit Handler for RAT Maps
# (TeX Content Handler
#
# 05/29/00,05/30 Gerd Kortemeyer)
# 7/1 Gerd Kortemeyer

package Apache::lonratedt;

use strict;
use Apache::Constants qw(:common);

# ================================================================ Main Handler

sub handler {
  my $r=shift;
  $r->content_type('text/html');
  $r->send_http_header;

  return OK if $r->header_only;

  my $url=$r->uri;

  $r->print(<<ENDDOCUMENT);

<html>
<head>
<script language="JavaScript">
    var flag=0;
</script>
</head>
<frameset rows="1,50,*" border=0>
<frame name=server src="$url/loadonly/ratserver" noresize noscroll>
<frame name=code src="/adm/rat/code.html">
<frame name=mapout src="/adm/rat/map.html">
</frameset>
</html>

ENDDOCUMENT
  return OK;
}

1;
__END__








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