version 1.233, 2014/04/02 16:27:18
|
version 1.234, 2014/04/13 00:42:06
|
Line 1472 sub display_color_options {
|
Line 1472 sub display_color_options {
|
$datatable .= '<td class="LC_right_item">'. |
$datatable .= '<td class="LC_right_item">'. |
'<table border="0"><tr>'; |
'<table border="0"><tr>'; |
foreach my $item (@{$links}) { |
foreach my $item (@{$links}) { |
my $color = $designs->{'link'}{$item} ? $designs->{'link'}{$item} : $defaults->{'links'}{$item}; |
my $color = $designs->{'links'}{$item} ? $designs->{'links'}{$item} : $defaults->{'links'}{$item}; |
$datatable .= '<td align="center">'.$choices->{$item}."\n"; |
$datatable .= '<td align="center">'.$choices->{$item}."\n"; |
if ($designs->{'links'}{$item}) { |
if ($designs->{'links'}{$item}) { |
$datatable.=' '; |
$datatable.=' '; |
Line 5769 sub modify_colors {
|
Line 5769 sub modify_colors {
|
} |
} |
if ($role eq 'login') { |
if ($role eq 'login') { |
foreach my $item (@logintext) { |
foreach my $item (@logintext) { |
unless ($env{'form.'.$role.'_'.$item} eq $defaults{'logintext'}{$item}) { |
$env{'form.'.$role.'_'.$item} = lc($env{'form.'.$role.'_'.$item}); |
|
if ($env{'form.'.$role.'_'.$item} =~ /^\w+/) { |
|
$env{'form.'.$role.'_'.$item} = '#'.$env{'form.'.$role.'_'.$item}; |
|
} |
|
unless ($env{'form.'.$role.'_'.$item} eq lc($defaults{'logintext'}{$item})) { |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
} |
} |
} |
} |
} else { |
} else { |
unless($env{'form.'.$role.'_fontmenu'} eq $defaults{'fontmenu'}) { |
$env{'form.'.$role.'_fontmenu'} = lc($env{'form.'.$role.'_fontmenu'}); |
|
if ($env{'form.'.$role.'_fontmenu'} =~ /^\w+/) { |
|
$env{'form.'.$role.'_fontmenu'} = '#'.$env{'form.'.$role.'_fontmenu'}; |
|
} |
|
unless($env{'form.'.$role.'_fontmenu'} eq lc($defaults{'fontmenu'})) { |
$confhash->{$role}{'fontmenu'} = $env{'form.'.$role.'_fontmenu'}; |
$confhash->{$role}{'fontmenu'} = $env{'form.'.$role.'_fontmenu'}; |
} |
} |
} |
} |
foreach my $item (@bgs) { |
foreach my $item (@bgs) { |
unless ($env{'form.'.$role.'_'.$item} eq $defaults{'bgs'}{$item} ) { |
$env{'form.'.$role.'_'.$item} = lc($env{'form.'.$role.'_'.$item}); |
|
if ($env{'form.'.$role.'_'.$item} =~ /^\w+/) { |
|
$env{'form.'.$role.'_'.$item} = '#'.$env{'form.'.$role.'_'.$item}; |
|
} |
|
unless ($env{'form.'.$role.'_'.$item} eq lc($defaults{'bgs'}{$item})) { |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
} |
} |
} |
} |
foreach my $item (@links) { |
foreach my $item (@links) { |
unless ($env{'form.'.$role.'_'.$item} eq $defaults{'links'}{$item}) { |
$env{'form.'.$role.'_'.$item} = lc($env{'form.'.$role.'_'.$item}); |
|
if ($env{'form.'.$role.'_'.$item} =~ /^\w+/) { |
|
$env{'form.'.$role.'_'.$item} = '#'.$env{'form.'.$role.'_'.$item}; |
|
} |
|
unless ($env{'form.'.$role.'_'.$item} eq lc($defaults{'links'}{$item})) { |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
$confhash->{$role}{$item} = $env{'form.'.$role.'_'.$item}; |
} |
} |
} |
} |