document macros for subscription items

This commit is contained in:
Colin Kuskie 2005-04-03 18:03:20 +00:00
parent c2c16438f1
commit 30b05c41c4
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,18 @@
package WebGUI::Help::SubscriptionItem;
our $HELP = {
'subscription item' => {
title => 'subscription item title',
body => 'subscription item body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::SubscriptionItemPurchaseUrl;
our $HELP = {
'subscription item purchase url' => {
title => 'subscription item purchase url title',
body => 'subscription item purchase url body',
related => [
{
tag => 'macros using',
namespace => 'Macros'
},
]
},
};
1;

View file

@ -0,0 +1,43 @@
package WebGUI::i18n::English::SubscriptionItem;
our $I18N = {
'subscription item title' => {
message => q|Subscription Item Macro|,
lastUpdated => 1112547248,
},
'subscription item body' => {
message => q|
<b>&#94;SubscriptionItem(<i>subscriptionId</i>,[<i>templateId</i>]);</b><br>
This macro is used to display information about subscription items from your site.
It accepts two arguments, the Id of the subscription item and an optional
template to use instead of the default template, specified by a template Id
from the Macro/SubscriptionItem namespace.
<p>
These variables are available in the template:<p>
<p/>
<b>url</b><br/>
The URL to purchase a subscription to this item.
<p/>
<b>name</b><br/>
The name of the item.
<p/>
<b>description</b><br/>
The description of the item.
<p/>
<b>price</b><br/>
The price of the item.
|,
lastUpdated => 1112547249,
},
};
1;

View file

@ -0,0 +1,21 @@
package WebGUI::i18n::English::SubscriptionItemPurchaseUrl;
our $I18N = {
'subscription item purchase url title' => {
message => q|Subscription Item Purchase URL Macro|,
lastUpdated => 1112548245,
},
'subscription item purchase url body' => {
message => q|
<b>&#94;SubscriptionItemPurchaseUrl(<i>subscriptionId</i>);</b><br>
This macro fetches the URL to purchase a subscription item identified
by its subscriptionId.
|,
lastUpdated => 1112548242,
},
};
1;