forward port of Survey template doc fixes

This commit is contained in:
Colin Kuskie 2006-11-02 05:28:18 +00:00
parent d21c3b27b4
commit d584e8ba5e
3 changed files with 56 additions and 18 deletions

View file

@ -16,6 +16,10 @@
Apache::Request object replacement. It doesn't do everything, but it Apache::Request object replacement. It doesn't do everything, but it
does enough to test Session/Http.pm, except for cookies. does enough to test Session/Http.pm, except for cookies.
7.1.4
- Template variables in the main Survey Template were out of date in the
documentation.
7.1.3 7.1.3
- fix: SQLReport now returns error if can't find DatabaseLink - fix: SQLReport now returns error if can't find DatabaseLink
- WebGUI::DatabaseLink->new now warns if can't find requested DatabaseLink - WebGUI::DatabaseLink->new now warns if can't find requested DatabaseLink

View file

@ -274,6 +274,33 @@ our $HELP = {
{ {
'name' => 'response.isComplete' 'name' => 'response.isComplete'
}, },
{
'name' => 'section.edit_loop',
'variables' => [
{
'name' => 'section.edit.controls'
},
{
'name' => 'section.edit.sectionName'
},
{
'name' => 'section.edit.id'
},
{
'name' => 'section.questions_loop',
'variables' => [
{
'name' => 'question.edit.controls'
},
{
'name' => 'question.edit.question'
},
{
'name' => 'question.edit.id'
},
],
},
],
{ {
'name' => 'question_loop', 'name' => 'question_loop',
'variables' => [ 'variables' => [
@ -297,20 +324,7 @@ our $HELP = {
} }
] ]
}, },
{ },
'name' => 'question.edit_loop',
'variables' => [
{
'name' => 'question.edit.controls'
},
{
'name' => 'question.edit.question'
},
{
'name' => 'question.edit.id'
}
]
}
], ],
related => [ related => [
{ {

View file

@ -319,14 +319,29 @@ our $I18N = {
lastUpdated => 1149654653, lastUpdated => 1149654653,
}, },
'question.edit_loop' => { 'section.questions_loop' => {
message => q|A loop containing all the questions in the survey with edit controls.|, message => q|A loop containing all the questions in this section of the survey with edit controls.|,
lastUpdated => 1149654653, lastUpdated => 1149654653,
}, },
'section.edit_loop' => {
message => q|A loop containing all the sections and their questions with edit controls.|,
lastUpdated => 1162445117,
},
'section.edit.controls' => {
message => q|A toolbar to use to edit, delete or move this section.|,
lastUpdated => 1162270258,
},
'section.edit.sectionName' => {
message => q|The name of this section of questions.|,
lastUpdated => 1162270301,
},
'question.edit.controls' => { 'question.edit.controls' => {
message => q|A toolbar to use to edit this question.|, message => q|A toolbar to use to edit, delete or move this question.|,
lastUpdated => 1149654653, lastUpdated => 1162270256,
}, },
'question.edit.question' => { 'question.edit.question' => {
@ -339,6 +354,11 @@ our $I18N = {
lastUpdated => 1149654653, lastUpdated => 1149654653,
}, },
'section.edit.id' => {
message => q|The unique id for this section.|,
lastUpdated => 1162270283,
},
'89' => { '89' => {
message => q|<p>The following template variables are available for the Survey:</p> message => q|<p>The following template variables are available for the Survey:</p>
|, |,