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