diff --git a/docs/upgrades/7fixup.pl b/docs/upgrades/7fixup.pl deleted file mode 100644 index 084561657..000000000 --- a/docs/upgrades/7fixup.pl +++ /dev/null @@ -1,636 +0,0 @@ -# This file is here to add new stuff just for 7.0 installs. It will be applied for the generation of create.sql, but won't be included in the official distribution. - -use lib "../../lib"; -use strict; -use Getopt::Long; -use WebGUI::Session; -use WebGUI::VersionTag; -use WebGUI::Asset; -use WebGUI::Utility; -use WebGUI::Storage::Image; - -my $session = start(); # this line required - -my $versionTag = WebGUI::VersionTag->getWorking($session); -$versionTag->set({name=>"Stuff just for 7.0 installs"}); -addPrototypes(); -addTemplates(); -rearrangeImportNode(); -addNewStyles(); -addRobots(); -deleteOldContent(); -addNewContent(); -$versionTag->commit; -purgeOldRevisions(); - -finish($session); # this line required - -#------------------------------------------------- -sub addTemplates { - print "\tAdding new templates specific to WebGUI 7.\n"; - my $import = WebGUI::Asset->getImportNode($session); - $import->addChild({ - className=>"WebGUI::Asset::Template", - template=>q| -

-
- -
- |, - title=>"Flash Template", - menuTitle=>"Flash Template", - url=>"flash-template", - groupIdView=>'7', - groupIdEdit=>'12', - namespace=>"FileAsset", - ownerUserId=>'3' - },"pbtmpl0000000000000220"); - $import->addChild({ - className=>"WebGUI::Asset::Template", - template=>q| -

-

- - -

- |, - title=>"Flash Tutorial Template", - menuTitle=>"Flash Tutorial Template", - url=>"flash-tutorial-template", - groupIdView=>'7', - groupIdEdit=>'12', - namespace=>"FileAsset", - ownerUserId=>'3' - },"pbtmpl0000000000000221"); -} - -#------------------------------------------------- -sub addNewContent { - print "\tAdding new content.\n"; - my $home = WebGUI::Asset->getDefault($session); - $home->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - isHidden=>1, - title=>"Welcome", - menuTitle=>"Welcome", - url=>"home/welcome", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

The WebGUI Content Engine® is a powerful and easy to use system for managing web sites, and building web applications. It provides thousands of features out of the box, and lots of plug-in points so you can extend it to match your needs. It's easy enough for the average business user, but powerful enough for any large enterprise.

- -

There are thousands of small and large businesses, schools, universities, governments, associations, clubs, churches, projects, and communities using WebGUI all over the world today. A brief list of some of them can be found here. Your site should be on that list.

- -

If you're new to WebGUI, click here to learn how to get started. If you're getting up to speed, check out some ways you can do more faster. If this is all old hat to you, then check out the latest news. No matter what level you're at tell your friends about WebGUI.

|, - templateId=>'PBtmpl0000000000000002' - }); - my $storage = WebGUI::Storage->create($session); - $storage->addFileFromFilesystem("7fixup/advert01.swf"); - $home->addChild({ - className=>"WebGUI::Asset::File", - templateId=>"pbtmpl0000000000000220", - title=>"Ad", - menuTitle=>"Ad", - storageId=>$storage->getId, - filename=>"advert01.swf", - isHidden=>1, - url=>"home/ad", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4' - }); - $home->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Key Benefits", - menuTitle=>"Key Benefits", - isHidden=>1, - url=>"home/key-benefits", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q| -

-Easy To Use - WebGUI is absolutely easy to use. WebGUI 7 has a completely revamped user interface to make it even easier to use. There are lots of visual cues, consistent icons, helper apps, and a huge repository of built-in help files. -

-

-Workflow & Versioning - Never again worry about content getting put on your site that you don't want there. Never again lose your old content after making an edit. And never again push out new changes until you're absolutely ready to release them. WebGUI's workflow and versioning system if fast, flexible, powerful, and easy to use. -

-

-Everything's a Template - Worry nevermore about your CMS forcing you into a mould that doesn't suit you. With WebGUI everything a site visitor can see is a customizable template, so you can make it look exactly how you want. Moreover if you're the type that strives for excellence rest in the knowledge that all the templates that come with WebGUI are XHTML 1.0 strict compliant. -

-

-Localization - WebGUI's entire user interface is set up to be internationalized. Visit one of the WebGUI Worldwide member sites to get translations for your language. Stay there to get support and services in your native language. Feel confident in the knowledge that WebGUI will work with your native characters because it's UTF-8 compliant. On top of that WebGUI allows you to customize dates, currency, and weights to match your locale. -

-

-Pluggable By Design - With WebGUI 7 you have many plug-in points to add your own functionality. And best of all, the API is stable and standardized. Write it today and it will still work years from now and survive all upgrades. -

-|, - templateId=>'PBtmpl0000000000000002' - }); - my $gs = WebGUI::Asset->new($session,"_iHetEvMQUOoxS-T2CM0sQ","WebGUI::Asset::Wobject::Layout"); - $gs->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Getting Started", - isHidden=>1, - menuTitle=>"Getting Started", - url=>"getting_started/getting-started", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q| -

-If you're reading this message that means you've successfully installed and configured the WebGUI Content Engine®. Great job! -

-

-Now you should log in and go into admin mode. The default username is "admin" and the default password is "123qwe", but you probably customized both of those when you visited this site for the very first time. -

-

-Now that you're logged in, we recommend creating a secondary account for yourself with admin privileges just in case you forget the login information for your primary admin account. Don't worry if you lock yourself out, you can always contact Plain Black® support to get instructions to get back in. -

-

-No doubt after you enabled admin mode you saw a menu along the left side of the screen, that's called the Admin Bar. Use that to add content and access administrative functions. To get started with managing content, watch the short instructional video below. -

-|, - templateId=>'PBtmpl0000000000000002' - }); - $storage = WebGUI::Storage->create($session); - $storage->addFileFromFilesystem("7fixup/Tutorial.swf"); - $gs->addChild({ - className=>"WebGUI::Asset::File", - templateId=>"pbtmpl0000000000000221", - title=>"Ad", - menuTitle=>"Ad", - storageId=>$storage->getId, - filename=>"Tutorial.swf", - isHidden=>1, - url=>"home/ad", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4' - }); - $gs->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Getting Started (part 2)", - isHidden=>1, - menuTitle=>"Getting Started (part 2)", - url=>"getting_started/getting-started-part2", - ownerUserId=>'3', - groupIdView=>'7', - displayTitle=>0, - groupIdEdit=>'4', - description=>q| -

-For more information about services related to WebGUI click here. -

-

-Enjoy your new WebGUI site! -

-|, - templateId=>'PBtmpl0000000000000002' - }); - my $yns = WebGUI::Asset->new($session, "8Bb8gu-me2mhL3ljFyiWLg", "WebGUI::Asset::Wobject::Layout"); - my $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Talk to the Experts", - menuTitle=>"Talk to the Experts", - isHidden=>1, - url=>"yns/experts", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Plain Black® created the WebGUI Content Engine® and is here to answer your questions and provide you with services to make sure your WebGUI implementation is entirely successful. We bend over backwards to make sure you're a success. Contact us today to see how we can help you.

|, - templateId=>'PBtmpl0000000000000002' - }); - my $contentPositions = $asset->getId."."; - my $storage = WebGUI::Storage::Image->create($session); - $storage->addFileFromFilesystem("7fixup/book02.jpg"); - $storage->generateThumbnail("book02.jpg"); - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - title=>"Get Documentation", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - menuTitle=>"Get Documentation", - isHidden=>1, - storageId=>$storage->getId, - filename=>"book02.jpg", - url=>"yns/docs", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

