Added Survey back button, with option to turn it on/off, tests, and i18n

Noticed that some Survey tests are broken, will fix tomorrow
This commit is contained in:
Patrick Donelan 2009-04-21 07:12:07 +00:00
parent 9c228e2c83
commit c3ea6d4683
10 changed files with 294 additions and 81 deletions

View file

@ -37,7 +37,7 @@ allMaintenanceSingleton($session);
unsetPackageFlags($session);
installThingyRecord( $session );
installPluggableTax( $session );
addSurveyBackButtonColumn( $session );
finish($session); # this line required
@ -247,6 +247,12 @@ ENDSQL
print "DONE!\n" unless $quiet;
}
sub addSurveyBackButtonColumn{
my $session = shift;
print "\tAdding allowBackBtn column to Survey table... " unless $quiet;
$session->db->write("alter table Survey add column `allowBackBtn` TINYINT(3)");
print "Done.\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------