From 3c58affcd1dbb68a70e4f2f8b82f6015ae89a5fd Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 29 Feb 2004 17:38:55 +0000 Subject: [PATCH] fixed printable style --- docs/upgrades/upgrade_5.9.9-6.0.0.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.pl b/docs/upgrades/upgrade_5.9.9-6.0.0.pl index d67e7afad..1be53469a 100644 --- a/docs/upgrades/upgrade_5.9.9-6.0.0.pl +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.pl @@ -23,6 +23,11 @@ WebGUI::Session::open("../..",$configFile); print "\tMigrating styles.\n" unless ($quiet); my $sth = WebGUI::SQL->read("select * from style"); while (my $style = $sth->hashRef) { + if ($style->{styleId} == 3) { + $style->{body} =~ s/styles\/plainblack\/logo-white\.gif/plainblack.gif/ixsg; + $style->{body} =~ s/2001-2002/2001-2004/ixsg; + $style->{body} =~ s/Plain\s+Black\s+Software/Plain Black LLC/ixsg; + } my ($header,$footer) = split(/\^\-\;/,$style->{body}); my ($newStyleId) = WebGUI::SQL->quickArray("select max(templateId) from template where namespace='style'"); if ($style->{styleId} > 0 && $style->{styleId} < 25) {