--- doc/techtips/worktime-new-1.html 2002/06/28 20:56:50 1.1
+++ doc/techtips/worktime-new-1.html 2005/04/07 06:56:20 1.2
@@ -206,7 +206,7 @@ sub handler {
$r->content_type('text/html');
$r->send_http_header;
return OK if $r->header_only;
- $r->print("The workshop handler is in use by $ENV{'user.name'}");
+ $r->print("The workshop handler is in use by $env{'user.name'}");
return OK;
}
1;
@@ -223,7 +223,7 @@ sub handler {
$r->content_type('text/html');
$r->send_http_header;
return OK if $r->header_only;
- $r->print("The workshop handler is in use by $ENV{'user.name'} looking for "
+ $r->print("The workshop handler is in use by $env{'user.name'} looking for "
.$r->uri."<br>");
my $file=&Apache::lonnet::filelocation("",$r->uri);
my $contents=&Apache::lonnet::getfile($file);
@@ -244,7 +244,7 @@ sub handler {
$r->content_type('text/html');
$r->send_http_header;
return OK if $r->header_only;
- $r->print("The workshop handler is in use by $ENV{'user.name'} looking for "
+ $r->print("The workshop handler is in use by $env{'user.name'} looking for "
.$r->uri."<br>");
my $file=&Apache::lonnet::filelocation("",$r->uri);
my $contents=&Apache::lonnet::getfile($file);
@@ -266,7 +266,7 @@ sub handler {
$r->content_type('text/html');
$r->send_http_header;
return OK if $r->header_only;
- $r->print("The workshop handler is in use by $ENV{'user.name'} looking for "
+ $r->print("The workshop handler is in use by $env{'user.name'} looking for "
.$r->uri."<br>");
my $file=&Apache::lonnet::filelocation("",$r->uri);
my $contents=&Apache::lonnet::getfile($file);
@@ -279,9 +279,9 @@ sub handler {
} else {
$r->print("<br>Last time you said $hash{'info'}");
}
- if ($ENV{'form.info'}) {
- $r->print("<br>Now you say $ENV{'form.info'}");
- $hash{'info'}=$ENV{'form.info'};
+ if ($env{'form.info'}) {
+ $r->print("<br>Now you say $env{'form.info'}");
+ $hash{'info'}=$env{'form.info'};
&Apache::lonnet::put('workshop',\%hash);
}
return OK;