From eb8c60397f360310be290d41a5c15c0c917a1891 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Thu, 7 Sep 2006 03:45:29 +0000 Subject: Bug 322693: Create a mechanism to manage multiple custom skins. Patch by Marc Schumann ; r=myk,mkanat; a=myk --- Bugzilla/Install.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Install.pm') diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index b014d6f6e..d8fc47894 100644 --- a/Bugzilla/Install.pm +++ b/Bugzilla/Install.pm @@ -50,6 +50,8 @@ use constant SETTINGS => { # 2006-05-01 olav@bkor.dhs.org -- Bug 7710 state_addselfcc => { options => ['always', 'never', 'cc_unless_role'], default => 'cc_unless_role' }, + # 2006-08-04 wurblzap@gmail.com -- Bug 322693 + skin => { subclass => 'Skin', default => 'standard' }, }; @@ -75,8 +77,10 @@ use constant DEFAULT_COMPONENT => { sub update_settings { my %settings = %{SETTINGS()}; foreach my $setting (keys %settings) { - add_setting($setting, $settings{$setting}->{options}, - $settings{$setting}->{default}); + add_setting($setting, + $settings{$setting}->{options}, + $settings{$setting}->{default}, + $settings{$setting}->{subclass}); } } -- cgit v1.2.3-24-g4f1b