WebGUI Done Right is the ultimate compendium to WebGUI. It is more than just documentation, it's also a library of hundreds of videos that show you exactly how to get stuff done. This is a must for anyone working in WebGUI, and Plain Black offers vast bulk discounts so you can give it to everyone in your organization.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId.","; - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Get Support", - menuTitle=>"Get Support", - isHidden=>1, - url=>"yns/support", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Plain Black provides support packages to fit any budget or need. Start out with online support which costs only $500 per year! And grow support as your needs grow. We build custom support packages to match our client's needs. And no matter what level of support you purchase, you get WebGUI Done Right included in your purchase.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId.","; - my $storage = WebGUI::Storage::Image->create($session); - $storage->addFileFromFilesystem("7fixup/server01.jpg"); - $storage->generateThumbnail("server01.jpg"); - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Get Hosting", - isHidden=>1, - storageId=>$storage->getId, - filename=>"server01.jpg", - menuTitle=>"Get Hosting", - url=>"yns/hosting", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Who better to host your WebGUI sites than Plain Black. Let us deal with upgrades, security, and server management. Doing so lets you focus on building your WebGUI site, which is where your time and expertise should be spent. And when you sign up with hosting, online support and WebGUI Done Right are both included!

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId."."; - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - title=>"Get Features", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - isHidden=>1, - menuTitle=>"Get Features", - url=>"yns/features", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

What's that you say? WebGUI's thousands of features are still missing some important ones? No problem, our professional development team can add any features you need for your site. We've built hundreds of custom apps for people. From simple macros, to custom single sign on systems, to applications that will manage your entire company, our team can do it.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId.","; - my $storage = WebGUI::Storage::Image->create($session); - $storage->addFileFromFilesystem("7fixup/profile01.jpg"); - $storage->generateThumbnail("profile01.jpg"); - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Get Style", - isHidden=>1, - storageId=>$storage->getId, - filename=>"profile01.jpg", - menuTitle=>"Get Style", - url=>"yns/style", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Not a designer? No problem! Plain Black's professional design team can make your site look great. Our team is fast, easy to work with, and can even migrate your existing content into your new WebGUI site.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId.","; - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - title=>"Get Translated", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - isHidden=>1, - menuTitle=>"Get Translated", - url=>"yns/translated", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Let our team of professional translators bring your site to new customers by translating your content into additional languages. Our translation services are never machine automated. They're always done by professional translators that have years of experience reading, writing, and speaking many languages.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId.","; - $asset = $yns->addChild({ - className=>"WebGUI::Asset::Wobject::Article", - styleTemplateId=>"stevestyle000000000003", - printableStyleTemplateId=>"stevestyle000000000003", - title=>"Get Promoted", - menuTitle=>"Get Promoted", - isHidden=>1, - url=>"yns/promotion", - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'4', - description=>q|

Now that you have a brilliant WebGUI site, you need to get people to visit it. We can help there too. Our marketing specialists can work with you to develop and execute the right combination of search engine placement, advertising buys, and affilliate programs to ensure your site gets the traffic it needs.

