From f302fe2d63f014e444b3b0b3d884509c0c4d031a Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Thu, 17 Mar 2005 22:02:31 +0000 Subject: [PATCH] slight bugfixes. --- docs/upgrades/upgrade_6.5.2-6.5.3.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_6.5.2-6.5.3.pl b/docs/upgrades/upgrade_6.5.2-6.5.3.pl index a4cdf8424..50f90ad3d 100644 --- a/docs/upgrades/upgrade_6.5.2-6.5.3.pl +++ b/docs/upgrades/upgrade_6.5.2-6.5.3.pl @@ -36,14 +36,18 @@ while (my $namespace = $sth->hashRef) { menuTitle=>$namespace->{namespace}, url=>$newUrl, description=>$namespace, - templateId=>'PBtmpl0000000000000078' + templateId=>'PBtmpl0000000000000078', + styleTemplateId=>'PBtmpl0000000000000060', + printableStyleTemplateId=>'PBtmpl0000000000000111', + groupIdView=>'4', + groupIdEdit=>'3' }); my $templatesquery = "select * from asset, template where asset.parentId='".$templateFolder."' and asset.assetId=template.assetId and asset.className='WebGUI::Asset::Template' and template.namespace='".$namespace->{namespace}."' order by title asc"; my $newParentId = $folder->getId; my $sth2 = WebGUI::SQL->read($templatesquery); my $first = 1; while (my $template = $sth2->hashRef) { - print "\t\tMoving ".$template->{title}." to Templates/".$namespace->{namespace}."\n" unless ($quiet); + print "\t\t\tMoving ".$template->{title}." to Templates/".$namespace->{namespace}."\n" unless ($quiet); my $newLineage = getNextLineage($newParentId); my $templateAssetId = $template->{assetId}; my $templateObject = WebGUI::Asset->new($templateAssetId);