diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 0146825e1..8e7fabf1e 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -42,6 +42,7 @@ the original editor to edit a locked asset. - Fixed a bug that would not allow an editor to commit an individual asset revision. + - Fixed survey template. 6.7.1 @@ -76,6 +77,8 @@ 6.7.0 + - Added Survey section feature +- Added two new Survey answer types. HTMLArea and textarea. - Upgraded the rich editor to 1.45. - Rich edit now has three new buttons: paste from word, paste as plain text, and fullscreen. diff --git a/docs/upgrades/upgrade_6.7.1-6.7.2.pl b/docs/upgrades/upgrade_6.7.1-6.7.2.pl index a2d226d07..ab8223d98 100644 --- a/docs/upgrades/upgrade_6.7.1-6.7.2.pl +++ b/docs/upgrades/upgrade_6.7.1-6.7.2.pl @@ -17,9 +17,124 @@ fixCSTemplate(); speedUpAdminConsole(); removeOldFiles(); updatePageTemplates(); +fixSurveyTemplate(); finish(); +#------------------------------------------------- +sub fixSurveyTemplate { + print "\tFixing survey template.\n" unless ($quiet); + my $template = < + +

+
+ +

+
+ + + +

+ + + + + + + + + +

+ : / +
+ :% +
+
+ +

+
+ + + + + + + + +
+ +

+
+
+
+ +
+
+
+
+
+ : /
+ + : /
+ :% / 100%
+
+
+
+ + + +
+ + + + + + + + +
+
+ + + • + + • + +
+ + • + + • + + • + +
+ + + +

+ +

+ +

+ +

+ + +

+ +    + +
+
+
+
+END + WebGUI::Asset->new("PBtmpl0000000000000061","WebGUI::Asset::Template")->addRevision({template=>$template})->commit; +} + + #------------------------------------------------- sub updatePageTemplates { print "\tMaking page templates float better in IE.\n" unless ($quiet);