bug fixes

This commit is contained in:
JT Smith 2005-12-03 04:38:49 +00:00
parent ee1fa052af
commit f2c8d4eed5
2 changed files with 11 additions and 9 deletions

View file

@ -821,6 +821,11 @@ sub addInOutBoard {
dateStamp int not null,
message text
)");
WebGUI::SQL->write("create table InOutBoard_delegates (
userId varchar(22) binary not null,
delegateUserId varchar(22) binary not null,
assetId varchar(22) binary not null
)");
WebGUI::SQL->write("insert into userProfileField (fieldName,fieldLabel,visible,dataType,dataValues,dataDefault,sequenceNumber,profileCategoryId,editable) values ('department',".quote("'Department'").",1,'selectList',".quote("{'IT'=>'IT','HR'=>'HR','Regular Staff'=>'Regular Staff'}").",".quote("['Regular Staff']").",8,'6',1)");
my $import = WebGUI::Asset->getImportNode;
my $folder = $import->addChild({

View file

@ -131,6 +131,12 @@ assets = WebGUI::Asset::Snippet, \
WebGUI::Asset::Wobject::SyndicatedContent, \
WebGUI::Asset::Wobject::WSClient
# Specify the list assets that are used for utility purposes only
# and are not typically used as a normal part of content
# management.
utilityAssets = WebGUI::Asset::Template, WebGUI::Asset::RichEdit, WebGUI::Asset::File::Image, WebGUI::Asset::File
# Specify the list of assets you want to appear in your add
# content menus that should act as containers for other content.
# These items are typically not content themselves, but rather
@ -139,15 +145,6 @@ assets = WebGUI::Asset::Snippet, \
assetContainers = WebGUI::Asset::Wobject::Layout, \
WebGUI::Asset::Wobject::Folder
# Specify the list assets that are used for utility purposes only
# and are not typically used as a normal part of content
# management.
utilityAssets = WebGUI::Asset::Template, \
WebGUI::Asset::RichEdit, \
WebGUI::Asset::File::Image, \
WebGUI::Asset::File
# Optionally specify a group id for assets to tell WebGUI what
# group a user needs to be part of in order to add that type of
# asset.