{title help="Blogs"}{tr}Send blog post{/tr}{/title}

<div class="navbar">
	{button href="tiki-view_blog.php?find=$find&amp;blogId=$blogId&amp;offset=$offset&amp;sort_mode=$sort_mode" _text="{tr}Return to blog{/tr}"}
</div>

{if $sent eq 'y'}
  <h3>{tr}A link to this post was sent to the following addresses:{/tr}</h3>
  <div class="wikitext">
    {$addresses}
  </div>
{else}
	<h3>{tr}Send post to this addresses{/tr}</h3>
	<form method="post" action="tiki-send_blog_post.php">
	<input type="hidden" name="postId" value="{$postId|escape}" />
	<table class="normal">
	<tr>
		<td class="formcolor">{tr}List of email addresses separated by commas{/tr}</td>
		<td class="formcolor"><textarea cols="60" rows="5" name="addresses">{$addresses|escape}</textarea></td>
	</tr>
	<tr>
		<td class="formcolor" colspan="2" style="text-align:center;"><input type="submit" name="send" value="{tr}Send{/tr}" /></td>
	</tr>
	</table>
	</form>
{/if}	
<div class="posthead">
<table ><tr><td align="left">
<span class="posthead">
{if $blog_data.use_title eq 'y'}
	{$post_info.title}<br />
	<small> {tr}Posted by{/tr} {$post_info.user} on {$post_info.created|tiki_short_datetime}</small>
{else}
	{$post_info.created|tiki_short_datetime}<small> {tr}Posted by{/tr} {$post_info.user}</small>
{/if}
</span>
</td><td align="right">
{if ($ownsblog eq 'y') or ($user and $post_info.user eq $user) or $tiki_p_blog_admin eq 'y'}
<a class="blogt" href="tiki-blog_post.php?blogId={$post_info.blogId}&amp;postId={$post_info.postId}">{icon _id='page_edit'}</a> &nbsp;
<a class="blogt" href="tiki-view_blog.php?blogId={$post_info.blogId}&amp;remove={$post_info.postId}">{icon _id='cross' alt='{tr}Remove{/tr}'}</a>
{/if}
</td></tr></table>
</div>
<div class="postbody">
{$parsed_data}
<hr/>
<table >
<tr><td>
<small>
<a class="link" href="tiki-view_blog_post.php?blogId={$blogId}&amp;postId={$postId}">{tr}Permalink{/tr}</a>
({tr}referenced by{/tr}: {$post_info.trackbacks_from_count} {tr}Posts{/tr} {tr}references{/tr}: {$post_info.trackbacks_to_count} {tr}Posts{/tr})
{if $allow_comments eq 'y' and $prefs.feature_blogposts_comments eq 'y'}
{$listpages[ix].comments} {tr}comments{/tr}
 [<a class="link" href="tiki-view_blog_post.php?find={$find}&amp;blogId={$blogId}&amp;offset={$offset}&amp;sort_mode={$sort_mode}&amp;postId={$listpages[ix].postId}">{tr}View Comments{/tr}</a>]
{/if}
</small>
</td><td style='text-align:right'>
<a href='tiki-print_blog_post.php?postId={$postId}'>{icon _id='printer' alt='{tr}Print{/tr}'}</a>
<a href='tiki-send_blog_post.php?postId={$postId}'>{icon _id='email' alt='{tr}Email This Post{/tr}'}</a>
</td></tr></table>
</div>
