version 1.18, 2003/08/13 21:41:47
|
version 1.19, 2003/08/20 01:34:25
|
Line 26 my $fromcache;
|
Line 26 my $fromcache;
|
my %domaindescription = (); |
my %domaindescription = (); |
my %domain_auth_def = (); |
my %domain_auth_def = (); |
my %domain_auth_arg_def = (); |
my %domain_auth_arg_def = (); |
|
my %domain_lang_def=(); |
|
my %domain_city=(); |
|
my %domain_longi=(); |
|
my %domain_lati=(); |
|
|
my %hostname=(); |
my %hostname=(); |
my %hostip=(); |
my %hostip=(); |
Line 238 sub serverstatus {
|
Line 242 sub serverstatus {
|
<tr><td bgcolor="#BBDDBB"><font color="#225522" face="arial"><b> |
<tr><td bgcolor="#BBDDBB"><font color="#225522" face="arial"><b> |
$local $hostdom{$local}</b> <tt>($hostname{$local}; $hostrole{$local})</tt> |
$local $hostdom{$local}</b> <tt>($hostname{$local}; $hostrole{$local})</tt> |
<br />$domaindescription{$hostdom{$local}} |
<br />$domaindescription{$hostdom{$local}} |
|
$domain_city{$hostdom{$local}} |
</font></th></tr><tr><td bgcolor="#DDDDBB"><font color="#225522"> |
</font></th></tr><tr><td bgcolor="#DDDDBB"><font color="#225522"> |
ENDHEADER |
ENDHEADER |
&login($local);&server($local);&users($local);&versions($local); |
&login($local);&server($local);&users($local);&versions($local); |
Line 647 delete $perlvar{'lonSqlAccess'}; # remov
|
Line 652 delete $perlvar{'lonSqlAccess'}; # remov
|
while (<$fh>) { |
while (<$fh>) { |
next if (/^(\#|\s*$)/); |
next if (/^(\#|\s*$)/); |
chomp; |
chomp; |
my ($domain, $domain_description, $def_auth, $def_auth_arg) |
my ($domain, $domain_description, $def_auth, $def_auth_arg, |
= split(/:/,$_,4); |
$def_lang, $city, $longi, $lati) = split(/:/,$_); |
$domain_auth_def{$domain}=$def_auth; |
$domain_auth_def{$domain}=$def_auth; |
$domain_auth_arg_def{$domain}=$def_auth_arg; |
$domain_auth_arg_def{$domain}=$def_auth_arg; |
$domaindescription{$domain}=$domain_description; |
$domaindescription{$domain}=$domain_description; |
|
$domain_lang_def{$domain}=$def_lang; |
|
$domain_city{$domain}=$city; |
|
$domain_longi{$domain}=$longi; |
|
$domain_lati{$domain}=$lati; |
} |
} |
} |
} |
} |
} |