version 1.764, 2009/03/08 21:49:33
|
version 1.768, 2009/03/17 16:11:52
|
Line 5910 table em{
|
Line 5910 table em{
|
font-style: normal; |
font-style: normal; |
} |
} |
|
|
table#LC_tableOfContent{ |
table.LC_tableOfContent{ |
border-collapse: collapse; |
border-collapse: collapse; |
border-spacing: 0; |
border-spacing: 0; |
padding: 3px; |
padding: 3px; |
Line 5918 table#LC_tableOfContent{
|
Line 5918 table#LC_tableOfContent{
|
background-color: #FFFFFF; |
background-color: #FFFFFF; |
font-size: 90%; |
font-size: 90%; |
} |
} |
table#LC_tableOfContent a { |
table.LC_tableOfContent a { |
|
background-color:transparent; |
text-decoration: none; |
text-decoration: none; |
} |
} |
|
|
table#LC_tableOfContent tr.LC_trOdd{ |
table.LC_tableOfContent tr.LC_trOdd{ |
background-color: #EEEEEE; |
background-color: #EEEEEE; |
} |
} |
|
|
table#LC_tableOfContent img{ |
table.LC_tableOfContent img{ |
border: none; |
border: none; |
height: 1.3em; |
height: 1.3em; |
vertical-align: text-bottom; |
vertical-align: text-bottom; |
Line 5981 ul#LC_toolbar li{
|
Line 5982 ul#LC_toolbar li{
|
border:1px solid white; |
border:1px solid white; |
padding:0; |
padding:0; |
margin: 0; |
margin: 0; |
display:inline-block; |
float: left; |
|
display:inline; |
vertical-align:middle; |
vertical-align:middle; |
} |
} |
|
|
a.LC_toolbarItem{ |
a.LC_toolbarItem{ |
display:inline-block; |
display:block; |
padding:0; |
padding:0; |
margin:0; |
margin:0; |
height: 32px; |
height: 32px; |
Line 7044 sub default_quota {
|
Line 7046 sub default_quota {
|
['quotas'],$udom); |
['quotas'],$udom); |
if (ref($quotahash{'quotas'}) eq 'HASH') { |
if (ref($quotahash{'quotas'}) eq 'HASH') { |
if ($inststatus ne '') { |
if ($inststatus ne '') { |
my @statuses = split(/:/,$inststatus); |
my @statuses = map { &unescape($_); } split(/:/,$inststatus); |
foreach my $item (@statuses) { |
foreach my $item (@statuses) { |
if (ref($quotahash{'quotas'}{'defaultquota'}) eq 'HASH') { |
if (ref($quotahash{'quotas'}{'defaultquota'}) eq 'HASH') { |
if ($quotahash{'quotas'}{'defaultquota'}{$item} ne '') { |
if ($quotahash{'quotas'}{'defaultquota'}{$item} ne '') { |
Line 7510 sub personal_data_fieldtitles {
|
Line 7512 sub personal_data_fieldtitles {
|
middlename => 'Middle Name', |
middlename => 'Middle Name', |
generation => 'Generation', |
generation => 'Generation', |
gen => 'Generation', |
gen => 'Generation', |
|
inststatus => 'Affiliation', |
); |
); |
return %fieldtitles; |
return %fieldtitles; |
} |
} |
Line 8875 sub restore_settings {
|
Line 8878 sub restore_settings {
|
|
|
=item * &build_recipient_list() |
=item * &build_recipient_list() |
|
|
Build recipient lists for three types of e-mail: |
Build recipient lists for four types of e-mail: |
(a) Error Reports, (b) Package Updates, (c) Help requests, generated by |
(a) Error Reports, (b) Package Updates, (c) lonstatus warnings/errors |
lonerrorhandler.pm, CHECKRPMS and lonsupportreq.pm respectively. |
(d) Help requests, generated by |
|
lonerrorhandler.pm, CHECKRPMS, loncron, and lonsupportreq.pm respectively. |
|
|
Inputs: |
Inputs: |
defmail (scalar - email address of default recipient), |
defmail (scalar - email address of default recipient), |
Line 8901 sub build_recipient_list {
|
Line 8905 sub build_recipient_list {
|
my %domconfig = |
my %domconfig = |
&Apache::lonnet::get_dom('configuration',['contacts'],$defdom); |
&Apache::lonnet::get_dom('configuration',['contacts'],$defdom); |
if (ref($domconfig{'contacts'}) eq 'HASH') { |
if (ref($domconfig{'contacts'}) eq 'HASH') { |
if (ref($domconfig{'contacts'}{$mailing}) eq 'HASH') { |
if (exists($domconfig{'contacts'}{$mailing})) { |
my @contacts = ('adminemail','supportemail'); |
if (ref($domconfig{'contacts'}{$mailing}) eq 'HASH') { |
foreach my $item (@contacts) { |
my @contacts = ('adminemail','supportemail'); |
if ($domconfig{'contacts'}{$mailing}{$item}) { |
foreach my $item (@contacts) { |
my $addr = $domconfig{'contacts'}{$item}; |
if ($domconfig{'contacts'}{$mailing}{$item}) { |
if (!grep(/^\Q$addr\E$/,@recipients)) { |
my $addr = $domconfig{'contacts'}{$item}; |
push(@recipients,$addr); |
if (!grep(/^\Q$addr\E$/,@recipients)) { |
|
push(@recipients,$addr); |
|
} |
} |
} |
|
$otheremails = $domconfig{'contacts'}{$mailing}{'others'}; |
} |
} |
$otheremails = $domconfig{'contacts'}{$mailing}{'others'}; |
|
} |
} |
|
} elsif ($origmail ne '') { |
|
push(@recipients,$origmail); |
} |
} |
} elsif ($origmail ne '') { |
} elsif ($origmail ne '') { |
push(@recipients,$origmail); |
push(@recipients,$origmail); |
Line 10020 sub init_user_environment {
|
Line 10028 sub init_user_environment {
|
&Apache::lonnet::usertools_access($username,$domain,$tool,'reload'); |
&Apache::lonnet::usertools_access($username,$domain,$tool,'reload'); |
} |
} |
|
|
|
foreach my $crstype ('official','unofficial') { |
|
$userenv{'canrequest.'.$crstype} = |
|
&Apache::lonnet::usertools_access($username,$domain,$crstype, |
|
'reload','requestcourses'); |
|
} |
|
|
$env{'user.environment'} = "$lonids/$cookie.id"; |
$env{'user.environment'} = "$lonids/$cookie.id"; |
|
|
if (tie(my %disk_env,'GDBM_File',"$lonids/$cookie.id", |
if (tie(my %disk_env,'GDBM_File',"$lonids/$cookie.id", |