asset variables, ISA relationships and variable cleanup for Message Board

This commit is contained in:
Colin Kuskie 2007-01-16 23:56:49 +00:00
parent 13436cc1e5
commit fc17d22dac
2 changed files with 105 additions and 72 deletions

View file

@ -6,8 +6,8 @@ our $HELP = {
body => '71', body => '71',
isa => [ isa => [
{ {
namespace => "Asset_Wobject", namespace => 'Asset_Wobject',
tag => "wobject add/edit" tag => 'wobject add/edit',
}, },
], ],
fields => [ fields => [
@ -20,144 +20,170 @@ our $HELP = {
{ {
title => '73', title => '73',
namespace => 'Asset_MessageBoard', namespace => 'Asset_MessageBoard',
description => '73 description' description => '73 description',
}, },
], ],
related => [ related => [
{ {
tag => 'message board template', tag => 'message board template',
namespace => 'Asset_MessageBoard' namespace => 'Asset_MessageBoard',
}, },
{ {
tag => 'wobjects using', tag => 'wobjects using',
namespace => 'Asset_Wobject' namespace => 'Asset_Wobject',
} },
] ],
}, },
'message board template' => { 'message board template' => {
title => '73', title => '73',
body => '74', body => '74',
isa => [
{
namespace => 'Asset_MessageBoard',
tag => 'message board asset template variables',
},
{
namespace => 'Asset_Template',
tag => 'template variables',
},
{
namespace => 'Asset',
tag => 'asset template',
},
],
variables => [ variables => [
{ {
'name' => 'forum.add.url' 'name' => 'forum.add.url',
}, },
{ {
'name' => 'forum.add.label' 'name' => 'forum.add.label',
}, },
{ {
'name' => 'title.label' 'name' => 'title.label',
}, },
{ {
'name' => 'views.label' 'name' => 'views.label',
}, },
{ {
'name' => 'rating.label' 'name' => 'rating.label',
}, },
{ {
'name' => 'threads.label' 'name' => 'threads.label',
}, },
{ {
'name' => 'replies.label' 'name' => 'replies.label',
}, },
{ {
'name' => 'lastpost.label' 'name' => 'lastpost.label',
}, },
{ {
'name' => 'forum_loop', 'name' => 'forum_loop',
'variables' => [ 'variables' => [
{ {
'name' => 'forum.controls' 'name' => 'forum.controls',
}, },
{ {
'name' => 'forum.count' 'name' => 'forum.count',
}, },
{ {
'name' => 'forum.title' 'name' => 'forum.title',
}, },
{ {
'name' => 'forum.description' 'name' => 'forum.description',
}, },
{ {
'name' => 'forum.replies' 'name' => 'forum.replies',
}, },
{ {
'name' => 'forum.rating' 'name' => 'forum.rating',
}, },
{ {
'name' => 'forum.views' 'name' => 'forum.views',
}, },
{ {
'name' => 'forum.threads' 'name' => 'forum.threads',
}, },
{ {
'name' => 'forum.url' 'name' => 'forum.url',
}, },
{ {
'name' => 'forum.lastpost.url' 'name' => 'forum.lastpost.url',
}, },
{ {
'name' => 'forum.lastpost.date' 'name' => 'forum.lastpost.date',
}, },
{ {
'name' => 'forum.lastpost.time' 'name' => 'forum.lastpost.time',
}, },
{ {
'name' => 'forum.lastpost.epoch' 'name' => 'forum.lastpost.epoch',
}, },
{ {
'name' => 'forum.lastpost.subject' 'name' => 'forum.lastpost.subject',
}, },
{ {
'name' => 'forum.lastpost.user.hasread' 'name' => 'forum.lastpost.user.hasread',
}, },
{ {
'name' => 'forum.lastpost.user.id' 'name' => 'forum.lastpost.user.id',
}, },
{ {
'name' => 'forum.lastpost.user.name' 'name' => 'forum.lastpost.user.name',
}, },
{ {
'name' => 'forum.lastpost.user.alias' 'name' => 'forum.lastpost.user.alias',
}, },
{ {
'name' => 'forum.lastpost.user.profile' 'name' => 'forum.lastpost.user.profile',
}, },
{ {
'name' => 'forum.lastpost.user.isVisitor' 'name' => 'forum.lastpost.user.isVisitor',
}, },
{ {
'name' => 'forum.user.canView' 'name' => 'forum.user.canView',
}, },
{ {
'name' => 'forum.user.canPost' 'name' => 'forum.user.canPost',
} },
] ],
}, },
{ {
'name' => 'default.listing' 'name' => 'default.listing',
}, },
{ {
'name' => 'default.description' 'name' => 'areMultipleForums',
}, },
{
'name' => 'default.title'
},
{
'name' => 'default.controls'
},
{
'name' => 'areMultipleForums'
}
], ],
fields => [ fields => [
], ],
related => [ related => [
],
},
'message board asset template variables' => {
title => 'message board asset template variables title',
body => 'message board asset template variables body',
isa => [
{ {
tag => 'wobject template', namespace => 'Asset_Wobject',
namespace => 'Asset_Wobject' tag => 'wobject template variables',
} },
] ],
} fields => [
],
variables => [
{
'name' => 'visitorCacheTimeout',
},
{
'name' => 'templateId',
},
],
related => [
],
},
}; };
1; 1;

View file

@ -171,21 +171,6 @@ our $I18N = {
lastUpdated => 1149632734, lastUpdated => 1149632734,
}, },
'default.description' => {
message => q|The description of the default forum.|,
lastUpdated => 1149632734,
},
'default.title' => {
message => q|The title of the default forum.|,
lastUpdated => 1149632734,
},
'default.controls' => {
message => q|The editing controls for the default forum.|,
lastUpdated => 1149632734,
},
'areMultipleForums' => { 'areMultipleForums' => {
message => q|A conditional indicating whether there is more than one forum.|, message => q|A conditional indicating whether there is more than one forum.|,
lastUpdated => 1149632734, lastUpdated => 1149632734,
@ -208,10 +193,10 @@ our $I18N = {
}, },
'71' => { '71' => {
message => q|<p>Message boards can contain one or more Forums and/or Discussion Boards, are a great way to add community to any site or intranet. Many companies use message boards internally to collaborate on projects. message => q|<p>Message boards can contain one or more Forums and/or Discussion Boards. They are a great way to add community to any site or intranet. Many companies use message boards internally to collaborate on projects.
</p> </p>
|, |,
lastUpdated => 1146776095 lastUpdated => 1168991147
}, },
'61' => { '61' => {
@ -269,6 +254,28 @@ our $I18N = {
lastUpdated => 1109806115, lastUpdated => 1109806115,
}, },
'message board asset template variables title' => {
message => q|Message Board Asset Template Variables|,
lastUpdated => 1164841146
},
'message board asset template variables body' => {
message => q|Every asset provides a set of variables to most of its
templates based on the internal asset properties. Some of these variables may
be useful, others may not.|,
lastUpdated => 1164841201
},
'visitorCacheTimeout' => {
message => q|The amount of time this article will be cached for the Visitor user.|,
lastUpdated => 1164841027
},
'templateId' => {
message => q|The Id of the template used to display this Asset.|,
lastUpdated => 1164841027
},
}; };
1; 1;