* @link https://www.dokuwiki.org/template:mnml-blog
* @link https://www.dokuwiki.org/plugin:blogtng
*/
?>
tpl_link();
echo "\" class=\"postdate\">";
$entry->tpl_created("%Y-%m-%d");
echo "tpl_link();
echo "\"> // ".$entry->entry["title"]."";
//show entry
$entry->tpl_entry(//included
true,
//readmore (where to cut valid)
false,
//inc level
false,
//skip header
true); ?>
entry["commentstatus"] !== "disabled") {
//show existing comments
if (!$entry->commenthelper){
$entry->commenthelper =& plugin_load("helper", "blogtng_comments");
}
if ($entry->commenthelper->get_count() >= 1){
echo "\n
\n
".$entry->getLang("comments")."
\n";
$entry->tpl_comments($entry->entry["blog"]);
echo "\n \n";
}
//show form to leave a comment
if ($entry->entry["commentstatus"] !== "closed") {
echo "\n
\n
Leave a comment…
\n";
$entry->tpl_commentform();
echo " \n"
."
\n";
echo "\n
\n";
} else {
echo "\n
\n
Comments are closed
\n"
."\n \n";
}
} else {
echo "\n
\n
Comments are disabled
\n"
."\n \n";
}
?>