Mofo!, had to fix the "show" action

This commit is contained in:
briandilley 2004-11-02 06:52:06 +00:00
parent c1070d02f3
commit 1410c9d0e8

View File

@ -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);