version 1.50, 2008/05/14 20:21:34
|
version 1.51, 2008/05/15 01:56:44
|
Line 2570 sub modify_rolecolors {
|
Line 2570 sub modify_rolecolors {
|
sub modify_colors { |
sub modify_colors { |
my ($r,$dom,$confname,$roles,$domconfig,$confhash) = @_; |
my ($r,$dom,$confname,$roles,$domconfig,$confhash) = @_; |
my (%changes,%choices); |
my (%changes,%choices); |
my @bgs = ('pgbg','mainbg','sidebg'); |
my @bgs; |
my @links = ('link','alink','vlink'); |
my @links = ('link','alink','vlink'); |
my @logintext; |
my @logintext; |
my @images; |
my @images; |
Line 2585 sub modify_colors {
|
Line 2585 sub modify_colors {
|
} |
} |
if ($role eq 'login') { |
if ($role eq 'login') { |
@images = ('img','logo','domlogo','login'); |
@images = ('img','logo','domlogo','login'); |
|
@bgs = ('pgbg','mainbg','sidebg'); |
} else { |
} else { |
@images = ('img'); |
@images = ('img'); |
|
@bgs = ('pgbg','tabbg','sidebg'); |
} |
} |
$confhash->{$role}{'font'} = $env{'form.'.$role.'_font'}; |
$confhash->{$role}{'font'} = $env{'form.'.$role.'_font'}; |
foreach my $item (@bgs,@links,@logintext) { |
foreach my $item (@bgs,@links,@logintext) { |