version 1.519, 2007/04/05 21:36:15
|
version 1.522, 2007/04/13 20:22:15
|
Line 3248 sub domainlogo {
|
Line 3248 sub domainlogo {
|
# See if there is a logo |
# See if there is a logo |
if ($designhash{$domain.'.login.domlogo'} ne '') { |
if ($designhash{$domain.'.login.domlogo'} ne '') { |
my $imgsrc = $designhash{$domain.'.login.domlogo'}; |
my $imgsrc = $designhash{$domain.'.login.domlogo'}; |
if ($imgsrc =~ /^\/adm/) { |
if ($imgsrc =~ /^\/(adm|res)/) { |
$imgsrc = &lonhttpdurl($imgsrc); |
$imgsrc = &lonhttpdurl($imgsrc); |
} |
} |
return '<img src="'.$imgsrc.'" alt="'.$domain.'" />'; |
return '<img src="'.$imgsrc.'" alt="'.$domain.'" />'; |
Line 3290 sub designparm {
|
Line 3290 sub designparm {
|
} |
} |
$domain=&determinedomain($domain); |
$domain=&determinedomain($domain); |
my %domdesign = &get_domainconf($domain); |
my %domdesign = &get_domainconf($domain); |
|
my $output; |
if ($domdesign{$domain.'.'.$which} ne '') { |
if ($domdesign{$domain.'.'.$which} ne '') { |
return $domdesign{$domain.'.'.$which}; |
$output = $domdesign{$domain.'.'.$which}; |
} else { |
} else { |
return $defaultdesign{$which}; |
$output = $defaultdesign{$which}; |
} |
} |
|
if (($which =~ /^(student|coordinator|author|admin)\.img$/) || |
|
($which =~ /login\.(img|logo|domlogo)/)) { |
|
if ($output =~ /^\/(adm|res)\//) { |
|
$output = &lonhttpdurl($output); |
|
} |
|
} |
|
return $output; |
} |
} |
|
|
############################################### |
############################################### |
Line 3835 td.LC_table_cell_checkbox {
|
Line 3843 td.LC_table_cell_checkbox {
|
text-align: center; |
text-align: center; |
} |
} |
|
|
|
table#LC_mainmenu td.LC_mainmenu_column { |
|
vertical-align: top; |
|
} |
|
|
.LC_menubuttons_inline_text { |
.LC_menubuttons_inline_text { |
color: $font; |
color: $font; |
font-family: $sans; |
font-family: $sans; |
font-size: smaller; |
font-size: smaller; |
} |
} |
|
|
|
.LC_menubuttons_category { |
|
color: $font; |
|
font-family: $sans; |
|
font-size: larger; |
|
font-weight: bold; |
|
} |
|
|
td.LC_menubuttons_text { |
td.LC_menubuttons_text { |
color: $font; |
color: $font; |
font-family: $sans; |
font-family: $sans; |