version 1.44, 2003/08/05 12:52:23
|
version 1.45, 2003/08/12 19:46:04
|
Line 108 sub handler {
|
Line 108 sub handler {
|
$otherserver=Apache::lonnet::spareserver($loadpercent,$userloadpercent); |
$otherserver=Apache::lonnet::spareserver($loadpercent,$userloadpercent); |
} |
} |
|
|
|
# ----------------------------------------------------------- Get announcements |
|
my $announcements=&Apache::lonnet::getannounce(); |
# -------------------------------------------------------- Set login parameters |
# -------------------------------------------------------- Set login parameters |
|
|
my @hexstr=('0','1','2','3','4','5','6','7', |
my @hexstr=('0','1','2','3','4','5','6','7', |
Line 307 ENDSERVERFORM
|
Line 309 ENDSERVERFORM
|
|
|
<!-- The right main column holding the large LON-CAPA logo--> |
<!-- The right main column holding the large LON-CAPA logo--> |
<!-- Rows 3-4 Column 3 --> |
<!-- Rows 3-4 Column 3 --> |
<td align="center" valign="top" width="100%" height="100%" rowspan=2 bgcolor="$mainbg"> |
<td align="center" valign="top" width="100%" height="100%" bgcolor="$mainbg"> |
<center> |
<center> |
<img src="$logo" alt="" /> |
<img src="$logo" alt="" /> |
</center> |
</center> |
Line 323 ENDSERVERFORM
|
Line 325 ENDSERVERFORM
|
<td align="center" valign="middle" bgcolor="$sidebg"> |
<td align="center" valign="middle" bgcolor="$sidebg"> |
ENDTOP |
ENDTOP |
} else { |
} else { |
$r->print('<h1>The Learning<i>Online</i> Network with CAPA</h1><h2>Text-based Interface Login</h2>'); |
$r->print('<h1>The Learning<i>Online</i> Network with CAPA</h1><h2>Text-based Interface Login</h2>'.$announcements); |
} |
} |
$r->print('<form name="client" onsubmit="return(send())">'); |
$r->print('<form name="client" onsubmit="return(send())">'); |
unless ($fullgraph) { |
unless ($fullgraph) { |
Line 386 ENDLOGIN
|
Line 388 ENDLOGIN
|
<!-- Row 4 Column 2 --> |
<!-- Row 4 Column 2 --> |
<td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td> |
<td width=27 background="$iconpath/fillleft.gif"><img src="$iconpath/fillleft.gif" alt="" /></td> |
|
|
|
<!-- Row 4 Column 3 --> |
|
<td bgcolor="$mainbg">$announcements</td> |
|
|
<!-- Row 4 Column 4 --> |
<!-- Row 4 Column 4 --> |
<td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td> |
<td width=27 background="$iconpath/fillright.gif"><img src="$iconpath/fillright.gif" alt="" /></td> |
</tr> |
</tr> |