entry['page'];
$pcasthelper =& plugin_load("helper", "podcast");
$files = array( );
if( $pcasthelper ) {
$p = $pcasthelper->get_info( $page );
if( !$p['nr'] ) {
$path = explode( ':', $page );
$p['nr'] = array_pop( $path ); }
$files = $p['files']; }
?>
tpl_previouslink('« @TITLE@', $entry->entry['page'], true)) { ?>
tpl_nextlink('@TITLE@ »', $entry->entry['page'], true)) { ?>
tpl_link();
echo "\" class=\"postdate\">";
$entry->tpl_created("%Y-%m-%d");
echo "tpl_link();
echo "\"> // ".$entry->entry["title"]."";
$source = array( );
$links = array( );
foreach( $files as $ext => $f ) {
if( !$f['size'] ) continue;
$source[] = "
";
$links[] = "
".$p['nr'].".$ext(".$f['hsize'].")"; }
echo "
";
if( count( $source )) {
echo "
"; }
if( count( $links )) {
echo "
";
echo implode( "\n", $links );
echo "
";
echo "
"; }
//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";
}
?>