| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
global $template; |
|---|
| 4 |
global $template_definition; |
|---|
| 5 |
|
|---|
| 6 |
$template_definition[] = array( |
|---|
| 7 |
'id' => 'rsspost', |
|---|
| 8 |
'name' => __gettext("Feed Post"), |
|---|
| 9 |
'description' => __gettext("A template for each post in a feed."), |
|---|
| 10 |
'glossary' => array( |
|---|
| 11 |
'{{title}}' => __gettext('Post title'), |
|---|
| 12 |
'{{body}}' => __gettext('The text of the post'), |
|---|
| 13 |
'{{usericon}}' => __gettext('An icon for the user'), |
|---|
| 14 |
'{{fullname}}' => __gettext('The feed name'), |
|---|
| 15 |
'{{tagline}}' => __gettext('A short description of the feed'), |
|---|
| 16 |
'{{link}}' => __gettext('A link to the post'), |
|---|
| 17 |
'{{sitelink}}' => __gettext('A link to the host site'), |
|---|
| 18 |
'{{feedlink}}' => __gettext('A link to the host feed'), |
|---|
| 19 |
'{{controls}}' => __gettext('Buttons to subscribe or unsubscribe') |
|---|
| 20 |
|
|---|
| 21 |
) |
|---|
| 22 |
); |
|---|
| 23 |
|
|---|
| 24 |
$postedby = __gettext("Added"); |
|---|
| 25 |
$template['rsspost'] = <<< END |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
<div class="feeds"> |
|---|
| 29 |
<div class="feed_content"> |
|---|
| 30 |
<h5><a href="{{link}}">{{title}}</a></h5> |
|---|
| 31 |
<p>{{body}}</p> |
|---|
| 32 |
<div class="via"><p>via <a href="{{sitelink}}">{{fullname}}</a></p></div> |
|---|
| 33 |
</div> |
|---|
| 34 |
</div> |
|---|
| 35 |
<div class="clearing"></div><br /> |
|---|
| 36 |
END; |
|---|
| 37 |
|
|---|
| 38 |
?> |
|---|