|, - templateId=>'PBtmpl0000000000000002' - }); - $contentPositions .= $asset->getId."."; - $yns->update({templateId=>"PBtmpl0000000000000094", contentPositions=>$contentPositions}); -} - -#------------------------------------------------- -sub deleteOldContent { - print "\tDeleting old content\n"; - foreach my $id (qw(PBtmpl0000000000000071 PBtmpl0000000000000075 f2bihDeMoI-Ojt2dutJNQA KZ2UytxNpbF-3Eg3RNvQQQ G0wlShbk_XruYVfbXqWq_w TKzUMeIxRLrZ3NAEez6CXQ sWVXMZGibxHe2Ekj1DCldA x_WjMvFmilhX-jvZuIpinw DC1etlIaBRQitXnchZKvUw wCIc38CvNHUK7aY92Ww4SQ)) { - my $asset = WebGUI::Asset->newByDynamicClass($session, $id); - $asset->purge if (defined $asset); - } -} - - -#------------------------------------------------- -sub addRobots { - print "\tAdding robots.txt file.\n"; - my $importNode = WebGUI::Asset->getImportNode($session); - $importNode->addChild({ - title=>"robots.txt", - menuTitle=>"robots.txt", - url=>"robots.txt", - groupIdView=>'7', - groupIdEdit=>'12', - className=>'WebGUI::Asset::Snippet', - assetId=>"new", - snippet=>'User-agent: googlebot -Disallow: *?op=displayLogin -Disallow: *?op=makePrintable -' - },"pbrobot000000000000001"); -} - - -#------------------------------------------------- -sub addNewStyles { - print "\tAdding new 7.0 styles.\n"; - my $assetCounter = 0; - my $import = WebGUI::Asset->getImportNode($session); - my $styleCounter = 0; - foreach my $style (qw(style1 style2 style3)) { - $styleCounter++; - print "\t\tStyle $styleCounter\n"; - opendir(DIR,"7fixup/".$style); - my @files = readdir(DIR); - closedir(DIR); - $assetCounter++; - my $folder = $import->addChild({ - styleTemplateId=>'PBtmpl0000000000000060', - className=>"WebGUI::Asset::Wobject::Folder", - title=>"WebGUI 7 Style ".$styleCounter, - menuTitle=>"WebGUI 7 Style ".$styleCounter, - url=>'root/import/webgui-7-style-'.$styleCounter, - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'12', - templateId=>'PBtmpl0000000000000078' - },"7.0-style".sprintf("%013d",$assetCounter)); - foreach my $file (@files) { - next if $file eq ".."; - next if $file eq "."; - next if $file eq ".svn"; - $assetCounter++; - print "\t\t\tAdding $file\n"; - if ($file =~ m/\.[png|jpg|gif]+$/) { - my $asset = $folder->addChild({ - className=>"WebGUI::Asset::File::Image", - title=>$file, - menuTitle=>$file, - url=>$style."/".$file, - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'12', - templateId=>'PBtmpl0000000000000088', - filename=>$file - },"7.0-style".sprintf("%013d",$assetCounter)); - $asset->getStorageLocation->addFileFromFilesystem("7fixup/".$style."/".$file); - $asset->getStorageLocation->generateThumbnail($file); - } elsif ($file =~ m/\.tmpl$/) { - open(FILE,"<7fixup/".$style."/".$file); - my $first = 1; - my $head = 0; - my %properties = (className=>"WebGUI::Asset::Template"); - while (my $line = ) { - if ($first) { - $line =~ m/^\#(.*)$/; - $properties{id} = $1; - $first = 0; - } elsif ($line =~ m/^\#create$/) { - } elsif ($line =~ m/^\#(.*):(.*)$/) { - $properties{$1} = $2; - } elsif ($line =~ m/^~~~$/) { - $head = 1; - } elsif ($head) { - $properties{headBlock} .= $line; - } else { - $properties{template} .= $line; - } - } - close(FILE); - my $template = $folder->addChild(\%properties, $properties{id}); - } elsif ($file =~ m/\.nav$/) { - open(FILE,"<"."7fixup/".$style."/".$file); - my %properties = (className=>"WebGUI::Asset::Wobject::Navigation", styleTemplateId=>'PBtmpl0000000000000060'); - while (my $line = ) { - if ($line =~ m/^\#(.*):(.*)$/) { - $properties{$1} = $2; - } - } - close(FILE); - $folder->addChild(\%properties, "7.0-style".sprintf("%013d",$assetCounter)); - } elsif ($file =~ m/\.snippet$/) { - open(FILE,"<7fixup/".$style."/".$file); - my $head = 1; - my %properties = (className=>"WebGUI::Asset::Snippet"); - while (my $line = ) { - if ($head && $line =~ m/^\#(\w+):(.*)$/) { - $properties{$1} = $2; - } else { - $head = 0; - $properties{snippet} .= $line; - } - } - close(FILE); - $folder->addChild(\%properties, "7.0-style".sprintf("%013d",$assetCounter)); - } - } - } - print "\t\tSetting all pages to use new style.\n"; - $session->db->write("update wobject set styleTemplateId='stevestyle000000000003' where styleTemplateId in ('B1bNjWVtzSjsvGZh9lPz_A','9tBSOV44a9JPS8CcerOvYw')"); - $session->setting->set("userFunctionStyleId","stevestyle000000000003"); - print "\t\tDeleting old styles.\n"; - my $asset = WebGUI::Asset->new($session,'9tBSOV44a9JPS8CcerOvYw'); - $asset->purge if defined $asset; - my $asset = WebGUI::Asset->new($session,'B1bNjWVtzSjsvGZh9lPz_A'); - $asset->purge if defined $asset; -} - -#------------------------------------------------- -sub rearrangeImportNode { - print "\tRearranging import node.\n"; - my @oldFolders = $session->db->buildArray("select assetId from asset where className='WebGUI::Asset::Wobject::Folder' and assetId<>'PBasset000000000000002'"); - my $import = WebGUI::Asset->getImportNode($session); - my $rs1 = $session->db->read("select distinct namespace from template order by namespace"); - while (my ($namespace) = $rs1->array) { - next if (isIn($namespace, qw(Matrix/Compare Matrix/Detail Matrix/RatingDetail Matrix/Search EventManagementSystem_checkout EventManagementSystem_product Collaboration/Notification Collaboration/PostForm Collaboration/RSS Collaboration/Search Collaboration/Thread EventsCalendar/Event Inbox/Message InOutBoard/Report StockData/Display Survey/Gradebook Survey/Overview Survey/Response Commerce/CheckoutCanceled Commerce/ConfirmCheckout Commerce/Product Commerce/SelectPaymentGateway Commerce/SelectShippingMethod Commerce/TransactionError Commerce/ViewPurchaseHistory Commerce/ViewShoppingCart DataForm/List))); - my $folder = $import->addChild({ - assetId=>"new", - styleTemplateId=>'PBtmpl0000000000000060', - className=>"WebGUI::Asset::Wobject::Folder", - title=>$namespace, - menuTitle=>$namespace, - url=>'root/import/'.$namespace, - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'12', - templateId=>'PBtmpl0000000000000078' - }); - my $rs2 = ""; - if (isIn($namespace, qw(Matrix EventManagementSystem Collaboration EventsCalendar Inbox InOutBoard StockData Survey DataForm))) { - $rs2 = $session->db->read("select assetId from template where namespace like ?",[$namespace.'%']); - } else { - $rs2 = $session->db->read("select assetId from template where namespace=?",[$namespace]); - } - while (my ($id) = $rs2->array) { - my $asset = WebGUI::Asset->new($session, $id, "WebGUI::Asset::Template"); - $asset->setParent($folder) if defined $asset; - } - if ($namespace eq "SyndicatedContent") { - foreach my $id (qw(SynConXSLT000000000001 SynConXSLT000000000002 SynConXSLT000000000003 SynConXSLT000000000004)) { - my $asset = WebGUI::Asset->new($session, $id, "WebGUI::Asset::Snippet"); - $asset->setParent($folder) if defined $asset; - } - } elsif ($namespace eq "Navigation") { - my $navFolder = WebGUI::Asset->new($session, "Wmjn6I1fe9DKhiIR39YC0g", "WebGUI::Asset::Wobject::Folder"); - foreach my $asset (@{$navFolder->getLineage(["children"],{returnObjects=>1})}) { - $asset->setParent($folder) if defined $asset; - } - } elsif ($namespace eq "Collaboration") { - foreach my $id (qw(pbproto000000000000001)) { - my $asset = WebGUI::Asset->new($session, $id, "WebGUI::Asset::Wobject::Collaboration"); - $asset->setParent($folder) if defined $asset; - } - } - } - my $folder = $import->addChild({ - assetId=>"new", - styleTemplateId=>'PBtmpl0000000000000060', - className=>"WebGUI::Asset::Wobject::Folder", - title=>'Commerce', - menuTitle=>'Commerce', - url=>'root/import/commerce', - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'12', - templateId=>'PBtmpl0000000000000078' - }); - foreach my $id (qw(PBtmpl0000000000000015 PBtmpl0000000000000016 PBtmplCP00000000000001 PBtmpl0000000000000017 PBtmplCSSM000000000001 PBtmpl0000000000000018 PBtmpl0000000000000019 PBtmplVSC0000000000001)) { - my $asset = WebGUI::Asset->new($session, $id, "WebGUI::Asset::Template"); - $asset->setParent($folder) if defined $asset; - } - my $folder = $import->addChild({ - assetId=>"new", - styleTemplateId=>'PBtmpl0000000000000060', - className=>"WebGUI::Asset::Wobject::Folder", - title=>'RichEdit', - menuTitle=>'RichEdit', - url=>'root/import/richedit', - ownerUserId=>'3', - groupIdView=>'7', - groupIdEdit=>'12', - templateId=>'PBtmpl0000000000000078' - }); - foreach my $id (qw(PBrichedit000000000001 PBrichedit000000000002)) { - my $asset = WebGUI::Asset->new($session, $id, "WebGUI::Asset::RichEdit"); - $asset->setParent($folder) if defined $asset; - } - foreach my $id (@oldFolders) { - my $folder = WebGUI::Asset->new($session, $id, "WebGUI::Asset::Wobject::Folder"); - $folder->purge if (defined $folder); - } -} - -#------------------------------------------------- -sub purgeOldRevisions { - print "\tGetting rid of the old cruft.\n"; - my $rs1 = $session->db->read("select assetId, className from asset"); - while (my ($id, $class) = $rs1->array) { - my $asset = WebGUI::Asset->new($session, $id, $class); - if (defined $asset) { - if ($asset->getRevisionCount > 1) { - my $rs2 = $session->db->read("select revisionDate from assetData where assetId=? and revisionDate<>?",[$id, $asset->get("revisionDate")]); - while (my ($version) = $rs2->array) { - my $old = WebGUI::Asset->new($session, $id, $class, $version); - $old->purgeRevision if defined $old; - } - } - } - } -} - -#------------------------------------------------- -sub addPrototypes { - print "\tAdding default prototypes to make finding things easier for noobs.\n"; - my $importNode = WebGUI::Asset->getImportNode($session); - $importNode->addChild({ - title=>"Photo Gallery", - menuTitle=>"Photo Gallery", - url=>"photo-gallery-prototype", - groupIdView=>'7', - groupIdEdit=>'12', - className=>'WebGUI::Asset::Wobject::Collaboration', - assetId=>"new", - allowReplies=>0, - attachmentsPerPost=>10, - isPrototype=>1, - usePreview=>0, - collaborationTemplateId=>"PBtmpl0000000000000121", - threadTemplateId=>"PBtmpl0000000000000067", - postFormTemplateId=>"PBtmpl0000000000000068" - },"pbproto000000000000001"); - $importNode->addChild({ - title=>"Request Tracker", - menuTitle=>"Request Tracker", - url=>"request-tracker-prototype", - groupIdView=>'7', - groupIdEdit=>'12', - className=>'WebGUI::Asset::Wobject::Collaboration', - assetId=>"new", - allowReplies=>1, - attachmentsPerPost=>10, - isPrototype=>1, - usePreview=>0, - archiveAfter=>60*60*24*30, - defaultKarmaScale=>100, - collaborationTemplateId=>"PBtmpl0000000000000208", - threadTemplateId=>"PBtmpl0000000000000209", - postFormTemplateId=>"PBtmpl0000000000000210" - },"pbproto000000000000002"); -} - - - -# ---- DO NOT EDIT BELOW THIS LINE ---- - -#------------------------------------------------- -sub start { - my $configFile; - $|=1; #disable output buffering - GetOptions( - 'configFile=s'=>\$configFile - ); - my $session = WebGUI::Session->open("../..",$configFile); - $session->user({userId=>3}); - return $session; -} - -#------------------------------------------------- -sub finish { - my $session = shift; - $session->close(); -} - diff --git a/docs/upgrades/7fixup/Tutorial.swf b/docs/upgrades/7fixup/Tutorial.swf deleted file mode 100644 index 4ee907495..000000000 Binary files a/docs/upgrades/7fixup/Tutorial.swf and /dev/null differ diff --git a/docs/upgrades/7fixup/advert01.swf b/docs/upgrades/7fixup/advert01.swf deleted file mode 100755 index 4297bf81c..000000000 Binary files a/docs/upgrades/7fixup/advert01.swf and /dev/null differ diff --git a/docs/upgrades/7fixup/book02.jpg b/docs/upgrades/7fixup/book02.jpg deleted file mode 100644 index b2d292216..000000000 Binary files a/docs/upgrades/7fixup/book02.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/profile01.jpg b/docs/upgrades/7fixup/profile01.jpg deleted file mode 100644 index 25c1266eb..000000000 Binary files a/docs/upgrades/7fixup/profile01.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/server01.jpg b/docs/upgrades/7fixup/server01.jpg deleted file mode 100644 index eee370287..000000000 Binary files a/docs/upgrades/7fixup/server01.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/body_bg.jpg b/docs/upgrades/7fixup/style1/body_bg.jpg deleted file mode 100644 index 4914841ae..000000000 Binary files a/docs/upgrades/7fixup/style1/body_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/css01.snippet b/docs/upgrades/7fixup/style1/css01.snippet deleted file mode 100644 index f5b6bf66e..000000000 --- a/docs/upgrades/7fixup/style1/css01.snippet +++ /dev/null @@ -1,228 +0,0 @@ -#title:css01.css -#menuTitle:css01.css -#url:style1/css01.css -#processAsTemplate:1 -#mimeType:text/css -body, html -{ - text-align:center; - margin:0px; - height:100%; - background-color:#494949; -} - -#main -{ - width:800px; - background: url('^FileUrl(style1/main_bg.jpg);') repeat-y; - height:100%; - margin-left:auto; - margin-right:auto; - margin-top:0px; - margin-bottom:0px; - position:relative; -} -body > #main -{ - height:auto; - min-height:100%; -} - -#main #mainHeader -{ - width:800px; - height:133px; - background: url('^FileUrl(style1/header.jpg);') top left no-repeat; - margin-bottom:0px; - position:relative; -} -#main #mainHeader #title -{ - position:absolute; - top:23px; - left:145px; - font-size:32pt; - font-family:arial; - color:white; - font-weight:bold; -} -#main #mainHeader #title a { - color:white; - text-decoration:none; -} - -#main #mainContent -{ - background: url('^FileUrl(style1/orange_left01.jpg);') left top no-repeat; - width:100%; - height:100%; - margin-top:0px; - text-align:left; - border:solid red 0px; -} -#main > #mainContent -{ - margin-top:0px; - min-height:500px; -} -#main > #mainContent > p { - margin-top:0px; -} -#main #mainContent #mainText a:link { - color:#FF7F23; -} -#main #mainContent #mainText a:visited { - color:#D25900; -} - -/* LEVEL 1 AND 2 NAVIGATION */ -#main .mainNav_1, #main .mainNav_2 { - border-bottom:dashed #DADADA 1px; - width:621px; - height:25px; - text-align:left; - position:relative; - margin-left:137px; - clear:both; -} -#main .mainNav_1 a:link, #main .mainNav_1 a:visited, #main .mainNav_2 a:link, #main .mainNav_2 a:visited { - color:white; - text-decoration:none; - top:5px; - position:relative; - -moz-box-sizing:border-box; -} -#main .mainNav_1 a:hover,#main .mainNav_2 a:hover { - color:black; -} -#main .mainNav_1 div .left, #main .mainNav_2 div .left { - width:12px; - height:25px; - display:block; - float:left; - background: url('^FileUrl(style1/nav1_off_left.jpg);') no-repeat top left; -} -#main .mainNav_2 div .left { - background: url('^FileUrl(style1/nav2_off_left.jpg);') no-repeat top left; -} -#main .mainNav_1 div .center, #main .mainNav_2 div .center { - height:25px; - display:block; - float:left; - background: url('^FileUrl(style1/nav1_off_center.jpg);') repeat-x top left; - color:white; - font-family:arial, verdana; - font-size:8pt; -} -#main .mainNav_2 div .center { - background: url('^FileUrl(style1/nav2_off_center.jpg);') repeat-x top left; -} -#main .mainNav_1 div .right, #main .mainNav_2 div .right { - width:10px; - height:25px; - display:block; - float:left; - background: url('^FileUrl(style1/nav1_off_right.jpg);') no-repeat top left; -} -#main .mainNav_2 div .right { - background: url('^FileUrl(style1/nav2_off_right.jpg);') no-repeat top left; -} -#main .mainNav_1 div.navOn .left { - background: url('^FileUrl(style1/nav1_on_left.jpg);') no-repeat top left; -} -#main .mainNav_1 div.navOn .center { - background: url('^FileUrl(style1/nav1_center_on.jpg);') repeat-x top left; -} -#main .mainNav_1 div.navOn .right { - background: url('^FileUrl(style1/nav1_on_right.jpg);') no-repeat top left; -} -#main .mainNav_2 div.navOn .left { - background: url('^FileUrl(style1/nav2_on_left.jpg);') no-repeat top left; -} -#main .mainNav_2 div.navOn .center { - background: url('^FileUrl(style1/nav2_center_on.jpg);') repeat-x top left; -} -#main .mainNav_2 div.navOn .right { - background: url('^FileUrl(style1/nav2_on_right.jpg);') no-repeat top left; -} -#main .mainNav_1 div.navOn a:link, #main .mainNav_1 div.navOn a:visited, #main .mainNav_2 div.navOn a:link, #main .mainNav_2 div.navOn a:visited { - color:black; -} -/* ENDOF LEVEL 1 AND 2 NAVIGATION */ - -#main #crumbTrail { - margin-left:177px; - margin-bottom:0px; - color:gray; - font-size:8pt; - font-weight:bold; -} -#main #crumbTrail a.crumbTrail:visited, #main #crumbTrail a.crumbTrail:link { - color:silver; - font-size:8pt; - font-family:arial; - text-decoration:none; - font-weight:normal; -} -#main #crumbTrail a.crumbTrail:hover { - color:gray; -} - -#main #mainText -{ - padding-left:150px; - font-family:verdana; - font-size:9pt; - width:600px; - margin-top:0px; -} - -#main #gui -{ - bottom:0px; - left:0px; - position:absolute; - width:135px; - font-size:8pt; - color:black; - font-family:arial; - text-align:right; -} -#main #gui .loginBox { - padding-right:12px; - -moz-box-sizing:border-box; - width:100px; - float:right; - margin-bottom:10px; -} -#main #gui .loginBox .loginBoxField { - width:75px; -} -#main #gui .loginBox .loginBoxButton { - background-color:#D65501; - color:white; - border:solid white 2px; - margin-top:4px; - font-variant:small-caps; -} -#main #gui a -{ - color:white; -} -#copyright { - color:#fff; - position:absolute; - top:110px; - right:40px; - font-family:verdana; - font-size:8pt; - font-weight:bold; - background-color:#2D2D2D; - opacity:0.4; - -moz-opacity:0.4; - -khtml-opacity:0.4; - padding:2px; -} -* html #copyright { - background: transparent; -} diff --git a/docs/upgrades/7fixup/style1/gui_bottom.jpg b/docs/upgrades/7fixup/style1/gui_bottom.jpg deleted file mode 100644 index d71f76f34..000000000 Binary files a/docs/upgrades/7fixup/style1/gui_bottom.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/header.jpg b/docs/upgrades/7fixup/style1/header.jpg deleted file mode 100644 index db12d23b5..000000000 Binary files a/docs/upgrades/7fixup/style1/header.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/main_bg.gif b/docs/upgrades/7fixup/style1/main_bg.gif deleted file mode 100644 index 446e06f95..000000000 Binary files a/docs/upgrades/7fixup/style1/main_bg.gif and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/main_bg.jpg b/docs/upgrades/7fixup/style1/main_bg.jpg deleted file mode 100644 index 7f0918ca2..000000000 Binary files a/docs/upgrades/7fixup/style1/main_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_center_on.jpg b/docs/upgrades/7fixup/style1/nav1_center_on.jpg deleted file mode 100644 index c21092d11..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_center_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_off.jpg b/docs/upgrades/7fixup/style1/nav1_off.jpg deleted file mode 100644 index 7fb5b4af8..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_off.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_off_center.jpg b/docs/upgrades/7fixup/style1/nav1_off_center.jpg deleted file mode 100644 index 75d90edbc..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_off_center.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_off_left.jpg b/docs/upgrades/7fixup/style1/nav1_off_left.jpg deleted file mode 100644 index 80612ed9d..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_off_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_off_right.jpg b/docs/upgrades/7fixup/style1/nav1_off_right.jpg deleted file mode 100644 index 5ed25c9c9..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_off_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_on.jpg b/docs/upgrades/7fixup/style1/nav1_on.jpg deleted file mode 100644 index 339d32105..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_on_left.jpg b/docs/upgrades/7fixup/style1/nav1_on_left.jpg deleted file mode 100644 index 7b7565ae8..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_on_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav1_on_right.jpg b/docs/upgrades/7fixup/style1/nav1_on_right.jpg deleted file mode 100644 index 490fba018..000000000 Binary files a/docs/upgrades/7fixup/style1/nav1_on_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_center_on.jpg b/docs/upgrades/7fixup/style1/nav2_center_on.jpg deleted file mode 100644 index e396d990e..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_center_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_off_center.jpg b/docs/upgrades/7fixup/style1/nav2_off_center.jpg deleted file mode 100644 index 527bd8696..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_off_center.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_off_left.jpg b/docs/upgrades/7fixup/style1/nav2_off_left.jpg deleted file mode 100644 index 4504f3494..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_off_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_off_right.jpg b/docs/upgrades/7fixup/style1/nav2_off_right.jpg deleted file mode 100644 index 5d9740625..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_off_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_on_left.jpg b/docs/upgrades/7fixup/style1/nav2_on_left.jpg deleted file mode 100644 index 6a4dbebe7..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_on_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav2_on_right.jpg b/docs/upgrades/7fixup/style1/nav2_on_right.jpg deleted file mode 100644 index ff1b99ee0..000000000 Binary files a/docs/upgrades/7fixup/style1/nav2_on_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav_bg.jpg b/docs/upgrades/7fixup/style1/nav_bg.jpg deleted file mode 100644 index 1a9d55865..000000000 Binary files a/docs/upgrades/7fixup/style1/nav_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/nav_on.jpg b/docs/upgrades/7fixup/style1/nav_on.jpg deleted file mode 100644 index 4f13ea659..000000000 Binary files a/docs/upgrades/7fixup/style1/nav_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/orange_left01.jpg b/docs/upgrades/7fixup/style1/orange_left01.jpg deleted file mode 100644 index 44a8ce9cd..000000000 Binary files a/docs/upgrades/7fixup/style1/orange_left01.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style1/roottab_level0.nav b/docs/upgrades/7fixup/style1/roottab_level0.nav deleted file mode 100644 index a1f07778b..000000000 --- a/docs/upgrades/7fixup/style1/roottab_level0.nav +++ /dev/null @@ -1,9 +0,0 @@ -#title:RootTab Level 0 -#menuTitle:RootTab Level 0 -#url:roottab_level0 -#startType:relativeToRoot -#startPoint:1 -#assetsToInclude:descendants -#descendantEndPoint:1 -#templateId:stevenav00000000000001 -#displayTitle:0 diff --git a/docs/upgrades/7fixup/style1/roottab_level1.nav b/docs/upgrades/7fixup/style1/roottab_level1.nav deleted file mode 100644 index e3d591580..000000000 --- a/docs/upgrades/7fixup/style1/roottab_level1.nav +++ /dev/null @@ -1,9 +0,0 @@ -#title:RootTab Level 1 -#menuTitle:RootTab Level 1 -#url:roottab_level1 -#startType:relativeToRoot -#startPoint:2 -#assetsToInclude:descendants -#descendantEndPoint:1 -#templateId:PBnav000000style01lvl2 -#displayTitle:0 diff --git a/docs/upgrades/7fixup/style1/style01.tmpl b/docs/upgrades/7fixup/style1/style01.tmpl deleted file mode 100644 index 026db16c1..000000000 --- a/docs/upgrades/7fixup/style1/style01.tmpl +++ /dev/null @@ -1,54 +0,0 @@ -#stevestyle000000000001 -#title:Style 01 -#menuTitle:Style 01 -#url:style_01 -#namespace:style - - - - ^Page(title); - - - - - - - ^AdminBar(); -
-
-
- ^H(^c();); -
- - -
- -
- -
- -
- ^AssetProxy(crumbtrail); -
-
 
