Mofo!, had to fix the "show" action
This commit is contained in:
parent
c1070d02f3
commit
1410c9d0e8
@ -101,7 +101,9 @@ if ($action eq "add") {
|
|||||||
} else {
|
} else {
|
||||||
$vars{TITLE} = "Kwote \#$kwote->{'id'}";
|
$vars{TITLE} = "Kwote \#$kwote->{'id'}";
|
||||||
$vars{KWOTE_ID} = $kwote->{'id'};
|
$vars{KWOTE_ID} = $kwote->{'id'};
|
||||||
$vars{KWOTE_TEXT} = html_escape($kwote->{'content'});
|
$vars{KWOTE_TEXT_HTML} = html_escape($kwote->{'content'});
|
||||||
|
$vars{KWOTE_TEXT_XML} = xml_escape($kwote->{'content'});
|
||||||
|
$vars{KWOTE_TEXT_PLAIN} = $kwote->{'content'};
|
||||||
$vars{KWOTE_RATING} = $kwote->{'rating'};
|
$vars{KWOTE_RATING} = $kwote->{'rating'};
|
||||||
$main_content = wrap_template($template, "content-show-kwote.html", %vars);
|
$main_content = wrap_template($template, "content-show-kwote.html", %vars);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user