diff --git a/lib/WebGUI/Help/Asset_Collaboration.pm b/lib/WebGUI/Help/Asset_Collaboration.pm index 53f646f1c..fc36c3d42 100644 --- a/lib/WebGUI/Help/Asset_Collaboration.pm +++ b/lib/WebGUI/Help/Asset_Collaboration.pm @@ -214,6 +214,108 @@ our $HELP = { body => 'collaboration post list template variables body', fields => [ ], + variables => [ + { + 'name' => 'post_loop', + 'variables' => [ + { + 'name' => 'id' + }, + { + 'name' => 'url', + 'description' => 'tmplVar url' + }, + { + 'name' => 'rating_loop', + 'variables' => [ + { + 'name' => 'rating_loop.count' + } + ] + }, + { + 'name' => 'content' + }, + { + 'name' => 'status', + 'description' => 'tmplVar status' + }, + { + 'name' => 'thumbnail', + 'description' => 'tmplVar thumbnail' + }, + { + 'name' => 'image.url' + }, + { + 'name' => 'dateSubmitted.human' + }, + { + 'name' => 'dateUpdated.human' + }, + { + 'name' => 'timeSubmitted.human' + }, + { + 'name' => 'timeUpdated.human' + }, + { + 'name' => 'userProfile.url' + }, + { + 'name' => 'user.isVisitor' + }, + { + 'name' => 'edit.url' + }, + { + 'name' => 'controls' + }, + { + 'name' => 'isSecond' + }, + { + 'name' => 'isThird' + }, + { + 'name' => 'isFourth' + }, + { + 'name' => 'isFifth' + }, + { + 'name' => 'user.isPoster' + }, + { + 'name' => 'user.hasRead' + }, + { + 'name' => 'avatar.url' + }, + { + 'name' => 'lastReply.url' + }, + { + 'name' => 'lastReply.title' + }, + { + 'name' => 'lastReply.user.isVisitor' + }, + { + 'name' => 'lastReply.username' + }, + { + 'name' => 'lastReply.userProfile.url' + }, + { + 'name' => 'lastReply.dateSubmitted.human' + }, + { + 'name' => 'lastReply.timeSubmitted.human' + } + ] + } + ], related => [ { tag => 'asset fields', @@ -231,6 +333,62 @@ our $HELP = { body => 'collaboration template body', fields => [ ], + variables => [ + { + 'name' => 'user.canPost' + }, + { + 'name' => 'user.isModerator' + }, + { + 'name' => 'user.isVisitor', + }, + { + 'name' => 'user.isSubscribed' + }, + { + 'name' => 'add.url' + }, + { + 'name' => 'rss.url' + }, + { + 'name' => 'search.url' + }, + { + 'name' => 'subscribe.url' + }, + { + 'name' => 'unsubscribe.url' + }, + { + 'name' => 'karmaIsEnabled' + }, + { + 'name' => 'sortby.karmaRank.url' + }, + { + 'name' => 'sortby.title.url' + }, + { + 'name' => 'sortby.username.url' + }, + { + 'name' => 'sortby.date.url' + }, + { + 'name' => 'sortby.lastreply.url' + }, + { + 'name' => 'sortby.views.url' + }, + { + 'name' => 'sortby.replies.url' + }, + { + 'name' => 'sortby.rating.url' + } + ], related => [ { tag => 'collaboration template labels', @@ -248,6 +406,44 @@ our $HELP = { body => 'collaboration search template body', fields => [ ], + variables => [ + { + 'name' => 'form.header' + }, + { + 'name' => 'query.form' + }, + { + 'name' => 'form.search' + }, + { + 'name' => 'back.url' + }, + { + 'name' => 'unsubscribe.url', + }, + { + 'name' => 'sortby.title.url', + }, + { + 'name' => 'sortby.username.url', + }, + { + 'name' => 'sortby.date.url', + }, + { + 'name' => 'sortby.lastreply.url', + }, + { + 'name' => 'sortby.views.url', + }, + { + 'name' => 'sortby.replies.url', + }, + { + 'name' => 'sortby.rating.url', + } + ], related => [ { tag => 'collaboration post list template variables', @@ -261,6 +457,72 @@ our $HELP = { body => 'collaboration rss template body', fields => [ ], + variables => [ + { + 'name' => 'title', + 'description' => 'feed title' + }, + { + 'name' => 'link', + 'description' => 'collab link' + }, + { + 'name' => 'description', + 'description' => 'feed description' + }, + { + 'name' => 'generator' + }, + { + 'name' => 'webMaster' + }, + { + 'name' => 'docs' + }, + { + 'name' => 'lastBuildDate' + }, + { + 'name' => 'item_loop', + 'variables' => [ + { + 'name' => 'author' + }, + { + 'name' => 'title', + 'description' => 'post title' + }, + { + 'name' => 'link', + 'description' => 'full text link' + }, + { + 'name' => 'description', + 'description' => 'item description' + }, + { + 'name' => 'guid' + }, + { + 'name' => 'pubDate' + }, + { + 'name' => 'attachmentLoop', + 'variables' => [ + { + 'name' => 'attachment.url' + }, + { + 'name' => 'attachment.path' + }, + { + 'name' => 'attachment.length' + } + ] + } + ] + } + ], related => [ { tag => 'collaboration post list template variables', diff --git a/lib/WebGUI/Help/Asset_Poll.pm b/lib/WebGUI/Help/Asset_Poll.pm index e288e4d1c..e13d8d427 100644 --- a/lib/WebGUI/Help/Asset_Poll.pm +++ b/lib/WebGUI/Help/Asset_Poll.pm @@ -67,6 +67,52 @@ our $HELP = { body => '74', fields => [ ], + variables => [ + { + 'name' => 'canVote' + }, + { + 'name' => 'question' + }, + { + 'name' => 'form.start' + }, + { + 'name' => 'answer_loop', + 'variables' => [ + { + 'name' => 'answer.form' + }, + { + 'name' => 'answer.text' + }, + { + 'name' => 'answer.number' + }, + { + 'name' => 'answer.graphWidth' + }, + { + 'name' => 'answer.percent' + }, + { + 'name' => 'answer.total' + } + ] + }, + { + 'name' => 'form.submit' + }, + { + 'name' => 'form.end' + }, + { + 'name' => 'responses.label' + }, + { + 'name' => 'responses.total' + } + ], related => [ { tag => 'poll add/edit', diff --git a/lib/WebGUI/Help/Asset_Product.pm b/lib/WebGUI/Help/Asset_Product.pm index 0fef0645e..6ced6790b 100644 --- a/lib/WebGUI/Help/Asset_Product.pm +++ b/lib/WebGUI/Help/Asset_Product.pm @@ -221,6 +221,150 @@ our $HELP = { body => '63', fields => [ ], + variables => [ + { + 'name' => 'brochure.icon' + }, + { + 'name' => 'brochure.url' + }, + { + 'name' => 'brochure.label' + }, + { + 'name' => 'manual.icon' + }, + { + 'name' => 'manual.url' + }, + { + 'name' => 'manual.label' + }, + { + 'name' => 'warranty.icon' + }, + { + 'name' => 'warranty.url' + }, + { + 'name' => 'warranty.label' + }, + { + 'name' => 'image1' + }, + { + 'name' => 'thumbnail1' + }, + { + 'name' => 'image2' + }, + { + 'name' => 'thumbnail2' + }, + { + 'name' => 'image3' + }, + { + 'name' => 'thumbnail3' + }, + { + 'name' => 'addfeature.url' + }, + { + 'name' => 'addfeature.label' + }, + { + 'name' => 'feature_loop', + 'variables' => [ + { + 'name' => 'feature.controls' + }, + { + 'name' => 'feature.feature' + } + ] + }, + { + 'name' => 'addbenefit.url' + }, + { + 'name' => 'addbenefit.label' + }, + { + 'name' => 'benefit_loop', + 'variables' => [ + { + 'name' => 'benefit.benefit' + }, + { + 'name' => 'benefit.controls' + } + ] + }, + { + 'name' => 'addspecification.url' + }, + { + 'name' => 'addspecification.label' + }, + { + 'name' => 'specification_loop', + 'variables' => [ + { + 'name' => 'specification.controls' + }, + { + 'name' => 'specification.specification' + }, + { + 'name' => 'specification.units' + }, + { + 'name' => 'specification.label' + } + ] + }, + { + 'name' => 'addaccessory.url' + }, + { + 'name' => 'addaccessory.label' + }, + { + 'name' => 'accessory_loop', + 'variables' => [ + { + 'name' => 'accessory.url' + }, + { + 'name' => 'accessory.title' + }, + { + 'name' => 'accessory.controls' + } + ] + }, + { + 'name' => 'addRelatedProduct.url' + }, + { + 'name' => 'addRelatedProduct.label' + }, + { + 'name' => 'relatedproduct.loop', + 'variables' => [ + { + 'name' => 'relatedproduct.url' + }, + { + 'name' => 'relatedproduct.title' + }, + { + 'name' => 'relatedproduct.controls' + } + ] + } + ], related => [ { tag => 'product add/edit', diff --git a/lib/WebGUI/Help/Asset_Survey.pm b/lib/WebGUI/Help/Asset_Survey.pm index cdaba2b29..f3b3df3ff 100644 --- a/lib/WebGUI/Help/Asset_Survey.pm +++ b/lib/WebGUI/Help/Asset_Survey.pm @@ -192,6 +192,120 @@ our $HELP = { body => '89', fields => [ ], + variables => [ + { + 'name' => 'question.add.url' + }, + { + 'name' => 'question.add.label' + }, + { + 'name' => 'user.canTakeSurvey' + }, + { + 'name' => 'form.header' + }, + { + 'name' => 'form.footer' + }, + { + 'name' => 'form.submit' + }, + { + 'name' => 'questions.sofar.label' + }, + { + 'name' => 'start.newresponse.label' + }, + { + 'name' => 'start.newresponse.url' + }, + { + 'name' => 'thanks.survey.label' + }, + { + 'name' => 'thanks.quiz.label' + }, + { + 'name' => 'questions.total' + }, + { + 'name' => 'questions.correct.count.label' + }, + { + 'name' => 'questions.correct.percent.label' + }, + { + 'name' => 'mode.isSurvey' + }, + { + 'name' => 'survey.noprivs.label' + }, + { + 'name' => 'quiz.noprivs.label' + }, + { + 'name' => 'response.id' + }, + { + 'name' => 'response.count' + }, + { + 'name' => 'user.isFirstResponse' + }, + { + 'name' => 'user.canRespondAgain' + }, + { + 'name' => 'questions.sofar.count' + }, + { + 'name' => 'questions.correct.count' + }, + { + 'name' => 'questions.correct.percent' + }, + { + 'name' => 'response.isComplete' + }, + { + 'name' => 'question_loop', + 'variables' => [ + { + 'name' => 'question.question' + }, + { + 'name' => 'question.allowComment' + }, + { + 'name' => 'question.id' + }, + { + 'name' => 'question.comment.field' + }, + { + 'name' => 'question.comment.label' + }, + { + 'name' => 'question.answer.field' + } + ] + }, + { + 'name' => 'question.edit_loop', + 'variables' => [ + { + 'name' => 'question.edit.controls' + }, + { + 'name' => 'question.edit.question' + }, + { + 'name' => 'question.edit.id' + } + ] + } + ], related => [ { tag => 'survey template common vars', @@ -212,6 +326,59 @@ our $HELP = { body => '91', fields => [ ], + variables => [ + { + 'name' => 'user.canViewReports' + }, + { + 'name' => 'delete.all.responses.url' + }, + { + 'name' => 'delete.all.responses.label' + }, + { + 'name' => 'export.answers.url' + }, + { + 'name' => 'export.answers.label' + }, + { + 'name' => 'export.questions.url' + }, + { + 'name' => 'export.questions.label' + }, + { + 'name' => 'export.responses.url' + }, + { + 'name' => 'export.responses.label' + }, + { + 'name' => 'export.composite.url' + }, + { + 'name' => 'export.composite.label' + }, + { + 'name' => 'report.gradebook.url' + }, + { + 'name' => 'report.gradebook.label' + }, + { + 'name' => 'report.overview.url' + }, + { + 'name' => 'report.overview.label' + }, + { + 'name' => 'survey.url' + }, + { + 'name' => 'survey.label' + } + ], related => [ { tag => 'survey template', @@ -224,6 +391,40 @@ our $HELP = { body => '1088', fields => [ ], + variables => [ + { + 'name' => 'title' + }, + { + 'name' => 'question.count' + }, + { + 'name' => 'response.user.label' + }, + { + 'name' => 'response.count.label' + }, + { + 'name' => 'response.percent.label' + }, + { + 'name' => 'response_loop', + 'variables' => [ + { + 'name' => 'response.url' + }, + { + 'name' => 'response.user.name' + }, + { + 'name' => 'response.count.correct' + }, + { + 'name' => 'response.percent' + } + ] + } + ], related => [ { tag => 'pagination template variables', @@ -244,6 +445,91 @@ our $HELP = { body => '1090', fields => [ ], + variables => [ + { + 'name' => 'title', + }, + { + 'name' => 'delete.url' + }, + { + 'name' => 'delete.label' + }, + { + 'name' => 'start.date.label' + }, + { + 'name' => 'start.date.epoch' + }, + { + 'name' => 'start.date.human' + }, + { + 'name' => 'start.time.human' + }, + { + 'name' => 'end.date.label' + }, + { + 'name' => 'end.date.epoch' + }, + { + 'name' => 'end.date.human' + }, + { + 'name' => 'end.time.human' + }, + { + 'name' => 'duration.label' + }, + { + 'name' => 'duration.minutes' + }, + { + 'name' => 'duration.minutes.label' + }, + { + 'name' => 'duration.seconds' + }, + { + 'name' => 'duration.seconds.label' + }, + { + 'name' => 'answer.label' + }, + { + 'name' => 'response.label' + }, + { + 'name' => 'comment.label' + }, + { + 'name' => 'question_loop', + 'variables' => [ + { + 'name' => 'question' + }, + { + 'name' => 'question.id', + }, + { + 'name' => 'question.isRadioList' + }, + { + 'name' => 'question.response' + }, + { + 'name' => 'question.comment' + }, + { + 'name' => 'question.isCorrect' + }, + { + 'name' => 'question.answer' + } + ], + } + ], related => [ { tag => 'survey template common vars', @@ -260,6 +546,73 @@ our $HELP = { body => '1092', fields => [ ], + variables => [ + { + 'name' => 'title', + }, + { + 'name' => 'answer.label', + 'description' => 'report answer.label' + }, + { + 'name' => 'response.count.label', + 'description' => 'report response.count.label' + }, + { + 'name' => 'response.percent.label', + }, + { + 'name' => 'show.responses.label' + }, + { + 'name' => 'show.comments.label' + }, + { + 'name' => 'question_loop', + 'variables' => [ + { + 'name' => 'question', + }, + { + 'name' => 'question.id', + }, + { + 'name' => 'question.isRadioList', + }, + { + 'name' => 'question.response.total' + }, + { + 'name' => 'question.allowComment', + }, + { + 'name' => 'answer_loop', + 'variables' => [ + { + 'name' => 'answer.isCorrect' + }, + { + 'name' => 'answer' + }, + { + 'name' => 'answer.response.count' + }, + { + 'name' => 'answer.response.percent' + }, + { + 'name' => 'comment_loop', + 'variables' => [ + { + 'name' => 'answer.comment' + } + ] + } + ] + } + ], + } + ], related => [ { tag => 'pagination template variables', diff --git a/lib/WebGUI/i18n/English/Asset_Collaboration.pm b/lib/WebGUI/i18n/English/Asset_Collaboration.pm index e3137e05a..da3bb136f 100644 --- a/lib/WebGUI/i18n/English/Asset_Collaboration.pm +++ b/lib/WebGUI/i18n/English/Asset_Collaboration.pm @@ -1130,159 +1130,167 @@ the preview is displayed, the Post can either be edited or canceled.|, lastUpdated => 1113673895, }, + 'post_loop' => { + message => q|A list of posts for this Collateral Asset.|, + lastUpdated => 1149655722, + }, + + 'id' => { + message => q|The AssetId of this Post.|, + lastUpdated => 1149655722, + }, + + 'tmplVar url' => { + message => q|The URL of this Post.|, + lastUpdated => 1149655722, + }, + + 'rating_loop' => { + message => q|A loop that runs once for each point of rating that the Post has|, + lastUpdated => 1149655722, + }, + + 'rating_loop.count' => { + message => q|The index variable for the rating_loop.|, + lastUpdated => 1149655722, + }, + + 'content' => { + message => q|The formatted content of this Post.|, + lastUpdated => 1149655722, + }, + + 'tmplVar status' => { + message => q|The status of this Post.|, + lastUpdated => 1149655722, + }, + + 'tmplVar thumbnail' => { + message => q|If this Post has attachments, the URL for the thumbnail of the first image attachment.|, + lastUpdated => 1149655722, + }, + + 'image.url' => { + message => q|If this Post has attachments, the URL for the first image attachment.|, + lastUpdated => 1149655722, + }, + + 'dateSubmitted.human' => { + message => q|The date this Post was submitted, in a human readable format.|, + lastUpdated => 1149655722, + }, + + 'dateUpdated.human' => { + message => q|The date this Post was last updated, in a human readable format.|, + lastUpdated => 1149655722, + }, + + 'timeSubmitted.human' => { + message => q|The time this Post was submitted, in a human readable format.|, + lastUpdated => 1149655722, + }, + + 'timeUpdated.human' => { + message => q|The time this Post was last updated, in a human readable format.|, + lastUpdated => 1149655722, + }, + + 'userProfile.url' => { + message => q|The URL to the Profile of the User who submitted this Post.|, + lastUpdated => 1149655722, + }, + + 'user.isVisitor' => { + message => q|A conditional that is true if the poster is a visitor.|, + lastUpdated => 1149655722, + }, + + 'edit.url' => { + message => q|The URL to edit this Post.|, + lastUpdated => 1149655722, + }, + + 'controls' => { + message => q|A set of editing icons to delete or re-order this Post.|, + lastUpdated => 1149655722, + }, + + 'isSecond' => { + message => q|A conditional indicating that is true if this Post is the second in this Collaboration Asset.|, + lastUpdated => 1149655722, + }, + + 'isThird' => { + message => q|A conditional indicating that is true if this Post is the third in this Collaboration Asset.|, + lastUpdated => 1149655722, + }, + + 'isFourth' => { + message => q|A conditional indicating that is true if this Post is the fourth in this Collaboration Asset.|, + lastUpdated => 1149655722, + }, + + 'isFifth' => { + message => q|A conditional indicating that is true if this Post is the fifth in this Collaboration Asset.|, + lastUpdated => 1149655722, + }, + + 'user.isPoster' => { + message => q|A conditional indicating that is true if the current user submitted this Post.|, + lastUpdated => 1149655722, + }, + + 'user.hasRead' => { + message => q|A conditional indicating whether a user has read this thread.|, + lastUpdated => 1149655722, + }, + + 'avatar.url' => { + message => q|A URL to the avatar for the owner of the Post, if avatars are enabled and the +user has an avatar.|, + lastUpdated => 1149655722, + }, + + 'lastReply.url' => { + message => q|The URL to the last reply to this Post.|, + lastUpdated => 1149655722, + }, + + 'lastReply.title' => { + message => q|The title of the last reply.|, + lastUpdated => 1149655722, + }, + + 'lastReply.user.isVisitor' => { + message => q|A conditional that is true if the poster of the last reply is a visitor.|, + lastUpdated => 1149655722, + }, + + 'lastReply.username' => { + message => q|The name of user who submitted the last reply.|, + lastUpdated => 1149655722, + }, + + 'lastReply.userProfile.url' => { + message => q|The URL to the Profile of the User who submitted this Post.|, + lastUpdated => 1149655722, + }, + + 'lastReply.dateSubmitted.human' => { + message => q|The date the last reply was submitted, in a human readable format.|, + lastUpdated => 1149655722, + }, + + 'lastReply.timeSubmitted.human' => { + message => q|The time the last reply was submitted, in a human readable format.|, + lastUpdated => 1149655722, + }, + 'collaboration post list template variables body' => { message => q|
These variables are available in several of the templates used by Collaboration Assets:
- -post_loop
-A list of posts for this Collateral Asset.
-
Asset variables
-The variables common to all Assets, such as title, menuTitle, etc.
-
Post variables
-All template variables from the Post template. Some of those variables will be duplicates
-of the ones below.
-
id
-The AssetId of this Post.
-
url
-The URL of this Post.
-
rating_loop
-A loop that runs once for each point of rating that the Post has
-
rating_loop.count
-The index variable for the rating_loop.
-
content
-The formatted content of this Post.
-
status
-The status of this Post.
-
thumbnail
-If this Post has attachments, the URL for the thumbnail of the first image attachment.
-
image.url
-If this Post has attachments, the URL for the first image attachment.
-
dateSubmitted.human
-The date this Post was submitted, in a human readable format.
-
dateUpdated.human
-The date this Post was last updated, in a human readable format.
-
timeSubmitted.human
-The time this Post was submitted, in a human readable format.
-
timeUpdated.human
-The time this Post was last updated, in a human readable format.
-
userProfile.url
-The URL to the Profile of the User who submitted this Post.
-
user.isVisitor
-A conditional that is true if the poster is a visitor.
-
edit.url
-The URL to edit this Post.
-
controls
-A set of editing icons to delete or re-order this Post.
-
isSecond
-A conditional indicating that is true if this Post is the second in this Collaboration Asset.
-
isThird
-A conditional indicating that is true if this Post is the third in this Collaboration Asset.
-
isFourth
-A conditional indicating that is true if this Post is the fourth in this Collaboration Asset.
-
isFifth
-A conditional indicating that is true if this Post is the fifth in this Collaboration Asset.
-
user.isPoster
-A conditional indicating that is true if the current user submitted this Post.
-
user.hasRead
-A conditional indicating whether a user has read this thread.
-
avatar.url
-A URL to the avatar for the owner of the Post, if avatars are enabled and the
-user has an avatar.
-
lastReply.*
-These variables are only defined if the Display last reply property is set to true
-in the Collaboration Asset.
-
lastReply.url
-The URL to the last reply to this Post.
-
lastReply.title
-The title of the last reply.
-
lastReply.user.isVisitor
-A conditional that is true if the poster of the last reply is a visitor.
-
lastReply.username
-The name of user who submitted the last reply.
-
lastReply.userProfile.url
-The URL to the Profile of the User who submitted this Post.
-
lastReply.dateSubmitted.human
-The date the last reply was submitted, in a human readable format.
-
lastReply.timeSubmitted.human
-The time the last reply was submitted, in a human readable format.
-
These variables are available in the Collaboration Template:
- -user.canPost
-A conditional that is true if the current user can add posts to this Collaboration Asset.
-
user.isModerator
-A conditional that is true if the current user is a moderator for this Asset.
-
user.isVisitor
-A conditional that is true if the current user is a Visitor.
-
user.isSubscribed
-A conditional that is true if the current user is subscribed to this Collaboration Asset.
-
add.url
-A URL for adding a new thread.
-
rss.url
-A URL for downloading the RSS summary of this Asset.
-
search.url
-A URL for accessing the search form for this Collaboration Asset.
-
subscribe.url
-A URL for subscribing the current user to this Collaboration Asset. When new content is submitted to
-the Collaboration Asset, the user will be notified.
-
unsubscribe.url
-A URL for unsubscribing the current user from this Asset.
-
karmaIsEnabled
-A boolean indicating whether the use of karma is enabled or not.
-
sortby.karmaRank.url
-A URL for sorting and displaying the list of posts by the amount of karma users have transfered to the thread.
-
sortby.title.url
-A URL for sorting and displaying the list of posts by title.
-
sortby.username.url
-A URL for sorting and displaying the list of posts by username.
-
sortby.date.url
-A URL for sorting and displaying the list of posts by the date they were submitted.
-
sortby.lastreply.url
-A URL for sorting and displaying the list of posts by the date they were last updated.
-
sortby.views.url
-A URL for sorting and displaying the list of posts by the number of times each has been read.
-
sortby.replies.url
-A URL for sorting and displaying the list of posts by the number of replies to the post.
-
sortby.rating.url
-A URL for sorting and displaying the list of posts by their ratings.
-
These variables are available in the Collaboration Search Template:
-form.header
-HTML and javascript required to make the form work.
-
query.form
-HTML form for adding a field where all input has to be in matched pages.
-
form.search
-A button to add to the form to begin searching.
-
back.url
-A URL for returning to the main view for this Collaboration Asset.
-
unsubscribe.url
-A URL for unsubscribing the current user from this Asset.
-
sortby.title.url
-A URL for sorting and displaying the list of posts by title.
-
sortby.username.url
-A URL for sorting and displaying the list of posts by username.
-
sortby.date.url
-A URL for sorting and displaying the list of posts by the date they were submitted.
-
sortby.lastreply.url
-A URL for sorting and displaying the list of posts by the date they were last updated.
-
sortby.views.url
-A URL for sorting and displaying the list of posts by the number of times each has been read.
-
sortby.replies.url
-A URL for sorting and displaying the list of posts by the number of replies to the post.
-
sortby.rating.url
-A URL for sorting and displaying the list of posts by their ratings.
-
The Collaboration RSS template is available to allow configuration of the XML produced as an RSS feed for a collaboration. To produce a valid rss feed, this template must adhere to the RSS 2.0 Specification. These variables are available in the Collaboration RSS Template:
- -title
-The title of the rss feed (comes from the collaboration title).
-
link
-The url to the collaboration.
-
description
-The description of the rss feed (comes from the collaboration description).
-
generator
-The program used to generate the rss feed, i.e. WebGUI plus version information. (optional field)
-
webMaster
-The email address of the person responsible for the technical issues relating to this rss feed. (optional field)
-
docs
-The url of documentation about the format of this file, RSS 2.0 (optional field)
-
lastBuildDate
-The date that this feed was last updated. (optional field)
-
item_loop
-Loops over the posts to be transmitted in this RSS feed.
-
author
-The username of the person who submitted the post.
-
title
-The title of the item (post).
-
link
-The url to the full text of the item.
-
description
-A synopsis of the item.
-
guid
-A unique identifier for this item.
-
pubDate
-The date the item was published.
-
attachmentLoop
-A loop containg all attachements to this item (post).
-
attachment.url
-The URL to this attachment.
-
attachment.path
-The path in the filesystem to this attachment.
-
attachment.length
-The length in this attachment, in bytes.
-
The following variables are available to the poll template: -
- -canVote
-A condition indicating whether the user has the right to vote on this poll.
-
question
-The poll question.
-
form.start
-The beginning of the poll form.
-
answer_loop
-A loop containing information about the answers in the poll.
-
answer.form
-The radio button for this answer.
-
answer.text
-The text of the answer.
-
answer.number
-The number of this answer. As in 1, 2, 3, etc.
-
answer.graphWidth
-The width that the graph should be rendered for this answer. Based upon a percentage of the total graph size.
-
answer.percent
-The percentage of the vote that this answer has received.
-
answer.total
-The total number of votes that this answer has received.
-
form.submit
-The submit button for the poll form.
-
form.end
-The end of the poll form.
-
responses.label
-The label for the total responses. "Total Votes"
-
responses.total
-The total number of votes that have been placed on this poll.
-
The following variables are available to the poll template:
|, - lastUpdated => 1146785056, + lastUpdated => 1149655485, }, '6' => { diff --git a/lib/WebGUI/i18n/English/Asset_Product.pm b/lib/WebGUI/i18n/English/Asset_Product.pm index fe0a1ffa1..3035f3d22 100644 --- a/lib/WebGUI/i18n/English/Asset_Product.pm +++ b/lib/WebGUI/i18n/English/Asset_Product.pm @@ -21,209 +21,230 @@ our $I18N = { lastUpdated => 1031514049 }, + 'brochure.icon' => { + message => q|The URL to the icon for the brochure.|, + lastUpdated => 1149655398, + }, + + 'brochure.url' => { + message => q|The URL to download the brochure.|, + lastUpdated => 1149655398, + }, + + 'brochure.label' => { + message => q|The translated label for the brochure URL.|, + lastUpdated => 1149655398, + }, + + 'manual.icon' => { + message => q|The URL to the icon for the manual.|, + lastUpdated => 1149655398, + }, + + 'manual.url' => { + message => q|The URL to download the manual.|, + lastUpdated => 1149655398, + }, + + 'manual.label' => { + message => q|The translated label for the manual URL.|, + lastUpdated => 1149655398, + }, + + 'warranty.icon' => { + message => q|The URL to the icon for the warranty.|, + lastUpdated => 1149655398, + }, + + 'warranty.url' => { + message => q|The URL to download the warranty.|, + lastUpdated => 1149655398, + }, + + 'warranty.label' => { + message => q|The label for the warranty URL.|, + lastUpdated => 1149655398, + }, + + 'image1' => { + message => q|The URL to the first image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'thumbnail1' => { + message => q|The URL to the thumbnail of the first image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'image2' => { + message => q|The URL to the second image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'thumbnail2' => { + message => q|The URL to the thumbnail of the second image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'image3' => { + message => q|The URL to the third image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'thumbnail3' => { + message => q|The URL to the thumbnail of the third image uploaded to this product.|, + lastUpdated => 1149655398, + }, + + 'addfeature.url' => { + message => q|The URL to add a feature to this product.|, + lastUpdated => 1149655398, + }, + + 'addfeature.label' => { + message => q|The translated label for the add feature link.|, + lastUpdated => 1149655398, + }, + + 'feature_loop' => { + message => q|This loop contains all of the features associated with this product.|, + lastUpdated => 1149655398, + }, + + 'feature.controls' => { + message => q|The WebGUI management controls for this feature.|, + lastUpdated => 1149655398, + }, + + 'feature.feature' => { + message => q|The text of the feature itself.|, + lastUpdated => 1149655398, + }, + + 'addbenefit.url' => { + message => q|The URL to add a benefit to this product.|, + lastUpdated => 1149655398, + }, + + 'addbenefit.label' => { + message => q|The translated label for the add benefit link.|, + lastUpdated => 1149655398, + }, + + 'benefit_loop' => { + message => q|This loop contains the benefits for this product.|, + lastUpdated => 1149655398, + }, + + 'benefit.benefit' => { + message => q|The benefit text itself.|, + lastUpdated => 1149655398, + }, + + 'benefit.controls' => { + message => q|The WebGUI management controls for this benefit.|, + lastUpdated => 1149655398, + }, + + 'addspecification.url' => { + message => q|The URL to add a specification to this product.|, + lastUpdated => 1149655398, + }, + + 'addspecification.label' => { + message => q|The translated label for the add specification link.|, + lastUpdated => 1149655398, + }, + + 'specification_loop' => { + message => q|The list of specifications associated with this product.|, + lastUpdated => 1149655398, + }, + + 'specification.controls' => { + message => q|The WebGUI management controls for this specification.|, + lastUpdated => 1149655398, + }, + + 'specification.specification' => { + message => q|The text of the specification itself.|, + lastUpdated => 1149655398, + }, + + 'specification.units' => { + message => q|The units for this specification. ex: meters|, + lastUpdated => 1149655398, + }, + + 'specification.label' => { + message => q|The label for this specification. ex: height|, + lastUpdated => 1149655398, + }, + + 'addaccessory.url' => { + message => q|The URL to add an accessory to this product.|, + lastUpdated => 1149655398, + }, + + 'addaccessory.label' => { + message => q|The translated label for the add accessory link.|, + lastUpdated => 1149655398, + }, + + 'accessory_loop' => { + message => q|This loop contains all of the accessories associated with this product.|, + lastUpdated => 1149655398, + }, + + 'accessory.url' => { + message => q|The URL to the linked accessory.|, + lastUpdated => 1149655398, + }, + + 'accessory.title' => { + message => q|The title of the linked accessory.|, + lastUpdated => 1149655398, + }, + + 'accessory.controls' => { + message => q|The WebGUI management controls for this accessory.|, + lastUpdated => 1149655398, + }, + + 'addRelatedProduct.url' => { + message => q|The URL to add a related product to this product.|, + lastUpdated => 1149655398, + }, + + 'addRelatedProduct.label' => { + message => q|The translated label for the add related product link.|, + lastUpdated => 1149655398, + }, + + 'relatedproduct.loop' => { + message => q|This loop contains all of the products related to this product.|, + lastUpdated => 1149655398, + }, + + 'relatedproduct.url' => { + message => q|The URL to the related product.|, + lastUpdated => 1149655398, + }, + + 'relatedproduct.title' => { + message => q|The title of the related product.|, + lastUpdated => 1149655398, + }, + + 'relatedproduct.controls' => { + message => q|The WebGUI management controls for this related product.|, + lastUpdated => 1149655398, + }, + '63' => { - message => q|The following is the list of template variables available in product templates. -
- -brochure.icon
-The URL to the icon for the brochure.
-
brochure.url
-The URL to download the brochure.
-
brochure.label
-The translated label for the brochure URL.
-
manual.icon
-The URL to the icon for the manual.
-
manual.url
-The URL to download the manual.
-
manual.label
-The translated label for the manual URL.
-
warranty.icon
-The URL to the icon for the warranty.
-
warranty.url
-The URL to download the warranty.
-
warranty.label
-The label for the warranty URL.
-
image1
-The URL to the first image uploaded to this product.
-
thumbnail1
-The URL to the thumbnail of the first image uploaded to this product.
-
image2
-The URL to the second image uploaded to this product.
-
thumbnail2
-The URL to the thumbnail of the second image uploaded to this product.
-
image3
-The URL to the third image uploaded to this product.
-
thumbnail3
-The URL to the thumbnail of the third image uploaded to this product.
-
addfeature.url
-The URL to add a feature to this product.
-
addfeature.label
-The translated label for the add feature link.
-
feature_loop
-This loop contains all of the features associated with this product.
-
feature.controls
-The WebGUI management controls for this feature.
-
feature.feature
-The text of the feature itself.
-
addbenefit.url
-The URL to add a benefit to this product.
-
addbenefit.label
-The translated label for the add benefit link.
-
benefit_loop
-This loop contains the benefits for this product.
-
benefit.benefit
-The benefit text itself.
-
benefit.controls
-The WebGUI management controls for this benefit.
-
addspecification.url
-The URL to add a specification to this product.
-
addspecification.label
-The translated label for the add specification link.
-
specification_loop
-The list of specifications associated with this product.
-
specification.controls
-The WebGUI management controls for this specification.
-
specification.specification
-The text of the specification itself.
-
specification.units
-The units for this specification. ex: meters
-
specification.label
-The label for this specification. ex: height
-
addaccessory.url
-The URL to add an accessory to this product.
-
addaccessory.label
-The translated label for the add accessory link.
-
accessory_loop
-This loop contains all of the accessories associated with this product.
-
accessory.url
-The URL to the linked accessory.
-
accessory.title
-The title of the linked accessory.
-
accessory.controls
-The WebGUI management controls for this accessory.
-
addRelatedProduct.url
-The URL to add a related product to this product.
-
addRelatedProduct.label
-The translated label for the add related product link.
-
relatedproduct.loop
-This loop contains all of the products related to this product.
-
relatedproduct.url
-The URL to the related product.
-
relatedproduct.title
-The title of the related product.
-
relatedproduct.controls
-The WebGUI management controls for this related product.
-
The following is the list of template variables available in product templates.
|, - lastUpdated => 1146798062, + lastUpdated => 1149655422, }, '21' => { diff --git a/lib/WebGUI/i18n/English/Asset_Survey.pm b/lib/WebGUI/i18n/English/Asset_Survey.pm index 83211d80f..443b30477 100644 --- a/lib/WebGUI/i18n/English/Asset_Survey.pm +++ b/lib/WebGUI/i18n/English/Asset_Survey.pm @@ -149,164 +149,190 @@ our $I18N = { lastUpdated => 1035436321 }, + 'question.add.url' => { + message => q|The URL to add a new question to the survey.|, + lastUpdated => 1149654653, + }, + + 'question.add.label' => { + message => q|The default label for question.add.url.|, + lastUpdated => 1149654653, + }, + + 'user.canTakeSurvey' => { + message => q|A boolean indicating whether the current user has the rights to take the survey.|, + lastUpdated => 1149654653, + }, + + 'form.header' => { + message => q|The required form elements that go at the top of the survey questions.|, + lastUpdated => 1149654653, + }, + + 'form.footer' => { + message => q|The required form elements that go after the survey questions.|, + lastUpdated => 1149654653, + }, + + 'form.submit' => { + message => q|The default submit button for the survey response.|, + lastUpdated => 1149654653, + }, + + 'questions.sofar.label' => { + message => q|The default label for indicating how many questions have been answered to this point in the survey.|, + lastUpdated => 1149654653, + }, + + 'start.newresponse.label' => { + message => q|The default label for start.newresponse.url.|, + lastUpdated => 1149654653, + }, + + 'start.newresponse.url' => { + message => q|The URL to start a new response to the survey after the user has already taken the survey once.|, + lastUpdated => 1149654653, + }, + + 'thanks.survey.label' => { + message => q|A message thanking the user for completing the survey.|, + lastUpdated => 1149654653, + }, + + 'thanks.quiz.label' => { + message => q|A message thanking the user for completing the quiz.|, + lastUpdated => 1149654653, + }, + + 'questions.total' => { + message => q|The total number of questions in the survey.|, + lastUpdated => 1149654653, + }, + + 'questions.correct.count.label' => { + message => q|The default label for questions.correct.count.|, + lastUpdated => 1149654653, + }, + + 'questions.correct.percent.label' => { + message => q|The default label for questions.correct.percent.|, + lastUpdated => 1149654653, + }, + + 'mode.isSurvey' => { + message => q|A boolean indicating whether we are in survey mode or quiz mode.|, + lastUpdated => 1149654653, + }, + + 'survey.noprivs.label' => { + message => q|A message telling the user that they do not have the privileges necessary to take this survey.|, + lastUpdated => 1149654653, + }, + + 'quiz.noprivs.label' => { + message => q|A message telling the user that they do not have the privileges necessary to take the quiz.|, + lastUpdated => 1149654653, + }, + + 'response.id' => { + message => q|The unique id for the current response for this user.|, + lastUpdated => 1149654653, + }, + + 'response.count' => { + message => q|The number of responses this user has provided for this survey.|, + lastUpdated => 1149654653, + }, + + 'user.isFirstResponse' => { + message => q|A boolean indicating whether this is the first response for this user.|, + lastUpdated => 1149654653, + }, + + 'user.canRespondAgain' => { + message => q|A boolean indicating whether the user is allowed to respond to this survey again.|, + lastUpdated => 1149654653, + }, + + 'questions.sofar.count' => { + message => q|The number of questions that have been answered to this point in the survey.|, + lastUpdated => 1149654653, + }, + + 'questions.correct.count' => { + message => q|The number of questions the user has correct in the quiz to this point.|, + lastUpdated => 1149654653, + }, + + 'questions.correct.percent' => { + message => q|The percentage of questions that the user has correct in the quiz to this point.|, + lastUpdated => 1149654653, + }, + + 'response.isComplete' => { + message => q|A boolean indicating whether the user has answered all of the questions for this survey response.|, + lastUpdated => 1149654653, + }, + + 'question_loop' => { + message => q|A loop which contains the questions for this survey response.|, + lastUpdated => 1149654653, + }, + + 'question.question' => { + message => q|The survey question itself.|, + lastUpdated => 1149654653, + }, + + 'question.allowComment' => { + message => q|A boolean indicating whether this question allows comments or not.|, + lastUpdated => 1149654653, + }, + + 'question.id' => { + message => q|The unique id for this question.|, + lastUpdated => 1149654653, + }, + + 'question.comment.field' => { + message => q|The form field to enter comments for this question.|, + lastUpdated => 1149654653, + }, + + 'question.comment.label' => { + message => q|The default label for question.comment.field.|, + lastUpdated => 1149654653, + }, + + 'question.answer.field' => { + message => q|The form field containing the possible answers for this question.|, + lastUpdated => 1149654653, + }, + + 'question.edit_loop' => { + message => q|A loop containing all the questions in the survey with edit controls.|, + lastUpdated => 1149654653, + }, + + 'question.edit.controls' => { + message => q|A toolbar to use to edit this question.|, + lastUpdated => 1149654653, + }, + + 'question.edit.question' => { + message => q|The question to be edited.|, + lastUpdated => 1149654653, + }, + + 'question.edit.id' => { + message => q|The unique id for this question.|, + lastUpdated => 1149654653, + }, + '89' => { - message => q|The following template variables are available for the Survey. -
- -question.add.url
-The URL to add a new question to the survey.
-
question.add.label
-The default label for question.add.url.
-
user.canTakeSurvey
-A boolean indicating whether the current user has the rights to take the survey.
-
form.header
-The required form elements that go at the top of the survey questions.
-
form.footer
-The required form elements that go after the survey questions.
-
form.submit
-The default submit button for the survey response.
-
questions.sofar.label
-The default label for indicating how many questions have been answered to this point in the survey.
-
start.newresponse.label
-The default label for start.newresponse.url.
-
start.newresponse.url
-The URL to start a new response to the survey after the user has already taken the survey once.
-
thanks.survey.label
-A message thanking the user for completing the survey.
-
thanks.quiz.label
-A message thanking the user for completing the quiz.
-
questions.total
-The total number of questions in the survey.
-
questions.correct.count.label
-The default label for questions.correct.count.
-
questions.correct.percent.label
-The default label for questions.correct.percent.
-
mode.isSurvey
-A boolean indicating whether we are in survey mode or quiz mode.
-
survey.noprivs.label
-A message telling the user that they do not have the privileges necessary to take this survey.
-
quiz.noprivs.label
-A message telling the user that they do not have the privileges necessary to take the quiz.
-
response.id
-The unique id for the current response for this user.
-
response.count
-The number of responses this user has provided for this survey.
-
user.isFirstResponse
-A boolean indicating whether this is the first response for this user.
-
user.canRespondAgain
-A boolean indicating whether the user is allowed to respond to this survey again.
-
questions.sofar.count
-The number of questions that have been answered to this point in the survey.
-
questions.correct.count
-The number of questions the user has correct in the quiz to this point.
-
questions.correct.percent
-The percentage of questions that the user has correct in the quiz to this point.
-
response.isComplete
-A boolean indicating whether the user has answered all of the questions for this survey response.
-
question_loop
-A loop which contains the questions for this survey response.
-
question.question
-The survey question itself.
-
question.allowComment
-A boolean indicating whether this question allows comments or not.
-
question.id
-The unique id for this question.
-
question.comment.field
-The form field to enter comments for this question.
-
question.comment.label
-The default label for question.comment.field.
-
question.answer.field
-The form field containing the possible answers for this question.
-
question.edit_loop
-A loop containing all the questions in the survey with edit controls.
-
question.edit.controls
-A toolbar to use to edit this question.
-
question.edit.question
-The question to be edited.
-
question.edit.id
-The unique id for this question.
-
The following template variables are available for the Survey:
|, - lastUpdated => 1146806995 + lastUpdated => 1149654687 }, '10' => { @@ -329,79 +355,95 @@ The unique id for this question. lastUpdated => 1033949647 }, + 'user.canViewReports' => { + message => q|A boolean indicating whether the user has the privileges to view survey reports.|, + lastUpdated => 1149654717, + }, + + 'delete.all.responses.url' => { + message => q|This URL will delete all of the responses to this survey.|, + lastUpdated => 1149654717, + }, + + 'delete.all.responses.label' => { + message => q|The default label for delete.all.responses.url.|, + lastUpdated => 1149654717, + }, + + 'export.answers.url' => { + message => q|The URL to create a tab delimited file containing all of the answers to the questions in this survey.|, + lastUpdated => 1149654717, + }, + + 'export.answers.label' => { + message => q|The default label for export.answers.url.|, + lastUpdated => 1149654717, + }, + + 'export.questions.url' => { + message => q|The URL to create a tab delimited file containing all of the questions in this survey.|, + lastUpdated => 1149654717, + }, + + 'export.questions.label' => { + message => q|The default label for export.questions.url.|, + lastUpdated => 1149654717, + }, + + 'export.responses.url' => { + message => q|The URL to create a tab delimited file containing all of the responses to the questions in this survey.|, + lastUpdated => 1149654717, + }, + + 'export.responses.label' => { + message => q|The default label for export.responses.url|, + lastUpdated => 1149654717, + }, + + 'export.composite.url' => { + message => q|The URL to create a tab delimited file containing a composite view of all of the data in this survey.|, + lastUpdated => 1149654717, + }, + + 'export.composite.label' => { + message => q|The default label for export.composite.url.|, + lastUpdated => 1149654717, + }, + + 'report.gradebook.url' => { + message => q|The URL to view the gradebook report for this quiz.|, + lastUpdated => 1149654717, + }, + + 'report.gradebook.label' => { + message => q|The default label for report.gradebook.url.|, + lastUpdated => 1149654717, + }, + + 'report.overview.url' => { + message => q|The URL to view statistical overview report for this survey.|, + lastUpdated => 1149654717, + }, + + 'report.overview.label' => { + message => q|The default label for report.overview.url.|, + lastUpdated => 1149654717, + }, + + 'survey.url' => { + message => q|The URL to view the survey. Usually used to get back to the survey after looking at a report.|, + lastUpdated => 1149654717, + }, + + 'survey.label' => { + message => q|The default label for survey.url.|, + lastUpdated => 1149654717, + }, + '91' => { message => q|The following template variables are available in all survey templates.
- -user.canViewReports
-A boolean indicating whether the user has the privileges to view survey reports.
-
delete.all.responses.url
-This URL will delete all of the responses to this survey.
-
delete.all.responses.label
-The default label for delete.all.responses.url.
-
export.answers.url
-The URL to create a tab delimited file containing all of the answers to the questions in this survey.
-
export.answers.label
-The default label for export.answers.url.
-
export.questions.url
-The URL to create a tab delimited file containing all of the questions in this survey.
-
export.questions.label
-The default label for export.questions.url.
-
export.responses.url
-The URL to create a tab delimited file containing all of the responses to the questions in this survey.
-
export.responses.label
-The default label for export.responses.url
-
export.composite.url
-The URL to create a tab delimited file containing a composite view of all of the data in this survey.
-
export.composite.label
-The default label for export.composite.url.
-
report.gradebook.url
-The URL to view the gradebook report for this quiz.
-
report.gradebook.label
-The default label for report.gradebook.url.
-
report.overview.url
-The URL to view statistical overview report for this survey.
-
report.overview.label
-The default label for report.overview.url.
-
survey.url
-The URL to view the survey. Usually used to get back to the survey after looking at a report.
-
survey.label
-The default label for survey.url.
-
The following template variables are available in the survey's gradebook report: -
- -title
-The default title of the report.
-
question.count
-The number of questions in the survey.
-
response.user.label
-The default label for response.user.name.
-
response.count.label
-The default label for response.count.correct.
-
response.percent.label
-The default label for response.percent.
-
response_loop
-A loop containing a list of responses.
-
response.url
-The URL to view this response.
-
response.user.name
-The username of the user that gave this response.
-
response.count.correct
-The total number of questions that this user got correct.
-
response.percent
-The percentage of correct questions.
-
The following template variables are available in the survey's gradebook report:
+|, + lastUpdated => 1149654794 }, '1089' => { @@ -860,123 +908,130 @@ The percentage of correct questions. lastUpdated => 1078515839 }, + 'delete.url' => { + message => q|The URL to delete this response.|, + lastUpdated => 1149654822, + }, + + 'delete.label' => { + message => q|The default label for delete.url.|, + lastUpdated => 1149654822, + }, + + 'start.date.label' => { + message => q|The default label for start.date.human.|, + lastUpdated => 1149654822, + }, + + 'start.date.epoch' => { + message => q|The epoch representation of when the user started the survey response.|, + lastUpdated => 1149654822, + }, + + 'start.date.human' => { + message => q|The human representation of the date when the user started the response.|, + lastUpdated => 1149654822, + }, + + 'start.time.human' => { + message => q|The human representation of the time when the user started the response.|, + lastUpdated => 1149654822, + }, + + 'end.date.label' => { + message => q|The default label for end.date.human.|, + lastUpdated => 1149654822, + }, + + 'end.date.epoch' => { + message => q|The epoch representation of the date when the user completed this response.|, + lastUpdated => 1149654822, + }, + + 'end.date.human' => { + message => q|The human representation of the date when the user completed this response.|, + lastUpdated => 1149654822, + }, + + 'end.time.human' => { + message => q|The human representation of the time when the user completed this response.|, + lastUpdated => 1149654822, + }, + + 'duration.label' => { + message => q|The default label for the duration.|, + lastUpdated => 1149654822, + }, + + 'duration.minutes' => { + message => q|The number of minutes it took to complete the survey.|, + lastUpdated => 1149654822, + }, + + 'duration.minutes.label' => { + message => q|A label for "minutes".|, + lastUpdated => 1149654822, + }, + + 'duration.seconds' => { + message => q|The remainder seconds the duration.minutes calculations.|, + lastUpdated => 1149654822, + }, + + 'duration.seconds.label' => { + message => q|A label for "seconds".|, + lastUpdated => 1149654822, + }, + + 'answer.label' => { + message => q|The default label for question.answer.|, + lastUpdated => 1149654822, + }, + + 'response.label' => { + message => q|The default label for question.label.|, + lastUpdated => 1149654822, + }, + + 'comment.label' => { + message => q|The default label for question.comment.|, + lastUpdated => 1149654822, + }, + + 'question' => { + message => q|The question itself.|, + lastUpdated => 1149654822, + }, + + 'question.isRadioList' => { + message => q|A boolean indicating whether this question's answers are a radio list.|, + lastUpdated => 1149654822, + }, + + 'question.response' => { + message => q|The user's response to this question.|, + lastUpdated => 1149654822, + }, + + 'question.comment' => { + message => q|The user's comment on this question (if any).|, + lastUpdated => 1149654822, + }, + + 'question.isCorrect' => { + message => q|A boolean indicating whether the user got this question correct.|, + lastUpdated => 1149654822, + }, + + 'question.answer' => { + message => q|The correct answer for this question.|, + lastUpdated => 1149654822, + }, + '1090' => { - message => q|The following are the variables available to display the individual response. -
- -title
-The default title for this report.
-
delete.url
-The URL to delete this response.
-
delete.label
-The default label for delete.url.
-
start.date.label
-The default label for start.date.human.
-
start.date.epoch
-The epoch representation of when the user started the survey response.
-
start.date.human
-The human representation of the date when the user started the response.
-
start.time.human
-The human representation of the time when the user started the response.
-
end.date.label
-The default label for end.date.human.
-
end.date.epoch
-The epoch representation of the date when the user completed this response.
-
end.date.human
-The human representation of the date when the user completed this response.
-
end.time.human
-The human representation of the time when the user completed this response.
-
duration.label
-The default label for the duration.
-
duration.minutes
-The number of minutes it took to complete the survey.
-
duration.minutes.label
-A label for "minutes".
-
duration.seconds
-The remainder seconds the duration.minutes calculations.
-
duration.seconds.label
-A label for "seconds".
-
answer.label
-The default label for question.answer.
-
response.label
-The default label for question.label.
-
comment.label
-The default label for question.comment.
-
question_loop
-A loop that includes the list of questions in this response.
-
question
-The question itself.
-
question.id
-The unique identifier for this question.
-
question.isRadioList
-A boolean indicating whether this question's answers are a radio list.
-
question.response
-The user's response to this question.
-
question.comment
-The user's comment on this question (if any).
-
question.isCorrect
-A boolean indicating whether the user got this question correct.
-
question.answer
-The correct answer for this question.
-
The following are the variables available to display the individual response.
+|, + lastUpdated => 1149654936 }, '1091' => { @@ -984,98 +1039,75 @@ The correct answer for this question. lastUpdated => 1078517114 }, + 'report answer.label' => { + message => q|The default label for answer_loop.|, + lastUpdated => 1149654954, + }, + + 'report response.count.label' => { + message => q|The default label for response.count.|, + lastUpdated => 1149654954, + }, + + 'show.responses.label' => { + message => q|The default label that will display responses.|, + lastUpdated => 1149654954, + }, + + 'show.comments.label' => { + message => q|The default label that will display comments.|, + lastUpdated => 1149654954, + }, + + 'report question_loop' => { + message => q|A loop containing questions.|, + lastUpdated => 1149654954, + }, + + 'question.response.total' => { + message => q|The total number of responses for this answer.|, + lastUpdated => 1149654954, + }, + + 'answer_loop' => { + message => q|A loop containing the answers and responses for this question.|, + lastUpdated => 1149654954, + }, + + 'answer.isCorrect' => { + message => q|A boolean indicating whether this answer is marked correct.|, + lastUpdated => 1149654954, + }, + + 'answer' => { + message => q|The answer itself.|, + lastUpdated => 1149654954, + }, + + 'answer.response.count' => { + message => q|The total number of responses given for this answer.|, + lastUpdated => 1149654954, + }, + + 'answer.response.percent' => { + message => q|The percent of responses to this question that went to this answer.|, + lastUpdated => 1149654954, + }, + + 'comment_loop' => { + message => q|A loop that contains all of the comments for this answer.|, + lastUpdated => 1149654954, + }, + + 'answer.comment' => { + message => q|A comment.|, + lastUpdated => 1149654954, + }, + '1092' => { - message => q|The following are the variables available in this template: -
- -title
-The default title for this report.
-
answer.label
-The default label for answer_loop.
-
response.count.label
-The default label for response.count.
-
response.percent.label
-The default label for response.percent.
-
show.responses.label
-The default label that will display responses.
-
show.comments.label
-The default label that will display comments.
-
question_loop
-A loop containing questions.
-
question
-The question itself.
-
question.id
-The unique identifier for this question.
-
question.isRadioList
-A boolean indicating whether the answer for this question is a radio list.
-
question.response.total
-The total number of responses for this answer.
-
question.allowComment
-A boolean indicating whether this question allows comments.
-
answer_loop
-A loop containing the answers and responses for this question.
-
answer.isCorrect
-A boolean indicating whether this answer is marked correct.
-
answer
-The answer itself.
-
answer.response.count
-The total number of responses given for this answer.
-
answer.response.percent
-The percent of responses to this question that went to this answer.
-
comment_loop
-A loop that contains all of the comments for this answer.
-
answer.comment
-A comment.
-
The following are the variables available in this template:
+|, + lastUpdated => 1149655216 }, 'overview template' => { diff --git a/t/i18n/label.t b/t/i18n/label.t index 5775a26f8..c3b7e57a6 100644 --- a/t/i18n/label.t +++ b/t/i18n/label.t @@ -204,16 +204,14 @@ sub getHelpLabels { entry=>$entry, tag=>'variables', namespace=>$namespace, - label=>$variable->{name}, }; + if ($variable->{description}) { + $one->{label} = $variable->{description}, + } + else { + $one->{label} = $variable->{name}, + } push @helpLabels, $one; - push @helpLabels, { - topic=>$topic, - entry=>$entry, - tag=>'variables', - namespace=>$namespace, - label=>$variable->{description}, - } if $variable->{description}; } } }