Annotation of loncom/auth/lonlogin.pm, revision 1.50
1.1 albertel 1: # The LearningOnline Network
2: # Login Screen
1.11 www 3: #
1.50 ! www 4: # $Id: lonlogin.pm,v 1.49 2003/09/11 20:54:11 www Exp $
1.11 www 5: #
6: # Copyright Michigan State University Board of Trustees
7: #
8: # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
9: #
10: # LON-CAPA is free software; you can redistribute it and/or modify
11: # it under the terms of the GNU General Public License as published by
12: # the Free Software Foundation; either version 2 of the License, or
13: # (at your option) any later version.
14: #
15: # LON-CAPA is distributed in the hope that it will be useful,
16: # but WITHOUT ANY WARRANTY; without even the implied warranty of
17: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: # GNU General Public License for more details.
19: #
20: # You should have received a copy of the GNU General Public License
21: # along with LON-CAPA; if not, write to the Free Software
22: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23: #
24: # /home/httpd/html/adm/gpl.txt
25: #
26: # http://www.lon-capa.org/
27: #
1.2 www 28: # 5/21/99,5/22,5/25,5/26,5/31,6/2,6/10,7/12,7/14,
1.10 www 29: # 1/14/00,5/29,5/30,6/1,6/29,7/1,11/9,
30: # 1/17/01 Gerd Kortemeyer
1.1 albertel 31: #
1.14 albertel 32: # 2/7/02,2/8,2/12,2/14,2/15,2/19 Josh Brunskole
1.19 bowersj2 33: #
34: # 7/10/02 Jeremy Bowers
1.14 albertel 35:
1.1 albertel 36: package Apache::lonlogin;
37:
38: use strict;
39: use Apache::Constants qw(:common);
40: use Apache::File ();
41: use Apache::lonnet();
1.12 albertel 42: use Apache::loncommon();
1.49 www 43: use Apache::lonauth();
1.50 ! www 44: use Apache::lonlocal;
1.1 albertel 45:
46: sub handler {
47: my $r = shift;
48: $r->content_type('text/html');
1.12 albertel 49: &Apache::loncommon::no_cache($r);
1.1 albertel 50: $r->send_http_header;
51: return OK if $r->header_only;
52:
1.49 www 53:
54: # Are we re-routing?
55: if (-e '/home/httpd/html/lon-status/reroute.txt') {
56: &Apache::lonauth::reroute($r);
57: return OK;
58: }
1.16 www 59:
60: &Apache::loncommon::get_unprocessed_cgi
1.39 www 61: ($ENV{'QUERY_STRING'}.'&'.$ENV{'request.querystring'},
1.43 www 62: ['interface','username','domain','firsturl','localpath','localres']);
1.39 www 63:
1.50 ! www 64: # -------------------------------------------------------------------- Language
! 65:
! 66: &Apache::lonlocal::get_language_handle();
! 67:
1.32 www 68: # ----------------------------------------------------------- Process Interface
1.18 www 69: $ENV{'form.interface'}=~s/\W//g;
1.16 www 70:
1.32 www 71: my $textbrowsers=$r->dir_config('lonTextBrowsers');
72: my $httpbrowser=$ENV{"HTTP_USER_AGENT"};
73:
74: foreach (split(/\:/,$textbrowsers)) {
75: if ($httpbrowser=~/$_/i) {
76: $ENV{'form.interface'}='textual';
77: }
78: }
79:
1.16 www 80: my $fullgraph=($ENV{'form.interface'} ne 'textual');
1.40 albertel 81: my $port_to_use=$r->dir_config('lonhttpdPort');
82: if (!defined($port_to_use)) {
83: $port_to_use='8080';
84: }
85: my $iconpath= 'http://'.$ENV{'HTTP_HOST'}.':'.$port_to_use.
1.26 www 86: $r->dir_config('lonIconsURL');
1.1 albertel 87: my $domain = $r->dir_config('lonDefDomain');
1.46 www 88: if (($ENV{'form.domain'}) &&
89: ($Apache::lonnet::domaindescription{$ENV{'form.domain'}})) {
90: $domain=$ENV{'form.domain'};
91: }
1.1 albertel 92: my $role = $r->dir_config('lonRole');
93: my $loadlim = $r->dir_config('lonLoadLim');
94: my $servadm = $r->dir_config('lonAdmEMail');
95: my $sysadm = $r->dir_config('lonSysEMail');
96: my $lonhost = $r->dir_config('lonHostID');
97: my $tabdir = $r->dir_config('lonTabDir');
1.6 www 98: my $include = $r->dir_config('lonIncludes');
1.37 www 99: my $expire = $r->dir_config('lonExpire');
1.44 www 100: my $version = $r->dir_config('lonVersion');
1.1 albertel 101:
1.30 www 102: # --------------------------------------------- Default values for login fields
103:
104: my $authusername=($ENV{'form.username'}?$ENV{'form.username'}:'');
105: my $authdomain=($ENV{'form.domain'}?$ENV{'form.domain'}:$domain);
106:
107: # ---------------------------------------------------------- Determine own load
1.1 albertel 108: my $loadavg;
1.41 albertel 109: {
110: my $loadfile=Apache::File->new('/proc/loadavg');
111: $loadavg=<$loadfile>;
112: }
1.1 albertel 113: $loadavg =~ s/\s.*//g;
114: my $loadpercent=100*$loadavg/$loadlim;
1.41 albertel 115: my $userloadpercent=&Apache::lonnet::userload();
1.1 albertel 116:
1.30 www 117: # ------------------------------------------------------- Do the load balancing
1.10 www 118: my $otherserver='http://'.$ENV{'SERVER_NAME'};
1.31 www 119: my $firsturl=
120: ($ENV{'request.firsturl'}?$ENV{'request.firsturl'}:$ENV{'form.firsturl'});
1.1 albertel 121: # ---------------------------------------- Are we access server and overloaded?
1.41 albertel 122: if (($role eq 'access') &&
123: (($userloadpercent>100.0)||($loadpercent>100.0))) {
1.47 albertel 124: my $unloaded=Apache::lonnet::spareserver($loadpercent,$userloadpercent);
125: if ($unloaded) { $otherserver=$unloaded; }
1.1 albertel 126: }
1.6 www 127:
1.45 www 128: # ----------------------------------------------------------- Get announcements
129: my $announcements=&Apache::lonnet::getannounce();
1.6 www 130: # -------------------------------------------------------- Set login parameters
131:
132: my @hexstr=('0','1','2','3','4','5','6','7',
133: '8','9','a','b','c','d','e','f');
134: my $lkey='';
135: for (0..7) {
136: $lkey.=$hexstr[rand(15)];
137: }
138:
139: my $ukey='';
140: for (0..7) {
141: $ukey.=$hexstr[rand(15)];
142: }
143:
144: my $lextkey=hex($lkey);
1.15 www 145: if ($lextkey>2147483647) { $lextkey-=4294967296; }
146:
1.6 www 147: my $uextkey=hex($ukey);
1.15 www 148: if ($uextkey>2147483647) { $uextkey-=4294967296; }
149:
1.31 www 150: # -------------------------------------------------------- Store away log token
1.6 www 151: my $logtoken=Apache::lonnet::reply(
1.7 www 152: 'tmpput:'.$ukey.$lkey.'&'.$firsturl,
1.6 www 153: $lonhost);
1.31 www 154:
155: # ------------------- If we cannot talk to ourselves, we are in serious trouble
156:
157: if ($logtoken eq 'con_lost') {
158: my $spares='';
159: foreach (keys %Apache::lonnet::hostname) {
160: if ($_ ne $lonhost) {
161: $spares.='<br /><a href="http://'.$Apache::lonnet::hostname{$_}.
162: '/adm/login?domain='.$authdomain.'">'.
163: $Apache::lonnet::hostname{$_}.'</a>';
164: if ($Apache::lonnet::spareid{$_}) {
165: $spares.=' (preferred)';
166: }
167: }
168: }
169: $r->print(<<ENDTROUBLE);
170: <html>
171: <head><title>The LearningOnline Network with CAPA</title></head>
172: <body bgcolor="#FFFFFF">
173: <img src="/adm/lonKaputt/lonlogo_broken.gif" align="right" />
174: <h3>This LON-CAPA server is temporarily not available for login</h3>
175: <p>Please attempt to login to one of the following servers:</p>$spares
176: <p>If the problem persists, please contact <tt>$servadm</tt>.</p>
177: </body>
178: </html>
179: ENDTROUBLE
180: return OK;
181: }
182:
183: # ----------------------------------------------- Apparently we are in business
184:
1.48 albertel 185: my $domainlogo=&Apache::loncommon::domainlogo($domain);
1.38 www 186: $servadm=~s/\,/\<br \/\>/g;
187: $sysadm=~s/\,/\<br \/\>/g;
188:
1.6 www 189: # --------------------------------------------------- Print login screen header
190: $r->print(<<ENDHEADER);
1.1 albertel 191: <html>
192: <head>
1.37 www 193: <meta HTTP-EQUIV="Refresh" CONTENT="$expire; url=/adm/roles" />
1.2 www 194: <title>The LearningOnline Network with CAPA Login</title>
1.1 albertel 195: </head>
1.6 www 196: ENDHEADER
197: # ---------------------------------------------------- Serve out DES JavaScript
198: {
199: my $jsh=Apache::File->new($include."/londes.js");
200: $r->print(<$jsh>);
201: }
1.21 www 202:
203: # ----------------------------------------------------------- Front page design
1.35 www 204: my $pgbg=
1.46 www 205: ($fullgraph?&Apache::loncommon::designparm('login.pgbg',$domain):'#FFFFFF');
1.35 www 206: my $font=
1.46 www 207: ($fullgraph?&Apache::loncommon::designparm('login.font',$domain):'#000000');
1.35 www 208: my $link=
1.46 www 209: ($fullgraph?&Apache::loncommon::designparm('login.link',$domain):'#0000FF');
1.35 www 210: my $vlink=
1.46 www 211: ($fullgraph?&Apache::loncommon::designparm('login.vlink',$domain):'#0000FF');
212: my $alink=&Apache::loncommon::designparm('login.alink',$domain);
1.35 www 213: my $mainbg=
1.46 www 214: ($fullgraph?&Apache::loncommon::designparm('login.mainbg',$domain):'#FFFFFF');
1.35 www 215: my $sidebg=
1.46 www 216: ($fullgraph?&Apache::loncommon::designparm('login.sidebg',$domain):'#FFFFFF');
217: my $logo=&Apache::loncommon::designparm('login.logo',$domain);
218: my $img=&Apache::loncommon::designparm('login.img',$domain);
1.21 www 219:
220:
1.6 www 221: # ---------------------------------------------------------- Serve rest of page
1.16 www 222: $r->print(<<ENDSCRIPT);
1.6 www 223:
1.21 www 224: <body bgcolor="$pgbg" text="$font" link="$link" vlink="$vlink" alink="$alink"
1.27 albertel 225: topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
1.6 www 226:
1.14 albertel 227: <script language="JavaScript">
228: function send()
229: {
1.6 www 230: this.document.server.elements.uname.value
231: =this.document.client.elements.uname.value;
232:
233: this.document.server.elements.udom.value
234: =this.document.client.elements.udom.value;
235:
1.33 www 236: this.document.server.elements.imagesuppress.value
1.36 www 237: =this.document.client.elements.imagesuppress.checked;
1.33 www 238:
239: this.document.server.elements.embedsuppress.value
1.36 www 240: =this.document.client.elements.embedsuppress.checked;
1.33 www 241:
1.34 www 242: this.document.server.elements.appletsuppress.value
1.36 www 243: =this.document.client.elements.appletsuppress.checked;
1.34 www 244:
1.33 www 245: this.document.server.elements.fontenhance.value
1.36 www 246: =this.document.client.elements.fontenhance.checked;
1.33 www 247:
248: this.document.server.elements.blackwhite.value
1.36 www 249: =this.document.client.elements.blackwhite.checked;
1.33 www 250:
1.35 www 251: this.document.server.elements.remember.value
1.36 www 252: =this.document.client.elements.remember.checked;
1.35 www 253:
1.6 www 254: uextkey=this.document.client.elements.uextkey.value;
255: lextkey=this.document.client.elements.lextkey.value;
256: initkeys();
257:
258: this.document.server.elements.upass.value
259: =crypted(this.document.client.elements.upass.value);
260:
261: this.document.server.submit();
1.19 bowersj2 262: return false;
1.6 www 263: }
1.14 albertel 264: </script>
1.16 www 265: ENDSCRIPT
1.6 www 266:
1.16 www 267: if ($fullgraph) {
268: $r->print(
269: '<table width="100%" cellpadding=0 cellspacing=0 border=0>');
270: }
1.6 www 271:
1.16 www 272: $r->print(<<ENDSERVERFORM);
1.14 albertel 273: <form name="server" action="$otherserver/adm/authenticate" method="post" target="_top">
1.33 www 274: <input type="hidden" name="logtoken" value="$logtoken" />
275: <input type="hidden" name="serverid" value="$lonhost" />
276: <input type="hidden" name="interface" value="$ENV{'form.interface'}" />
277: <input type="hidden" name="uname" value="" />
278: <input type="hidden" name="upass" value="" />
279: <input type="hidden" name="udom" value="" />
280: <input type="hidden" name="imagesuppress" value="" />
1.34 www 281: <input type="hidden" name="appletsuppress" value="" />
1.33 www 282: <input type="hidden" name="embedsuppress" value="" />
283: <input type="hidden" name="fontenhance" value="" />
284: <input type="hidden" name="blackwhite" value="" />
1.35 www 285: <input type="hidden" name="remember" value="" />
1.43 www 286: <input type="hidden" name="localpath" value="$ENV{'form.localpath'}" />
287: <input type="hidden" name="localres" value="$ENV{'form.localres'}" />
1.14 albertel 288: </form>
1.16 www 289: ENDSERVERFORM
290: if ($fullgraph) { $r->print(<<ENDTOP);
1.14 albertel 291: <!-- The LON-CAPA Header -->
292: <tr>
293:
294: <!-- Row 1 Columns 2-4 -->
1.29 www 295: <td width="100%" height=75 colspan=4 align="left" valign="top" bgcolor="$pgbg"><img src="$img" border=0 alt="The Learning Online Network with CAPA" /></td>
1.14 albertel 296: </tr>
297:
298: <!-- The gray bar that starts the two table frames -->
299: <tr>
300:
301: <!-- Row 2 Column 1 -->
1.21 www 302: <td width=182 height=27 bgcolor="$sidebg"> </td>
1.14 albertel 303:
304: <!-- Row 2 Column 2 -->
1.19 bowersj2 305: <td width=27 height=27 align="left" background="$iconpath/filltop.gif"><img src="$iconpath/upperleft.gif" border=0 alt="" /></td>
1.14 albertel 306:
307: <!-- Row 2 Column 3 -->
1.19 bowersj2 308: <td height=27 background="$iconpath/filltop.gif"><img src="$iconpath/filltop.gif" alt="" /></td>
1.14 albertel 309:
310: <!-- Row 2 Column 4 -->
1.19 bowersj2 311: <td width=27 height=27 align="right" background="$iconpath/filltop.gif"><img src="$iconpath/upperright.gif" border=0 alt="" /></td>
1.14 albertel 312: </tr>
313: <tr>
314:
315: <!-- A cell that will hold the 'access' and 'about' buttons -->
316: <!-- Row 3 Column 1 -->
1.21 www 317: <td valign="top" height=60 align="center" bgcolor="$sidebg">
1.19 bowersj2 318: <a href="/adm/login?interface=textual"><img src="$iconpath/accessbutton.gif" border=0 alt="Accessibility Options" /></a>
1.14 albertel 319: <br />
1.19 bowersj2 320: <a href="/adm/about.html"><img src="$iconpath/aboutlon.gif" border=0 alt="About LON-CAPA" /></a>
1.14 albertel 321: </td>
322:
323: <!-- The shaded space between the two main columns -->
324: <!-- Row 3 Column 2 -->
1.19 bowersj2 325: <td width=27 height=60 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.14 albertel 326:
327: <!-- The right main column holding the large LON-CAPA logo-->
328: <!-- Rows 3-4 Column 3 -->
1.45 www 329: <td align="center" valign="top" width="100%" height="100%" bgcolor="$mainbg">
1.14 albertel 330: <center>
1.21 www 331: <img src="$logo" alt="" />
1.14 albertel 332: </center>
333: </td>
334:
335: <!-- Row 3 Column 4 -->
1.19 bowersj2 336: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 337: </tr>
338: <tr>
339:
340: <!-- The entry form -->
341: <!-- Row 4 Column 1 -->
1.21 www 342: <td align="center" valign="middle" bgcolor="$sidebg">
1.16 www 343: ENDTOP
1.32 www 344: } else {
1.45 www 345: $r->print('<h1>The Learning<i>Online</i> Network with CAPA</h1><h2>Text-based Interface Login</h2>'.$announcements);
1.33 www 346: }
347: $r->print('<form name="client" onsubmit="return(send())">');
348: unless ($fullgraph) {
349: $r->print(<<ENDACCESSOPTIONS);
1.35 www 350: <h3>Select Accessibility Options</h3>
1.33 www 351: <input type="checkbox" name="imagesuppress" /> Suppress rendering of images<br />
1.34 www 352: <input type="checkbox" name="appletsuppress" /> Suppress Java applets<br />
1.33 www 353: <input type="checkbox" name="embedsuppress" /> Suppress rendering of embedded multimedia<br />
354: <input type="checkbox" name="fontenhance" /> Increase font size<br />
1.35 www 355: <input type="checkbox" name="blackwhite" /> Switch to black and white mode<br />
356: <p>If you have accessibility needs that are not addressed by this interface,
357: please
358: contact the system administrator at <tt>$sysadm</tt>.</p><br />
359: <input type="checkbox" name="remember" /> Remember these settings for next login<hr />
1.33 www 360: ENDACCESSOPTIONS
361: } else {
362: $r->print(<<ENDNOOPT);
363: <input type="hidden" name="imagesuppress" value="" />
364: <input type="hidden" name="embedsuppress" value="" />
1.34 www 365: <input type="hidden" name="appletsuppress" value="" />
1.33 www 366: <input type="hidden" name="fontenhance" value="" />
367: <input type="hidden" name="blackwhite" value="" />
1.35 www 368: <input type="hidden" name="remember" value="" />
1.33 www 369: ENDNOOPT
1.16 www 370: }
371: $r->print(<<ENDLOGIN);
1.14 albertel 372: <input type="hidden" name="lextkey" value="$lextkey">
373: <input type="hidden" name="uextkey" value="$uextkey">
374:
375: <!-- Start the sub-table for text and input alignment -->
376: <table border=0 cellspacing=0 cellpadding=0>
1.21 www 377: <tr><td bgcolor="$sidebg" colspan=2><img src="$iconpath/userauthentication.gif" alt="User Authentication" /></td></tr>
1.14 albertel 378: <tr>
1.21 www 379: <td bgcolor="$mainbg"><br /><font size=-1><b> User Name:</b></font></td>
1.30 www 380: <td bgcolor="$mainbg"><br /><input type="text" name="uname" size="10" value="$authusername" /></td>
1.14 albertel 381: </tr>
382: <tr>
1.21 www 383: <td bgcolor="$mainbg"><font size=-1><b> Password:</b></font></td>
384: <td bgcolor="$mainbg"><input type="password" name="upass" size="10" /></td>
1.14 albertel 385: </tr>
386: <tr>
1.21 www 387: <td bgcolor="$mainbg"><font size=-1><b> Domain:</b></font></td>
1.30 www 388: <td bgcolor="$mainbg"><input type="text" name="udom" size="10" value="$authdomain" /></td>
1.14 albertel 389: </tr>
390: <tr>
1.28 www 391: <td bgcolor="$mainbg"> <a href="/adm/loginproblems.html">Help</a></td>
392: <td bgcolor="$mainbg" valign="bottom" align="center">
1.14 albertel 393: <br />
1.19 bowersj2 394: <input type="submit" value="Log In" />
1.14 albertel 395: </td>
396: </tr>
397: </table>
398: <!-- End sub-table -->
399: </form>
1.16 www 400: ENDLOGIN
401: if ($fullgraph) {
402: $r->print(<<ENDDOCUMENT);
1.14 albertel 403: </td>
404:
405: <!-- Row 4 Column 2 -->
1.19 bowersj2 406: <td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.45 www 407:
408: <!-- Row 4 Column 3 -->
409: <td bgcolor="$mainbg">$announcements</td>
1.14 albertel 410:
411: <!-- Row 4 Column 4 -->
1.19 bowersj2 412: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 413: </tr>
414: <tr>
415:
416: <!-- Row 5 Column 1 -->
1.21 www 417: <td bgcolor="$sidebg" valign="middle" align="left">
1.14 albertel 418: <br />
419: <table border=0 cellspacing=0 cellpadding=0>
420: <tr>
1.21 www 421: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 422: <small><b> Domain: </b></small>
423: </td>
1.21 www 424: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 425: <small><tt> $domain</tt></small>
426: </td>
427: </tr>
428: <tr>
1.21 www 429: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 430: <small><b> Server: </b></small>
431: </td>
1.21 www 432: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 433: <small><tt> $lonhost ($role)</tt></small>
434: </td>
435: </tr>
436: <tr>
1.21 www 437: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 438: <small><b> Load: </b></small>
439: </td>
1.21 www 440: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 441: <small><tt> $loadpercent percent</tt></small>
1.42 albertel 442: </td>
443: </tr>
444: <tr>
445: <td bgcolor="$sidebg" align="left" valign="top">
446: <small><b> User Load: </b></small>
447: </td>
448: <td bgcolor="$sidebg" align="left" valign="top">
449: <small><tt> $userloadpercent percent</tt></small>
1.14 albertel 450: </td>
451: </tr>
452: </table>
453: <br />
454: <small>
455: <b> System Administration:</b><br />
456: <tt> $sysadm</tt><br />
457: <b> Server Administration:</b><br />
1.44 www 458: <tt> $servadm</tt><br /> <br />
459: $version
1.14 albertel 460: </small>
461: </td>
462:
463: <!-- Row 5 Column 2 -->
1.19 bowersj2 464: <td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.14 albertel 465:
466: <!-- Row 5 Column 3 -->
1.21 www 467: <td width="100%" valign="bottom" bgcolor="$mainbg">
1.20 www 468: $domainlogo
469: </td>
1.14 albertel 470:
471: <!-- Row 5 Column 4 -->
1.19 bowersj2 472: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 473: </tr>
474: <tr>
475:
476: <!-- Row 6 Column 1 -->
1.21 www 477: <td bgcolor="$sidebg"> </td>
1.14 albertel 478:
479: <!-- Row 6 Column 2 -->
1.19 bowersj2 480: <td align="left" background="$iconpath/fillbottom.gif"><img src="$iconpath/lowerleft.gif" alt="" /></td>
1.14 albertel 481:
482: <!-- Row 6 Column 3 -->
1.19 bowersj2 483: <td background="$iconpath/fillbottom.gif"><img src="$iconpath/fillbottom.gif" alt="" /></td>
1.14 albertel 484:
485: <!-- Row 6 Column 4 -->
1.19 bowersj2 486: <td align="right" background="$iconpath/fillbottom.gif"><img src="$iconpath/lowerright.gif" alt="" /></td>
1.14 albertel 487: </tr>
1.1 albertel 488: </table>
1.25 bowersj2 489:
490: <script>
491: // the if prevents the script error if the browser can't handle this
492: if ( document.client.uname ) { document.client.uname.focus(); }
493: </script>
1.14 albertel 494:
1.1 albertel 495: ENDDOCUMENT
1.16 www 496: }
497: $r->print('</body></html>');
1.1 albertel 498: return OK;
499: }
500:
501: 1;
502: __END__
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>