diff --git a/docs/upgrades/upgrade_3.7.0-3.8.0.sql b/docs/upgrades/upgrade_3.7.0-3.8.0.sql
index e861e5fb3..10e656aca 100644
--- a/docs/upgrades/upgrade_3.7.0-3.8.0.sql
+++ b/docs/upgrades/upgrade_3.7.0-3.8.0.sql
@@ -1,2 +1,7 @@
insert into webguiVersion values ('3.8.0','upgrade',unix_timestamp());
+INSERT INTO settings VALUES ('richEditor','built-in');
+INSERT INTO international VALUES (495,'WebGUI','English','Built-In Editor');
+INSERT INTO international VALUES (496,'WebGUI','English','Editor To Use');
+INSERT INTO international VALUES (494,'WebGUI','English','Real Objects Edit-On Pro');
+
diff --git a/lib/WebGUI/Attachment.pm b/lib/WebGUI/Attachment.pm
index a5bf47d23..ef88db152 100644
--- a/lib/WebGUI/Attachment.pm
+++ b/lib/WebGUI/Attachment.pm
@@ -49,6 +49,7 @@ use WebGUI::Utility;
$attachment->getThumbnail;
$attachment->getType;
$attachment->getURL;
+ $attachment->rename("thisfile.txt");
$attachment->save("formImage");
=head1 DESCRIPTION
@@ -305,6 +306,24 @@ sub new {
}
+#-------------------------------------------------------------------
+
+=head2 rename ( newFilename )
+
+ Renames an attachment's filename.
+
+=item newFilename
+
+ Define the new filename for this attachment.
+
+=cut
+
+sub rename {
+ rename $_[0]->getPath, $_[0]->{_node}->getPath.'/'.$_[1];
+ $_[0]->{_filename} = $_[1];
+}
+
+
#-------------------------------------------------------------------
=head2 save ( formVariableName [, thumbnailSize ] )
diff --git a/lib/WebGUI/Form.pm b/lib/WebGUI/Form.pm
index 864836287..c4e4fa64e 100644
--- a/lib/WebGUI/Form.pm
+++ b/lib/WebGUI/Form.pm
@@ -1,5 +1,15 @@
package WebGUI::Form;
+
+
+#####################################################################
+#####################################################################
+# NOTICE: Use of this subsystem is depricated and is not recommended.
+#####################################################################
+#####################################################################
+
+
+
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2002 Plain Black Software.
#-------------------------------------------------------------------
diff --git a/lib/WebGUI/HTMLForm.pm b/lib/WebGUI/HTMLForm.pm
index e9e1e544a..3bd0a6896 100644
--- a/lib/WebGUI/HTMLForm.pm
+++ b/lib/WebGUI/HTMLForm.pm
@@ -303,7 +303,7 @@ sub file {
$subtext = shift;
$extras = shift;
$size = shift || $session{setting}{textBoxSize} || 30;
- $output = '';
+ $output = '';
$output .= _subtext($subtext);
$output = _tableFormRow($label,$output);
$class->{_data} .= $output;
@@ -473,19 +473,29 @@ sub HTMLArea {
$output = '';
$value =~ s/\\<\;/g;
$value =~ s/\>/\>\;/g;
- $output .= '';
+ if ($session{setting}{richEditor} eq "edit-on-pro") {
+ $output .= '';
+ } else {
+ $output .= '';
+ }
$output .= '
';
$output .= '