<{include file="db:`$mydirname`_inc_header.html"}> <{if $isDelete}>

## <{$entry.title}> - <{$smarty.const._MD_D3BLOG_LANG_CONFIRM_DELETE}>

### <{$smarty.const._MD_D3BLOG_MESSAGE_ARE_YOU_SURE_TO_DELETE}>

<{$smarty.const._MD_D3BLOG_LANG_CATEGORY_NAME}>
  <{$categories[$form.cid_].name}>
<{$smarty.const._MD_D3BLOG_LANG_BLOG_TITLE}>
  <{$entry.title}>

<{$gticket_hidden}>
<{else}> <{if $isPreview and !$isError}>

## <{$entry.title}> - <{$smarty.const._MD_D3BLOG_LANG_POST_PREVIEW}>

<{include file="db:`$mydirname`_inc_entry.html"}>
<{/if}>

## <{$smarty.const._MD_D3BLOG_LANG_POST_ENTRY}>

<{$form_error}>
<{$smarty.const._MD_D3BLOG_MESSAGE_TICKET_LIFETIME|replace:"%d":$moduleConfig.ticket_lifetime}> <{$gticket_hidden}> <{$smarty.const._MD_D3BLOG_LANG_BLOG_TITLE}>
<{$smarty.const._MD_D3BLOG_LANG_CATEGORY}>
<{php}> $this->assign( 'common_fck_installed' , file_exists( XOOPS_ROOT_PATH.'/common/fckeditor/fckeditor.js' ) ) ; <{/php}> <{$smarty.const._MD_D3BLOG_LANG_BLOG_CONTENTS}> <{if $moduleConfig.wysiwyg_editor }> <{if $moduleConfig.wysiwyg_editor eq 1 && ! $common_fck_installed && $currentUser.user_perm.allow_html }> <{if $entry.dohtml == "1" && $entry.doxcode!="1" && $entry.dobr!="1" }>
<{else}>
<{/if}> <{/if}> <{/if}>
<{if $moduleConfig.wysiwyg_editor && $currentUser.user_perm.allow_html}> <{if $moduleConfig.wysiwyg_editor eq 1 }> <{* FCK editor *}> <{if $common_fck_installed}> <{$entry.contents4edit}>
<{else}> <{if $entry.dohtml == "1" && $entry.doxcode!="1" && $entry.dobr!="1" }> <{php}> $_makescript = & xoops_getmodulehandler('makescript','myckeditor', true); $params = array('id'=>'contents','editor'=>'html','myckeditor'=>true); if (@is_object( $_makescript )){ $this->assign( 'common_myck_installed' , true ) ; $_makescript->makeheader($params); } <{/php}> <{$entry.contents4edit}>
<{else}> <{php}> $_makescript = & xoops_getmodulehandler('makescript','myckeditor', true); $params = array('id'=>'contents','editor'=>'bbcode','myckeditor'=>true); if (@is_object( $_makescript )){ $this->assign( 'common_myck_installed' , true ) ; $_makescript->makeheader($params); } <{/php}>
<{$smarty.const._MD_D3BLOG_LANG_DISPLAY_XCODE_PALLET}>
<{xoopsdhtmltarea name=contents cols=65 rows=20 value=$entry.contents4edit pre_style="display:none;" post_style="display:none;"}> <{/if}> <{/if}> <{else}> <{* QuickTag *}>
<{$entry.contents4edit}>
<{/if}> <{else}>
<{$smarty.const._MD_D3BLOG_LANG_DISPLAY_XCODE_PALLET}>
<{xoopsdhtmltarea name=contents cols=65 rows=10 value=$entry.contents4edit pre_style="display:none;" post_style="display:none;"}> <{/if}> <{* seperator *}>
<{$smarty.const._MD_D3BLOG_LANG_INSERT_HELP}> <{$smarty.const._MD_D3BLOG_LANG_INSERT_SEPERATOR_ON_CLICK}>
<{* groups *}> <{if $moduleConfig.perm_by_entry}> <{$smarty.const._MD_D3BLOG_LANG_SELECT_GROUPS}>
<{/if}> <{* options *}>
<{$smarty.const._MD_D3BLOG_LANG_ENTRY_OPTIONS}>
<{if $currentUser.user_perm.allow_html}> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_HTML_ENABLE}>
<{/if}> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_XCODE_ENABLE}>
checked="checked"<{/if}> /> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_AUTO_BR}>
checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_SET_PUBLISHABLE}>
<{$smarty.const._MD_D3BLOG_LANG_PUBLISH_DATE}> <{html_select_date time=$form.published_ start_year="-1" end_year="+2" month_format="%m" day_format="%d" field_order="YMD" field_array="published"}> <{html_select_time time=$form.published_ minute_interval="10" display_seconds=false field_array="published"}>
<{if $currentUser.user_perm.blog_autoapprove}> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_UPDATE_PING}>
<{if $moduleConfig.url_by_entry}> <{$smarty.const._MD_D3BLOG_LANG_SELECT_PING_URLS|replace:"%d":$moduleConfig.max_urls}>
<{/if}> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_APPROVE_ENTRY}>
<{else}> <{if !$entry.approved}> checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_NOTIFY_WHEN_APPROVED}>
<{else}> <{$smarty.const._MD_D3BLOG_LANG_APPROVED}> <{/if}> <{/if}>
<{$smarty.const._MD_D3BLOG_LANG_TRACKBACK}>
<{$smarty.const._MD_D3BLOG_LANG_TRACKBACKS_OUTBOUND}>
<{if $entry.trackback.outbound}>
<{foreach item=sent key=tid from=$entry.trackback.outbound name=sentloop}>
<{$smarty.const._DELETE}> checked="checked"<{/if}> /> <{if $sent.url}><{$sent.url}><{else}><{$sent.trackback_url}><{/if}>
<{/foreach}>
<{/if}>
<{$smarty.const._MD_D3BLOG_LANG_TRACKBACK_URL_DESC}>
checked="checked"<{/if}> /><{$smarty.const._MD_D3BLOG_LANG_AUTODISCOVER}>
<{$form.trackback_url_}>
<{if $entry.trackback.inbound}>
<{$smarty.const._MD_D3BLOG_LANG_TRACKBACKS_INBOUND}>
<{foreach item=received key=key from=$entry.trackback.inbound name=tbloop}> <{$smarty.const._DELETE}> checked="checked"<{/if}> /> <{if $moduleConfig.trackback_approval}> <{if $received.approved}> <{$smarty.const._MD_D3BLOG_LANG_APPROVED}> <{else}> <{$smarty.const._MD_D3BLOG_LANG_APPROVAL}> checked="checked"<{/if}> /> <{/if}> <{/if}> <{$received.blog_name|cat:" » "|cat:$received.title}><{*<{$received.title|cat:" : "|cat:$received.excerpt|xoops_substr:"60":"..."}>*}>
<{/foreach}>
<{/if}>
<{if $entry.bid > 0}> <{if ($currentUser.uid eq $entry.uid and $currentUser.user_perm.blog_perm_edit) or $currentUser.user_perm.blog_editor }> <{/if}> <{/if}>
<{/if}>