-
- -
-
 
-
- -
- ^L("","","PBtmpl0000000000000044"); -
^AdminToggle;
- ^AssetProxy(style1/gui_bottom.jpg);
- WebGUI Button -
-
- - diff --git a/docs/upgrades/7fixup/style1/style01_nav.tmpl b/docs/upgrades/7fixup/style1/style01_nav.tmpl deleted file mode 100644 index 3a4625033..000000000 --- a/docs/upgrades/7fixup/style1/style01_nav.tmpl +++ /dev/null @@ -1,29 +0,0 @@ -#stevenav00000000000001 -#title:Style 01 Nav -#menuTitle:Style 01 Nav -#url:style1_nav -#namespace:Navigation - -

-
- - -

-
- - - - - -        - - class="navOn" class="navOn"> -   - - onclick="window.open('')" href="#" href=""> - -   - - - -
diff --git a/docs/upgrades/7fixup/style1/style01_nav_lvl2.tmpl b/docs/upgrades/7fixup/style1/style01_nav_lvl2.tmpl deleted file mode 100644 index ddf24ddc3..000000000 --- a/docs/upgrades/7fixup/style1/style01_nav_lvl2.tmpl +++ /dev/null @@ -1,29 +0,0 @@ -#PBnav000000style01lvl2 -#title:Style 01 Nav lvl2 -#menutitle:Style 01 Nav lvl2 -#url:style1_nav_lvl2 -#namespace:Navigation - -

