- Renamed layout asset to page.
- CS Post reply URLs are now shortened to an incremented reply number. - Added a Rich Editor Configuration asset.
This commit is contained in:
parent
923e99ccf2
commit
959872102e
8 changed files with 226 additions and 66 deletions
|
|
@ -5,6 +5,7 @@ use File::Path;
|
|||
use Getopt::Long;
|
||||
use strict;
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::Asset::Template;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::SQL;
|
||||
|
||||
|
|
@ -192,6 +193,15 @@ WebGUI::SQL->write("insert into settings values ('commerceViewShoppingCartTempla
|
|||
print "\tAdding product managers group\n" unless ($quiet);
|
||||
WebGUI::SQL->write("insert into groups (groupId, groupName, description) values (14, 'Product Managers', 'The group that is allowed to edit, delete and create products.')");
|
||||
|
||||
#--------------------------------------------
|
||||
print "\tRemoving rich editor templates.\n" unless ($quiet);
|
||||
my $sth = WebGUI::SQL->read("select assetId from template where namespace='richEditor'");
|
||||
while (my ($assetId) = $sth->array) {
|
||||
my $asset = WebGUI::Asset::Template->new($assetId);
|
||||
$asset->purge;
|
||||
}
|
||||
$sth->finish;
|
||||
|
||||
|
||||
WebGUI::Session::close();
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ alter table transaction add column shippingStatus varchar(15) default 'NotShippe
|
|||
alter table transaction add column trackingNumber varchar(255);
|
||||
create table RichEdit (
|
||||
assetId varchar(22) not null primary key,
|
||||
templateId varchar(22) not null default 'PBtmpl0000000000000180',
|
||||
askAboutRichEdit int not null default 0,
|
||||
preformated int not null default 0,
|
||||
editorWidth int not null default 0,
|
||||
|
|
@ -58,12 +57,14 @@ create table RichEdit (
|
|||
sourceEditorWidth int not null default 0,
|
||||
sourceEditorHeight int not null default 0,
|
||||
useBr int not null default 0,
|
||||
nowrap int not null default 0,
|
||||
convertNewLinesToBr int not null default 0,
|
||||
removeLineBreaks int not null default 0,
|
||||
npwrap int not null default 0,
|
||||
directionality varchar(3) not null default 'ltr',
|
||||
toolbarLocation varchar(6) not null default 'bottom',
|
||||
cssFile varchar(255),
|
||||
extendedValidElements text,
|
||||
toolbarRow1 text,
|
||||
toolbarRow2 text,
|
||||
toolbarRow3 text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue