Annotation of loncom/auth/lonlogin.pm, revision 1.51
1.1 albertel 1: # The LearningOnline Network
2: # Login Screen
1.11 www 3: #
1.51 ! www 4: # $Id: lonlogin.pm,v 1.50 2003/09/16 18:15:43 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:
1.51 ! www 220: # ----------------------------------------------------------------------- Texts
! 221:
! 222: my %lt=&Apache::lonlocal::texthash(
! 223: 'un' => 'Username',
! 224: 'pw' => 'Password',
! 225: 'dom' => 'Domain',
! 226: 'perc' => 'percent',
! 227: 'user' => 'User',
! 228: 'load' => 'load',
! 229: 'log' => 'Log in',
! 230: 'help' => 'Help',
! 231: 'serv' => 'Server',
! 232: 'servadm' => 'Server Administration',
! 233: 'sysadm' => 'System Administration');
! 234:
1.21 www 235:
1.6 www 236: # ---------------------------------------------------------- Serve rest of page
1.16 www 237: $r->print(<<ENDSCRIPT);
1.6 www 238:
1.21 www 239: <body bgcolor="$pgbg" text="$font" link="$link" vlink="$vlink" alink="$alink"
1.27 albertel 240: topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
1.6 www 241:
1.14 albertel 242: <script language="JavaScript">
243: function send()
244: {
1.6 www 245: this.document.server.elements.uname.value
246: =this.document.client.elements.uname.value;
247:
248: this.document.server.elements.udom.value
249: =this.document.client.elements.udom.value;
250:
1.33 www 251: this.document.server.elements.imagesuppress.value
1.36 www 252: =this.document.client.elements.imagesuppress.checked;
1.33 www 253:
254: this.document.server.elements.embedsuppress.value
1.36 www 255: =this.document.client.elements.embedsuppress.checked;
1.33 www 256:
1.34 www 257: this.document.server.elements.appletsuppress.value
1.36 www 258: =this.document.client.elements.appletsuppress.checked;
1.34 www 259:
1.33 www 260: this.document.server.elements.fontenhance.value
1.36 www 261: =this.document.client.elements.fontenhance.checked;
1.33 www 262:
263: this.document.server.elements.blackwhite.value
1.36 www 264: =this.document.client.elements.blackwhite.checked;
1.33 www 265:
1.35 www 266: this.document.server.elements.remember.value
1.36 www 267: =this.document.client.elements.remember.checked;
1.35 www 268:
1.6 www 269: uextkey=this.document.client.elements.uextkey.value;
270: lextkey=this.document.client.elements.lextkey.value;
271: initkeys();
272:
273: this.document.server.elements.upass.value
274: =crypted(this.document.client.elements.upass.value);
275:
276: this.document.server.submit();
1.19 bowersj2 277: return false;
1.6 www 278: }
1.14 albertel 279: </script>
1.16 www 280: ENDSCRIPT
1.6 www 281:
1.16 www 282: if ($fullgraph) {
283: $r->print(
284: '<table width="100%" cellpadding=0 cellspacing=0 border=0>');
285: }
1.6 www 286:
1.16 www 287: $r->print(<<ENDSERVERFORM);
1.14 albertel 288: <form name="server" action="$otherserver/adm/authenticate" method="post" target="_top">
1.33 www 289: <input type="hidden" name="logtoken" value="$logtoken" />
290: <input type="hidden" name="serverid" value="$lonhost" />
291: <input type="hidden" name="interface" value="$ENV{'form.interface'}" />
292: <input type="hidden" name="uname" value="" />
293: <input type="hidden" name="upass" value="" />
294: <input type="hidden" name="udom" value="" />
295: <input type="hidden" name="imagesuppress" value="" />
1.34 www 296: <input type="hidden" name="appletsuppress" value="" />
1.33 www 297: <input type="hidden" name="embedsuppress" value="" />
298: <input type="hidden" name="fontenhance" value="" />
299: <input type="hidden" name="blackwhite" value="" />
1.35 www 300: <input type="hidden" name="remember" value="" />
1.43 www 301: <input type="hidden" name="localpath" value="$ENV{'form.localpath'}" />
302: <input type="hidden" name="localres" value="$ENV{'form.localres'}" />
1.14 albertel 303: </form>
1.16 www 304: ENDSERVERFORM
305: if ($fullgraph) { $r->print(<<ENDTOP);
1.14 albertel 306: <!-- The LON-CAPA Header -->
307: <tr>
308:
309: <!-- Row 1 Columns 2-4 -->
1.29 www 310: <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 311: </tr>
312:
313: <!-- The gray bar that starts the two table frames -->
314: <tr>
315:
316: <!-- Row 2 Column 1 -->
1.21 www 317: <td width=182 height=27 bgcolor="$sidebg"> </td>
1.14 albertel 318:
319: <!-- Row 2 Column 2 -->
1.19 bowersj2 320: <td width=27 height=27 align="left" background="$iconpath/filltop.gif"><img src="$iconpath/upperleft.gif" border=0 alt="" /></td>
1.14 albertel 321:
322: <!-- Row 2 Column 3 -->
1.19 bowersj2 323: <td height=27 background="$iconpath/filltop.gif"><img src="$iconpath/filltop.gif" alt="" /></td>
1.14 albertel 324:
325: <!-- Row 2 Column 4 -->
1.19 bowersj2 326: <td width=27 height=27 align="right" background="$iconpath/filltop.gif"><img src="$iconpath/upperright.gif" border=0 alt="" /></td>
1.14 albertel 327: </tr>
328: <tr>
329:
330: <!-- A cell that will hold the 'access' and 'about' buttons -->
331: <!-- Row 3 Column 1 -->
1.21 www 332: <td valign="top" height=60 align="center" bgcolor="$sidebg">
1.19 bowersj2 333: <a href="/adm/login?interface=textual"><img src="$iconpath/accessbutton.gif" border=0 alt="Accessibility Options" /></a>
1.14 albertel 334: <br />
1.19 bowersj2 335: <a href="/adm/about.html"><img src="$iconpath/aboutlon.gif" border=0 alt="About LON-CAPA" /></a>
1.14 albertel 336: </td>
337:
338: <!-- The shaded space between the two main columns -->
339: <!-- Row 3 Column 2 -->
1.19 bowersj2 340: <td width=27 height=60 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.14 albertel 341:
342: <!-- The right main column holding the large LON-CAPA logo-->
343: <!-- Rows 3-4 Column 3 -->
1.45 www 344: <td align="center" valign="top" width="100%" height="100%" bgcolor="$mainbg">
1.14 albertel 345: <center>
1.21 www 346: <img src="$logo" alt="" />
1.14 albertel 347: </center>
348: </td>
349:
350: <!-- Row 3 Column 4 -->
1.19 bowersj2 351: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 352: </tr>
353: <tr>
354:
355: <!-- The entry form -->
356: <!-- Row 4 Column 1 -->
1.21 www 357: <td align="center" valign="middle" bgcolor="$sidebg">
1.16 www 358: ENDTOP
1.32 www 359: } else {
1.45 www 360: $r->print('<h1>The Learning<i>Online</i> Network with CAPA</h1><h2>Text-based Interface Login</h2>'.$announcements);
1.33 www 361: }
362: $r->print('<form name="client" onsubmit="return(send())">');
363: unless ($fullgraph) {
364: $r->print(<<ENDACCESSOPTIONS);
1.35 www 365: <h3>Select Accessibility Options</h3>
1.33 www 366: <input type="checkbox" name="imagesuppress" /> Suppress rendering of images<br />
1.34 www 367: <input type="checkbox" name="appletsuppress" /> Suppress Java applets<br />
1.33 www 368: <input type="checkbox" name="embedsuppress" /> Suppress rendering of embedded multimedia<br />
369: <input type="checkbox" name="fontenhance" /> Increase font size<br />
1.35 www 370: <input type="checkbox" name="blackwhite" /> Switch to black and white mode<br />
371: <p>If you have accessibility needs that are not addressed by this interface,
372: please
373: contact the system administrator at <tt>$sysadm</tt>.</p><br />
374: <input type="checkbox" name="remember" /> Remember these settings for next login<hr />
1.33 www 375: ENDACCESSOPTIONS
376: } else {
377: $r->print(<<ENDNOOPT);
378: <input type="hidden" name="imagesuppress" value="" />
379: <input type="hidden" name="embedsuppress" value="" />
1.34 www 380: <input type="hidden" name="appletsuppress" value="" />
1.33 www 381: <input type="hidden" name="fontenhance" value="" />
382: <input type="hidden" name="blackwhite" value="" />
1.35 www 383: <input type="hidden" name="remember" value="" />
1.33 www 384: ENDNOOPT
1.16 www 385: }
386: $r->print(<<ENDLOGIN);
1.14 albertel 387: <input type="hidden" name="lextkey" value="$lextkey">
388: <input type="hidden" name="uextkey" value="$uextkey">
389:
390: <!-- Start the sub-table for text and input alignment -->
391: <table border=0 cellspacing=0 cellpadding=0>
1.21 www 392: <tr><td bgcolor="$sidebg" colspan=2><img src="$iconpath/userauthentication.gif" alt="User Authentication" /></td></tr>
1.14 albertel 393: <tr>
1.51 ! www 394: <td bgcolor="$mainbg"><br /><font size=-1><b> $lt{'un'}:</b></font></td>
1.30 www 395: <td bgcolor="$mainbg"><br /><input type="text" name="uname" size="10" value="$authusername" /></td>
1.14 albertel 396: </tr>
397: <tr>
1.51 ! www 398: <td bgcolor="$mainbg"><font size=-1><b> $lt{'pw'}:</b></font></td>
1.21 www 399: <td bgcolor="$mainbg"><input type="password" name="upass" size="10" /></td>
1.14 albertel 400: </tr>
401: <tr>
1.51 ! www 402: <td bgcolor="$mainbg"><font size=-1><b> $lt{'dom'}:</b></font></td>
1.30 www 403: <td bgcolor="$mainbg"><input type="text" name="udom" size="10" value="$authdomain" /></td>
1.14 albertel 404: </tr>
405: <tr>
1.51 ! www 406: <td bgcolor="$mainbg"> <a href="/adm/loginproblems.html">$lt{'help'}</a></td>
1.28 www 407: <td bgcolor="$mainbg" valign="bottom" align="center">
1.14 albertel 408: <br />
1.51 ! www 409: <input type="submit" value="$lt{'log'}" />
1.14 albertel 410: </td>
411: </tr>
412: </table>
413: <!-- End sub-table -->
414: </form>
1.16 www 415: ENDLOGIN
416: if ($fullgraph) {
417: $r->print(<<ENDDOCUMENT);
1.14 albertel 418: </td>
419:
420: <!-- Row 4 Column 2 -->
1.19 bowersj2 421: <td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.45 www 422:
423: <!-- Row 4 Column 3 -->
424: <td bgcolor="$mainbg">$announcements</td>
1.14 albertel 425:
426: <!-- Row 4 Column 4 -->
1.19 bowersj2 427: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 428: </tr>
429: <tr>
430:
431: <!-- Row 5 Column 1 -->
1.21 www 432: <td bgcolor="$sidebg" valign="middle" align="left">
1.14 albertel 433: <br />
434: <table border=0 cellspacing=0 cellpadding=0>
435: <tr>
1.21 www 436: <td bgcolor="$sidebg" align="left" valign="top">
1.51 ! www 437: <small><b> $lt{'dom'}: </b></small>
1.14 albertel 438: </td>
1.21 www 439: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 440: <small><tt> $domain</tt></small>
441: </td>
442: </tr>
443: <tr>
1.21 www 444: <td bgcolor="$sidebg" align="left" valign="top">
1.51 ! www 445: <small><b> $lt{'serv'}: </b></small>
1.14 albertel 446: </td>
1.21 www 447: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 448: <small><tt> $lonhost ($role)</tt></small>
449: </td>
450: </tr>
451: <tr>
1.21 www 452: <td bgcolor="$sidebg" align="left" valign="top">
1.14 albertel 453: <small><b> Load: </b></small>
454: </td>
1.21 www 455: <td bgcolor="$sidebg" align="left" valign="top">
1.51 ! www 456: <small><tt> $loadpercent $lt{'perc'}</tt></small>
1.42 albertel 457: </td>
458: </tr>
459: <tr>
460: <td bgcolor="$sidebg" align="left" valign="top">
1.51 ! www 461: <small><b> $lt{'user'} $lt{'load'}: </b></small>
1.42 albertel 462: </td>
463: <td bgcolor="$sidebg" align="left" valign="top">
1.51 ! www 464: <small><tt> $userloadpercent $lt{'perc'}</tt></small>
1.14 albertel 465: </td>
466: </tr>
467: </table>
468: <br />
469: <small>
1.51 ! www 470: <b> $lt{'sysadm'}:</b><br />
1.14 albertel 471: <tt> $sysadm</tt><br />
1.51 ! www 472: <b> $lt{'servadm'}:</b><br />
1.44 www 473: <tt> $servadm</tt><br /> <br />
474: $version
1.14 albertel 475: </small>
476: </td>
477:
478: <!-- Row 5 Column 2 -->
1.19 bowersj2 479: <td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td>
1.14 albertel 480:
481: <!-- Row 5 Column 3 -->
1.21 www 482: <td width="100%" valign="bottom" bgcolor="$mainbg">
1.20 www 483: $domainlogo
484: </td>
1.14 albertel 485:
486: <!-- Row 5 Column 4 -->
1.19 bowersj2 487: <td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td>
1.14 albertel 488: </tr>
489: <tr>
490:
491: <!-- Row 6 Column 1 -->
1.21 www 492: <td bgcolor="$sidebg"> </td>
1.14 albertel 493:
494: <!-- Row 6 Column 2 -->
1.19 bowersj2 495: <td align="left" background="$iconpath/fillbottom.gif"><img src="$iconpath/lowerleft.gif" alt="" /></td>
1.14 albertel 496:
497: <!-- Row 6 Column 3 -->
1.19 bowersj2 498: <td background="$iconpath/fillbottom.gif"><img src="$iconpath/fillbottom.gif" alt="" /></td>
1.14 albertel 499:
500: <!-- Row 6 Column 4 -->
1.19 bowersj2 501: <td align="right" background="$iconpath/fillbottom.gif"><img src="$iconpath/lowerright.gif" alt="" /></td>
1.14 albertel 502: </tr>
1.1 albertel 503: </table>
1.25 bowersj2 504:
505: <script>
506: // the if prevents the script error if the browser can't handle this
507: if ( document.client.uname ) { document.client.uname.focus(); }
508: </script>
1.14 albertel 509:
1.1 albertel 510: ENDDOCUMENT
1.16 www 511: }
512: $r->print('</body></html>');
1.1 albertel 513: return OK;
514: }
515:
516: 1;
517: __END__
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>