-
- - -

-
- - - - - -        - - - class="navOn" class="navOn"> -   - - onclick="window.open('')" href="#" href=""> - -   - - - diff --git a/docs/upgrades/7fixup/style1/webgui_btn.jpg b/docs/upgrades/7fixup/style1/webgui_btn.jpg deleted file mode 100644 index 58fa3e880..000000000 Binary files a/docs/upgrades/7fixup/style1/webgui_btn.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/context_bg.jpg b/docs/upgrades/7fixup/style2/context_bg.jpg deleted file mode 100644 index 313b90a2b..000000000 Binary files a/docs/upgrades/7fixup/style2/context_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/css02.snippet b/docs/upgrades/7fixup/style2/css02.snippet deleted file mode 100644 index 132de7aa4..000000000 --- a/docs/upgrades/7fixup/style2/css02.snippet +++ /dev/null @@ -1,141 +0,0 @@ -#title:css02.css -#menuTitle:css02.css -#url:style2/css02.css -#mimeType:text/css -body, html { - height:100%; -} -body { - background:#7c9ab0 url('^FileUrl(style2/main_bg.jpg);') repeat-y right; - margin:0px; -} -.rightColumn { - width:20%; - height:100%; - background: #eeeeee url('^FileUrl(style2/rightCol_bg.jpg);') repeat-y right; - text-align:center; -} -.rightColumn #pb_wg_bg { - background: url('^FileUrl(style2/pb_wg_bg.jpg);') repeat-x; - width:100%; - text-align:left; -} -.rightColumn #pb_wg { - background: url('^FileUrl(style2/pb_wg.jpg);') left no-repeat; - height:53px; -} -.leftColumn { - width:80%; - background: white url('^FileUrl(style2/context_bg.jpg);') repeat-y right; -} -.leftColumn #header { - width:100%; - background:#7c9ab0 url('^FileUrl(style2/leftCol_header.jpg);') right no-repeat; - height:86px; - position:relative; -} -.leftColumn #header #title, .leftColumn #header #title_bg { - color:white; - font-size:36pt; - font-weight:bold; - font-family:arial; - font-variant:small-caps; - letter-spacing:12px; - top:15px; - left:5px; - position:absolute; - z-index:10; -} -.leftColumn #header #title a { - color:white; - text-decoration:none; -} -.leftColumn #header #title_bg { - color:black; - z-index:5; - top:17px; - left:7px; -} -.leftColumn #context { - /*background: #fff url('^FileUrl(style2/context_bg.jpg);') repeat-y right; */ - width:95%; - font-family:verdana; - font-size:9pt; - color:#242424; - -moz-box-sizing:border-box; - position:relative; - padding-left:1%; - padding-right:1%; - padding-bottom:15px; -} -.leftColumn #context a { - color:#7C9AB0; - font-weight:bold; -} -.leftColumn #context a:hover { - text-decoration:none; -} -.leftColumn #pageTitleBG { - background: url('^FileUrl(style2/page_title_bg.jpg);') repeat-x; - width:100%; -} -.leftColumn #pageTitleBG #pageTitle { - background: url('^FileUrl(style2/page_title.jpg);') right no-repeat; - width:100%; - height:50px; -} -.leftColumn #pageTitleBG #pageTitle h2 { - font-size:14pt; - color:#696969; - font-family:arial; - font-weight:normal; - margin:0px; - padding-top:2px; - padding-left:25px; - letter-spacing:3px; -} -.rightColumn #nav { - width:85%; - background: #b5b5b5 url('^FileUrl(style2/nav_bg.jpg);') repeat-x top; - border-right:solid #848484 1px; - margin-left:auto; - margin-right:auto; - text-align:left; - padding-left:3px; - padding-top:7px; - padding-bottom:7px; -} -.rightColumn #nav a { - color:white; - font-size:8pt; - font-weight:bold; - text-decoration:none; - font-family:arial; - line-height:8pt; -} -.rightColumn #nav .selectedMenuItem { - color:yellow; -} -#loginStyles { - font-size:8pt; - font-family:arial; - padding-bottom:25px; -} -#loginStyles a { - color:#89ACCF; - font-weight:bold; - border-bottom:solid transparent 2px; - text-decoration:none; -} -#loginStyles a:hover { - border-bottom:dotted #B2C9D9 2px; -} - -.copyright { - border-top:solid silver 3px; - background-color:gray; - font-family:arial; - font-size:9pt; - color:silver; - text-align:center; -} diff --git a/docs/upgrades/7fixup/style2/leftCol_header.jpg b/docs/upgrades/7fixup/style2/leftCol_header.jpg deleted file mode 100644 index 3f34351fc..000000000 Binary files a/docs/upgrades/7fixup/style2/leftCol_header.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/leftCol_header02.jpg b/docs/upgrades/7fixup/style2/leftCol_header02.jpg deleted file mode 100644 index 35321f864..000000000 Binary files a/docs/upgrades/7fixup/style2/leftCol_header02.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/main_bg.jpg b/docs/upgrades/7fixup/style2/main_bg.jpg deleted file mode 100644 index 7f15af881..000000000 Binary files a/docs/upgrades/7fixup/style2/main_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/nav_bg.jpg b/docs/upgrades/7fixup/style2/nav_bg.jpg deleted file mode 100644 index 91cd184c0..000000000 Binary files a/docs/upgrades/7fixup/style2/nav_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/navbar_bg.jpg b/docs/upgrades/7fixup/style2/navbar_bg.jpg deleted file mode 100644 index f169e67e2..000000000 Binary files a/docs/upgrades/7fixup/style2/navbar_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/navbar_left.jpg b/docs/upgrades/7fixup/style2/navbar_left.jpg deleted file mode 100644 index 141cac1b5..000000000 Binary files a/docs/upgrades/7fixup/style2/navbar_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/navbar_right.jpg b/docs/upgrades/7fixup/style2/navbar_right.jpg deleted file mode 100644 index d56c344d3..000000000 Binary files a/docs/upgrades/7fixup/style2/navbar_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/page_title.jpg b/docs/upgrades/7fixup/style2/page_title.jpg deleted file mode 100644 index 8b8159f80..000000000 Binary files a/docs/upgrades/7fixup/style2/page_title.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/page_title_bg.jpg b/docs/upgrades/7fixup/style2/page_title_bg.jpg deleted file mode 100644 index 6c5bc2704..000000000 Binary files a/docs/upgrades/7fixup/style2/page_title_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/pb.jpg b/docs/upgrades/7fixup/style2/pb.jpg deleted file mode 100644 index a36042610..000000000 Binary files a/docs/upgrades/7fixup/style2/pb.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/pb_wg.jpg b/docs/upgrades/7fixup/style2/pb_wg.jpg deleted file mode 100644 index 2c39edba4..000000000 Binary files a/docs/upgrades/7fixup/style2/pb_wg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/pb_wg_bg.jpg b/docs/upgrades/7fixup/style2/pb_wg_bg.jpg deleted file mode 100644 index 6f2b9d39e..000000000 Binary files a/docs/upgrades/7fixup/style2/pb_wg_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/rightCol_bg.jpg b/docs/upgrades/7fixup/style2/rightCol_bg.jpg deleted file mode 100644 index ea942b239..000000000 Binary files a/docs/upgrades/7fixup/style2/rightCol_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style2/style02.tmpl b/docs/upgrades/7fixup/style2/style02.tmpl deleted file mode 100644 index 8cc4076b7..000000000 --- a/docs/upgrades/7fixup/style2/style02.tmpl +++ /dev/null @@ -1,69 +0,0 @@ -#stevestyle000000000002 -#title:Style 02 -#menuTitle:Style 02 -#url:style_02 -#namespace:style - - - - - - ^c; - ^Page(title); - - - - - -^AdminBar(); - - - - - - - - -
- -
-

^Page(title);

-
-
-
- -
-
-
-
- plain blackwebgui
-
-
-
- - - - - -
- - - - - - -
-
- ^L("","","PBtmpl0000000000000044"); - ^AdminToggle; -
-
- - - diff --git a/docs/upgrades/7fixup/style2/wg.jpg b/docs/upgrades/7fixup/style2/wg.jpg deleted file mode 100644 index d4c77ff9c..000000000 Binary files a/docs/upgrades/7fixup/style2/wg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/coolmenu.tmpl b/docs/upgrades/7fixup/style3/coolmenu.tmpl deleted file mode 100644 index 9dc794532..000000000 --- a/docs/upgrades/7fixup/style3/coolmenu.tmpl +++ /dev/null @@ -1,254 +0,0 @@ -#stevecoolmenu000000001 -#title:Newer Coolmenu -#menuTitle:Newer Coolmenu -#url:newer-coolmenu -#namespace:Navigation - -

-
- - -

-
- - - - - - - -~~~ - - diff --git a/docs/upgrades/7fixup/style3/css03.snippet b/docs/upgrades/7fixup/style3/css03.snippet deleted file mode 100644 index 57a029dde..000000000 --- a/docs/upgrades/7fixup/style3/css03.snippet +++ /dev/null @@ -1,154 +0,0 @@ -#title:css03.css -#menuTitle:css03.css -#url:style3/css03.css -#mimeType:text/css -body, html { - margin:0px; - background-color:#b53018; - padding:0px; -} -#main { - width:98%; - /*min-width:790px;*/ - margin:0px; - padding:0px; - padding-top:20px; - padding-bottom:20px; - position:relative; -} -#header { - background: url('^FileUrl(style3/header_bg.jpg);') repeat-x; - width:100%; - margin:0px; - height:115px; -} -#headerTitle { - background: url('^FileUrl(style3/header_left.jpg);') no-repeat left top; - height:100%; - width:100%; -} -#headerRight { - background: url('^FileUrl(style3/header_right.jpg);') no-repeat right top; - width:100%; - height:100%; - text-align:right; - position:relative; -} -#headerRight #title { - position:absolute; - top:25px; - left:20px; - font-family:arial; - text-align:left; -} -#title h1 { - text-transform:uppercase; - margin-bottom:0px; - font-weight:normal; - font-size:26pt; - margin-top:0px; - color:white; -} -#title h1 a { - color:white; - text-decoration:none; -} -#title h2 { - margin:0px; - font-size:12pt; - color:#bebebe; - padding-left:20px; -} -#title img { - z-index:5; -} -#login { - position:absolute; - font-size:8pt; - top:45%; - right:150px; - color:white; - z-index:6; - font-family:arial; -} -#login a { - color:white; -} -.loginBox { - font-size:8pt; - margin:0px; - display:inline; -} -.loginBox input { - font-size:8pt; -} - -#mainBody { - width:100%; - margin:0px; - height:500px; - background: #fff; - position:relative; -} -#main > #mainBody { - height:auto; - min-height:500px; -} -#contentArea { - z-index:2; - position:relative; - padding-top:50px; - padding-left:10px; - padding-right:20px; - padding-bottom:20px; - -moz-box-sizing:border:box; - font-family:verdana; - font-size:9pt; - -} -html #main #mainBody #contentArea { - height:1%; -} -#contentArea a { - color:#EE963E; - font-weight:bold; - letter-spacing:1px; - font-size:8pt; -} -#topCorner { - width:100%; - height:214px; - position:absolute; - top:0px; - left:0px; - background: url('^FileUrl(style3/main_top_bg.jpg);') repeat-x; - z-index:1; -} -#bottomCorner { - width:100%; - height:211px; - position:absolute; - bottom:0px; - right:0px; - background: url('^FileUrl(style3/main_bottom.jpg);') no-repeat right; - z-index:1; -} - -#footer { - width:100%; - margin:0px; - background:#000 url('^FileUrl(style3/footer_right.jpg);') no-repeat right top; - height:57px; - border-top:solid #B53018 2px; - text-align:right; - position:relative; -} -#footer #copyright { - color:#3b3b3b; - font-family:arial; - position:absolute; - top:20px; - left:30px; - font-size:8pt; -} - diff --git a/docs/upgrades/7fixup/style3/footer_bg.jpg b/docs/upgrades/7fixup/style3/footer_bg.jpg deleted file mode 100644 index dbb64acdd..000000000 Binary files a/docs/upgrades/7fixup/style3/footer_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/footer_right.jpg b/docs/upgrades/7fixup/style3/footer_right.jpg deleted file mode 100644 index 1bd826eb1..000000000 Binary files a/docs/upgrades/7fixup/style3/footer_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/header_bg.jpg b/docs/upgrades/7fixup/style3/header_bg.jpg deleted file mode 100644 index 294af4a9a..000000000 Binary files a/docs/upgrades/7fixup/style3/header_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/header_left.jpg b/docs/upgrades/7fixup/style3/header_left.jpg deleted file mode 100644 index 1230e9a9e..000000000 Binary files a/docs/upgrades/7fixup/style3/header_left.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/header_right.jpg b/docs/upgrades/7fixup/style3/header_right.jpg deleted file mode 100644 index 07c308b62..000000000 Binary files a/docs/upgrades/7fixup/style3/header_right.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/main_bg.jpg b/docs/upgrades/7fixup/style3/main_bg.jpg deleted file mode 100644 index 40198f287..000000000 Binary files a/docs/upgrades/7fixup/style3/main_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/main_bottom.jpg b/docs/upgrades/7fixup/style3/main_bottom.jpg deleted file mode 100644 index 95363ab5c..000000000 Binary files a/docs/upgrades/7fixup/style3/main_bottom.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/main_top.jpg b/docs/upgrades/7fixup/style3/main_top.jpg deleted file mode 100644 index 1c83396e0..000000000 Binary files a/docs/upgrades/7fixup/style3/main_top.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/main_top_bg.jpg b/docs/upgrades/7fixup/style3/main_top_bg.jpg deleted file mode 100644 index 8f22315f0..000000000 Binary files a/docs/upgrades/7fixup/style3/main_top_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg.jpg b/docs/upgrades/7fixup/style3/nav_bg.jpg deleted file mode 100644 index 2bb03a39c..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg1.jpg b/docs/upgrades/7fixup/style3/nav_bg1.jpg deleted file mode 100644 index e23cec093..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg1.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg1_on.jpg b/docs/upgrades/7fixup/style3/nav_bg1_on.jpg deleted file mode 100644 index 3c2fa89b1..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg1_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg2.jpg b/docs/upgrades/7fixup/style3/nav_bg2.jpg deleted file mode 100644 index 617888ce6..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg2.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg2_on.jpg b/docs/upgrades/7fixup/style3/nav_bg2_on.jpg deleted file mode 100644 index 333cd1bc4..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg2_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/nav_bg_on.jpg b/docs/upgrades/7fixup/style3/nav_bg_on.jpg deleted file mode 100644 index b0a34cd6e..000000000 Binary files a/docs/upgrades/7fixup/style3/nav_bg_on.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/pb.jpg b/docs/upgrades/7fixup/style3/pb.jpg deleted file mode 100644 index cb309116c..000000000 Binary files a/docs/upgrades/7fixup/style3/pb.jpg and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/spacer.gif b/docs/upgrades/7fixup/style3/spacer.gif deleted file mode 100644 index 5bfd67a2d..000000000 Binary files a/docs/upgrades/7fixup/style3/spacer.gif and /dev/null differ diff --git a/docs/upgrades/7fixup/style3/style03.tmpl b/docs/upgrades/7fixup/style3/style03.tmpl deleted file mode 100644 index c5230ea13..000000000 --- a/docs/upgrades/7fixup/style3/style03.tmpl +++ /dev/null @@ -1,55 +0,0 @@ -#stevestyle000000000003 -#title:Style 03 -#menuTitle:Style 03 -#url:style_03 -#namespace:style - - - - - - - - ^c; - ^Page(title); - - - -^AdminBar(); - -^AssetProxy(style3_coolmenu); - -
- - -
-
- -
-
- ^AssetProxy(style3/main_top.jpg); -
-
-
- - -
- - - - diff --git a/docs/upgrades/7fixup/style3/style3_coolmenu.nav b/docs/upgrades/7fixup/style3/style3_coolmenu.nav deleted file mode 100644 index dd3c0b06b..000000000 --- a/docs/upgrades/7fixup/style3/style3_coolmenu.nav +++ /dev/null @@ -1,10 +0,0 @@ -#title:Style3 Coolmenu -#menuTitle:Style3 Coolmenu -#url:style3_coolmenu -#startType:relativeToRoot -#startPoint:1 -#assetsToInclude:descendants -#descendantEndPoint:55 -#displayTitle:0 -#ancestorEndPoint:55 -#templateId:stevecoolmenu000000001 diff --git a/docs/upgrades/7fixup/style3/wg.jpg b/docs/upgrades/7fixup/style3/wg.jpg deleted file mode 100644 index 4563b73e9..000000000 Binary files a/docs/upgrades/7fixup/style3/wg.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/bg.gif b/www/extras/styles/webgui6/bg.gif deleted file mode 100644 index 1b17d4722..000000000 Binary files a/www/extras/styles/webgui6/bg.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/content_bg_clouds.jpg b/www/extras/styles/webgui6/content_bg_clouds.jpg deleted file mode 100644 index 0cd77170e..000000000 Binary files a/www/extras/styles/webgui6/content_bg_clouds.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/content_bg_corner_left_top.jpg b/www/extras/styles/webgui6/content_bg_corner_left_top.jpg deleted file mode 100644 index 53bb9bb59..000000000 Binary files a/www/extras/styles/webgui6/content_bg_corner_left_top.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/content_bg_left.jpg b/www/extras/styles/webgui6/content_bg_left.jpg deleted file mode 100644 index 52d48eac5..000000000 Binary files a/www/extras/styles/webgui6/content_bg_left.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/content_bg_right.jpg b/www/extras/styles/webgui6/content_bg_right.jpg deleted file mode 100644 index 11b17056f..000000000 Binary files a/www/extras/styles/webgui6/content_bg_right.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/date_bg_left.jpg b/www/extras/styles/webgui6/date_bg_left.jpg deleted file mode 100644 index 8762ce087..000000000 Binary files a/www/extras/styles/webgui6/date_bg_left.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/date_right_bg.jpg b/www/extras/styles/webgui6/date_right_bg.jpg deleted file mode 100644 index b4b57377b..000000000 Binary files a/www/extras/styles/webgui6/date_right_bg.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/date_right_shadow.gif b/www/extras/styles/webgui6/date_right_shadow.gif deleted file mode 100644 index 274e43db2..000000000 Binary files a/www/extras/styles/webgui6/date_right_shadow.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/footer.jpg b/www/extras/styles/webgui6/footer.jpg deleted file mode 100644 index 2bbe87473..000000000 Binary files a/www/extras/styles/webgui6/footer.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/hdr_bg_center.jpg b/www/extras/styles/webgui6/hdr_bg_center.jpg deleted file mode 100644 index 6db428437..000000000 Binary files a/www/extras/styles/webgui6/hdr_bg_center.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/hdr_bg_corner_left.jpg b/www/extras/styles/webgui6/hdr_bg_corner_left.jpg deleted file mode 100644 index 4dccb10be..000000000 Binary files a/www/extras/styles/webgui6/hdr_bg_corner_left.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/hdr_bg_corner_right.jpg b/www/extras/styles/webgui6/hdr_bg_corner_right.jpg deleted file mode 100644 index 920329407..000000000 Binary files a/www/extras/styles/webgui6/hdr_bg_corner_right.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/icon_email.gif b/www/extras/styles/webgui6/icon_email.gif deleted file mode 100644 index f63ccb74b..000000000 Binary files a/www/extras/styles/webgui6/icon_email.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/icon_home.gif b/www/extras/styles/webgui6/icon_home.gif deleted file mode 100644 index f750abef7..000000000 Binary files a/www/extras/styles/webgui6/icon_home.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/icon_pb.gif b/www/extras/styles/webgui6/icon_pb.gif deleted file mode 100644 index 2fc5c82b0..000000000 Binary files a/www/extras/styles/webgui6/icon_pb.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/icon_print.gif b/www/extras/styles/webgui6/icon_print.gif deleted file mode 100644 index 771f41af8..000000000 Binary files a/www/extras/styles/webgui6/icon_print.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/icon_site_map.gif b/www/extras/styles/webgui6/icon_site_map.gif deleted file mode 100644 index d0e41878d..000000000 Binary files a/www/extras/styles/webgui6/icon_site_map.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_cd.gif b/www/extras/styles/webgui6/img_cd.gif deleted file mode 100644 index 90248955a..000000000 Binary files a/www/extras/styles/webgui6/img_cd.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_hands.jpg b/www/extras/styles/webgui6/img_hands.jpg deleted file mode 100644 index 074ce4795..000000000 Binary files a/www/extras/styles/webgui6/img_hands.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/img_hosting.gif b/www/extras/styles/webgui6/img_hosting.gif deleted file mode 100644 index eb05bc52f..000000000 Binary files a/www/extras/styles/webgui6/img_hosting.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_look_great.gif b/www/extras/styles/webgui6/img_look_great.gif deleted file mode 100644 index 94f769b56..000000000 Binary files a/www/extras/styles/webgui6/img_look_great.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_manual.gif b/www/extras/styles/webgui6/img_manual.gif deleted file mode 100644 index 04b1afb1d..000000000 Binary files a/www/extras/styles/webgui6/img_manual.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_talk_to_experts.gif b/www/extras/styles/webgui6/img_talk_to_experts.gif deleted file mode 100644 index ea81d40d7..000000000 Binary files a/www/extras/styles/webgui6/img_talk_to_experts.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/img_tech_support.gif b/www/extras/styles/webgui6/img_tech_support.gif deleted file mode 100644 index b1d9f1619..000000000 Binary files a/www/extras/styles/webgui6/img_tech_support.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/lnav_shadow.jpg b/www/extras/styles/webgui6/lnav_shadow.jpg deleted file mode 100644 index 8a17c67a6..000000000 Binary files a/www/extras/styles/webgui6/lnav_shadow.jpg and /dev/null differ diff --git a/www/extras/styles/webgui6/logo_pb.gif b/www/extras/styles/webgui6/logo_pb.gif deleted file mode 100644 index 99a15ccba..000000000 Binary files a/www/extras/styles/webgui6/logo_pb.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/powered_by_aqua_blue.gif b/www/extras/styles/webgui6/powered_by_aqua_blue.gif deleted file mode 100644 index 3bd5d3055..000000000 Binary files a/www/extras/styles/webgui6/powered_by_aqua_blue.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/txt_the_last.gif b/www/extras/styles/webgui6/txt_the_last.gif deleted file mode 100644 index 92c3477e3..000000000 Binary files a/www/extras/styles/webgui6/txt_the_last.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/wg_box_bottom.gif b/www/extras/styles/webgui6/wg_box_bottom.gif deleted file mode 100644 index c723782cb..000000000 Binary files a/www/extras/styles/webgui6/wg_box_bottom.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/wg_box_top.gif b/www/extras/styles/webgui6/wg_box_top.gif deleted file mode 100644 index 5164de47e..000000000 Binary files a/www/extras/styles/webgui6/wg_box_top.gif and /dev/null differ diff --git a/www/extras/styles/webgui6/wg_logo.gif b/www/extras/styles/webgui6/wg_logo.gif deleted file mode 100644 index a6874ff88..000000000 Binary files a/www/extras/styles/webgui6/wg_logo.gif and /dev/null differ