upgraded to tinymce 2.0.1

This commit is contained in:
JT Smith 2005-12-05 05:28:30 +00:00
parent 586e1a00fa
commit 75acc465b0
891 changed files with 16251 additions and 18835 deletions

View file

@ -1,3 +1,7 @@
6.8.1
- Upgraded TinyMCE to 2.0.1, which allows the rich editor to work with
Firefox 1.5.
6.8.0
- Switched Date::Manip to DateTime for better performance and more
functionality. See gotchas for details. In our benchmarks DateTime runs

View file

@ -0,0 +1,55 @@
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2005 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use lib "../../lib";
use strict;
use Getopt::Long;
use WebGUI::Session;
use File::Path;
my $toVersion = "6.8.1"; # make this match what version you're going to
my $quiet; # this line required
start(); # this line required
upgradeRichEditor();
finish(); # this line required
#-------------------------------------------------
sub upgradeRichEditor {
print "\tUpgrade rich editor\n" unless ($quiet);
rmtree("../../www/extras/tinymce");
}
# ---- DO NOT EDIT BELOW THIS LINE ----
#-------------------------------------------------
sub start {
my $configFile;
$|=1; #disable output buffering
GetOptions(
'configFile=s'=>\$configFile,
'quiet'=>\$quiet
);
WebGUI::Session::open("../..",$configFile);
WebGUI::Session::refreshUserInfo(3);
WebGUI::SQL->write("insert into webguiVersion values (".quote($toVersion).",'upgrade',".time().")");
}
#-------------------------------------------------
sub finish {
WebGUI::Session::close();
}