Add an option to disable a given rich editor Asset site wide.

Added new column in table(default 0), label, hoverHelp and help field entry.
This commit is contained in:
Colin Kuskie 2006-02-14 23:43:32 +00:00
parent cd6759f311
commit ac39689ddb
5 changed files with 36 additions and 0 deletions

View file

@ -27,6 +27,8 @@
if they are separated by commas. Whitespace is ignored. The upgrade
script will migrate the data automatically, and hoverHelp documentation
has been updated to reflect the changes as well.
- The Rich Editor now has a master reset that allows disabling any individual
Rich Editor across the entire site without querying the user.
6.8.7
- fix [ 1431098 ] op=becomeUser can become non-existent userIds

View file

@ -31,6 +31,7 @@ updateTemplates();
updateDatabaseLinksAndSQLReport();
addWorkflow();
ipsToCIDR();
addDisabletoRichEditor();
finish($session); # this line required
@ -393,6 +394,12 @@ sub removeFiles {
rmtree('../../lib/WebGUI/Asset/Wobject/IndexedSearch');
}
#-------------------------------------------------
sub addDisabletoRichEditor {
print "\tUpdating Rich Editor to add master disable.\n" unless ($quiet);
$session->db->write("alter table RichEdit add column disableRichEditor int(11) default '0'");
}
#-------------------------------------------------
sub ipsToCIDR {
print "\tTranslating IP addresses to CIDR format.\n" unless ($quiet);