bug fixes
This commit is contained in:
parent
ee1fa052af
commit
f2c8d4eed5
2 changed files with 11 additions and 9 deletions
|
|
@ -821,6 +821,11 @@ sub addInOutBoard {
|
||||||
dateStamp int not null,
|
dateStamp int not null,
|
||||||
message text
|
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)");
|
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 $import = WebGUI::Asset->getImportNode;
|
||||||
my $folder = $import->addChild({
|
my $folder = $import->addChild({
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,12 @@ assets = WebGUI::Asset::Snippet, \
|
||||||
WebGUI::Asset::Wobject::SyndicatedContent, \
|
WebGUI::Asset::Wobject::SyndicatedContent, \
|
||||||
WebGUI::Asset::Wobject::WSClient
|
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
|
# Specify the list of assets you want to appear in your add
|
||||||
# content menus that should act as containers for other content.
|
# content menus that should act as containers for other content.
|
||||||
# These items are typically not content themselves, but rather
|
# These items are typically not content themselves, but rather
|
||||||
|
|
@ -139,15 +145,6 @@ assets = WebGUI::Asset::Snippet, \
|
||||||
assetContainers = WebGUI::Asset::Wobject::Layout, \
|
assetContainers = WebGUI::Asset::Wobject::Layout, \
|
||||||
WebGUI::Asset::Wobject::Folder
|
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
|
# 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
|
# group a user needs to be part of in order to add that type of
|
||||||
# asset.
|
# asset.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue