version 1.165, 2016/02/17 19:15:39
|
version 1.168, 2016/05/03 22:33:49
|
Line 355 initkeys();
|
Line 355 initkeys();
|
if(this.document.server.action.substr(0,5) === 'http:'){
|
if(this.document.server.action.substr(0,5) === 'http:'){
|
this.document.server.elements.upass0.value
|
this.document.server.elements.upass0.value
|
=getCrypted(this.document.client.elements.upass$now.value);
|
=getCrypted(this.document.client.elements.upass$now.value);
|
|
} else {
|
|
this.document.server.elements.upass0.value
|
|
=this.document.client.elements.upass$now.value;
|
}
|
}
|
|
|
this.document.client.elements.uname.value='';
|
this.document.client.elements.uname.value='';
|
Line 520 LFORM
|
Line 523 LFORM
|
$r->print(<<HEADER);
|
$r->print(<<HEADER);
|
<!-- The LON-CAPA Header -->
|
<!-- The LON-CAPA Header -->
|
<div style="background:$pgbg;margin:0;width:100%;">
|
<div style="background:$pgbg;margin:0;width:100%;">
|
<img src="$img" border="0" alt="The Learning Online Network with CAPA" />
|
<img src="$img" border="0" alt="The Learning Online Network with CAPA" class="LC_maxwidth" />
|
</div>
|
</div>
|
HEADER
|
HEADER
|
}
|
}
|
Line 544 HEADER
|
Line 547 HEADER
|
<div>
|
<div>
|
ENDTOP
|
ENDTOP
|
if ($showmainlogo) {
|
if ($showmainlogo) {
|
$r->print(' <img src="'.$logo.'" alt="" />'."\n");
|
$r->print(' <img src="'.$logo.'" alt="" class="LC_maxwidth" />'."\n");
|
}
|
}
|
$r->print(<<ENDTOP);
|
$r->print(<<ENDTOP);
|
$announcements
|
$announcements
|