mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 11:05:56 +00:00
Update public.php
Adding ability to access ARTICLE_NOTE directly in themes. Needed in a project of sharing RSS with notes in a specific atom field.
This commit is contained in:
@@ -65,7 +65,8 @@ class Handler_Public extends Handler {
|
|||||||
if ($line['note']) {
|
if ($line['note']) {
|
||||||
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
||||||
$content;
|
$content;
|
||||||
}
|
$tpl->setVariable('ARTICLE_NOTE', htmlspecialchars($line['note']), true);
|
||||||
|
}
|
||||||
|
|
||||||
$tpl->setVariable('ARTICLE_CONTENT', $content, true);
|
$tpl->setVariable('ARTICLE_CONTENT', $content, true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user