{* $Header: /cvsroot/bitweaver/_bit_blogs/templates/blog_post.tpl,v 1.32 2007/10/18 08:24:52 squareing Exp $ *} {strip}

{tr}Edit Post{/tr}

{if $preview eq 'y'}

Preview {$title}

{include file="bitpackage:blogs/view_blog_post.tpl"}
{/if} {form enctype="multipart/form-data" id="editpageform"} {jstabs} {jstab title="Blog Post"} {legend legend="Post"} {if !$blog_data.use_title OR $blog_data.use_title eq 'y'}
{formlabel label="Title" for="title"} {forminput} {formhelp note="When you leave the title blank, the current date will be substituted automagically."} {/forminput}
{/if}
{formlabel label="Summary" for="summary"} {forminput} {formhelp note="Description used in listings and search results. If left empty, the first few sentences of the body text will be used."} {/forminput}
{if $gBitSystem->isFeatureActive( 'blog_posts_autosplit' )} {include file="bitpackage:liberty/edit_format.tpl"} {formlabel label="Intro" for="edit"} {formhelp note="Text entered here is the top half of your post."} {textarea noformat="y"}{$post_info.raw}{/textarea} {formlabel label="Body" for="edit_body"} {formhelp note="Text entered here will be displayed in the full blog post, commonly known as the Read More section."} {textarea id="edit_body" name="edit_body" noformat="y"}{$post_info.raw_more}{/textarea} {else} {textarea}{$post_info.raw}{/textarea} {/if} {if $availableBlogs}
{formlabel label="Include in Blogs" for=""} {forminput} {if count($availableBlogs) > 10} {else} {foreach from=$availableBlogs key=blogContentId item=availBlogTitle} mInfo.blogs.$blogContentId || $blogContentId == $smarty.request.blog_id}checked="checked"{/if} /> {$availBlogTitle|escape}
{/foreach} {/if} {formhelp note="You can cross post to any and all of the blogs listed above.
Just check off the blogs you wish this post to also show up in."} {/forminput}
{/if} {include file="bitpackage:liberty/edit_services_inc.tpl serviceFile=content_edit_mini_tpl} {include file="bitpackage:liberty/edit_storage_list.tpl"}
 
{/legend} {/jstab} {include file="bitpackage:liberty/edit_services_inc.tpl serviceFile=content_edit_tab_tpl} {if $gBitUser->hasPermission('p_liberty_attach_attachments') } {jstab title="Attachments"} {legend legend="Attachments"} {include file="bitpackage:liberty/edit_storage.tpl"} {/legend} {/jstab} {/if} {jstab title="Advanced Options"} {legend legend="Publication and Expiration Dates"}
{formlabel label="Publish Date" for=""} {forminput} {html_select_date prefix="publish_" time=$post_info.publish_date start_year="-5" end_year="+10"} {tr}at{/tr}  {html_select_time prefix="publish_" time=$post_info.publish_date display_seconds=false} {$siteTimeZone} {formhelp note="This post will not be displayed before this date."} {/forminput}
{formlabel label="Expiration Date" for=""} {forminput} {html_select_date prefix="expire_" time=$post_info.expire_date start_year="-5" end_year="+10"} {tr}at{/tr}  {html_select_time prefix="expire_" time=$post_info.expire_date display_seconds=false} {$siteTimeZone} {formhelp note="If this date is set after the publish date, this post will not be displayed after the expiration date."} {/forminput}
{/legend} {legend legend="Trackbacks"}
{formlabel label="Send trackback pings" for="trackback"} {forminput} {formhelp note="Insert a comma separated list of URIs to send blogs."} {/forminput}
{/legend} {/jstab} {/jstabs} {/form}
{/strip}