- Added a forum.lastPost.user.hasRead variable to the Message Board template.
This commit is contained in:
parent
24a2d8b760
commit
8818309eaa
4 changed files with 10 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ sub view {
|
|||
'forum.lastPost.time' => $self->session->datetime->epochToHuman($lastPost->get("dateSubmitted"),"%Z"),
|
||||
'forum.lastPost.epoch' => $lastPost->get("dateSubmitted"),
|
||||
'forum.lastPost.subject' => $lastPost->get("title"),
|
||||
'forum.lastPost.user.hasRead' => $lastPost->getThread->isMarkedRead,
|
||||
'forum.lastPost.user.id' => $lastPost->get("ownerUserId"),
|
||||
'forum.lastPost.user.name' => $lastPost->get("username"),
|
||||
'forum.lastPost.user.alias' => $lastPost->get("username"),
|
||||
|
|
|
|||
|
|
@ -101,6 +101,9 @@ our $HELP = {
|
|||
{
|
||||
'name' => 'forum.lastpost.subject'
|
||||
},
|
||||
{
|
||||
'name' => 'forum.lastpost.user.hasread'
|
||||
},
|
||||
{
|
||||
'name' => 'forum.lastpost.user.id'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -101,6 +101,11 @@ our $I18N = {
|
|||
lastUpdated => 1149632734,
|
||||
},
|
||||
|
||||
'forum.lastpost.user.hasread' => {
|
||||
message => q|A boolean indicating whether the user has read the last post in the forum.|,
|
||||
lastUpdated => 1149632734,
|
||||
},
|
||||
|
||||
'forum.lastpost.url' => {
|
||||
message => q|The url to view the last post in this forum.|,
|
||||
lastUpdated => 1149632734,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue