added Thingy field-copy function and changed thingy field pretext and subtext

This commit is contained in:
Yung Han Khoe 2009-03-25 21:52:33 +00:00
commit 9a88b8756e
4 changed files with 70 additions and 25 deletions

View file

@ -4,6 +4,8 @@
- rfe #10007: New Month and Year question type. If required, Month must be selected and a 4 digit year must be entered.
- fixed #10011: Wrong spelling of "Descendant" in Navigation Asset Help function (Rob Schipper/NFIA India)
- rfe #9098: Thingy Thing-copy function (SDH Consulting Group)
- rfe #9128: Thingy pretext and subtext fields maxlength too small (SDH Consulting Group)
- rfe #9099: Thingy field-copy function (SDH Consulting Group)
7.7.0
- fixed #9913: New Content Side Bar missing in Asset window

View file

@ -34,6 +34,7 @@ my $session = start(); # this line required
adSkuInstall($session);
addWelcomeMessageTemplateToSettings( $session );
addStatisticsCacheTimeoutToMatrix( $session );
changeThingyFieldsPreTextAndSubtext( $session );
# image mods
addImageAnnotation($session);
@ -81,6 +82,15 @@ sub addStatisticsCacheTimeoutToMatrix{
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub changeThingyFieldsPreTextAndSubtext{
my $session = shift;
print "\tChanging pretext and subtext fields in Thingy_fields table... \n" unless $quiet;
$session->db->write("alter table Thingy_fields change subtext subtext text, change pretext pretext text;");
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
sub adSkuInstall {