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:
parent
0db3db2e37
commit
e9c6e27ddb
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ class Handler_Public extends Handler {
|
|||
if ($line['note']) {
|
||||
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
||||
$content;
|
||||
}
|
||||
$tpl->setVariable('ARTICLE_NOTE', htmlspecialchars($line['note']), true);
|
||||
}
|
||||
|
||||
$tpl->setVariable('ARTICLE_CONTENT', $content, true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue