version 1.21, 2003/04/19 15:34:06
|
version 1.23, 2003/04/30 15:49:45
|
Line 50 use Apache::File;
|
Line 50 use Apache::File;
|
use Crypt::DES; |
use Crypt::DES; |
use DynaLoader; # for Crypt::DES version |
use DynaLoader; # for Crypt::DES version |
use Apache::loncommon(); |
use Apache::loncommon(); |
|
use Apache::lonhtmlcommon(); |
|
|
# |
# |
# Write lonnet::passwd to do the call below. |
# Write lonnet::passwd to do the call below. |
Line 295 sub colorschanger {
|
Line 296 sub colorschanger {
|
'vlink' => 'Visited Link', |
'vlink' => 'Visited Link', |
'alink' => 'Active Link'); |
'alink' => 'Active Link'); |
my $chtable=''; |
my $chtable=''; |
foreach my $item (keys %colortypes) { |
foreach my $item (sort(keys(%colortypes))) { |
my $curcol=&Apache::loncommon::designparm($function.'.'.$item,$domain); |
my $curcol=&Apache::loncommon::designparm($function.'.'.$item,$domain); |
$chtable.='<tr><td>'.$colortypes{$item}.'</td><td bgcolor="'.$curcol. |
$chtable.='<tr><td>'.$colortypes{$item}.'</td><td bgcolor="'.$curcol. |
'"> </td><td><input name="'.$item. |
'"> </td><td><input name="'.$item. |
Line 304 sub colorschanger {
|
Line 305 sub colorschanger {
|
"','".$curcol."','" |
"','".$curcol."','" |
.$item."','parmform.pres','psub'".');">Select</a></td></tr>'; |
.$item."','parmform.pres','psub'".');">Select</a></td></tr>'; |
} |
} |
|
my $pjump_def = &Apache::lonhtmlcommon::pjump_javascript_definition(); |
$r->print(<<ENDCOL); |
$r->print(<<ENDCOL); |
<html> |
<html> |
<script> |
<script> |
Line 314 sub colorschanger {
|
Line 316 sub colorschanger {
|
parmwin.close(); |
parmwin.close(); |
} |
} |
|
|
function pjump(type,dis,value,marker,ret,call) { |
$pjump_def |
parmwin=window.open("/adm/rat/parameter.html?type="+escape(type) |
|
+"&value="+escape(value)+"&marker="+escape(marker) |
|
+"&return="+escape(ret) |
|
+"&call="+escape(call)+"&name="+escape(dis),"LONCAPAparms", |
|
"height=350,width=350,scrollbars=no,menubar=no"); |
|
|
|
} |
|
|
|
function psub() { |
function psub() { |
pclose(); |
pclose(); |