{* $Id$ *} {* Note: if you edit this file, make sure to make corresponding edits on tiki-edit_article.tpl *} {include file='tiki-articles-js.tpl'} {if $preview}

{tr}Preview{/tr}

{include file='article.tpl'} {/if} {if $subId} {title help="Articles" admpage="articles" url="tiki-edit_submission.php?subId=$subId"}{tr}Edit:{/tr} {$arttitle}{/title} {else} {title help="Articles" admpage="articles"}{tr}Submit article{/tr}{/title} {/if}
{button href="tiki-list_submissions.php" _icon_name="list" _class="btn-info" _text="{tr}List submissions{/tr}"}
{remarksbox type="tip" title="{tr}Tip{/tr}"} {tr}Use ...page... to separate pages in a multi-page post{/tr} {/remarksbox}
{tr}Fields with * are optional{/tr} {if $types.$type.show_topline eq 'y'}, {tr}Topline=small line above Title{/tr}{/if} {if $types.$type.show_subtitle eq 'y'}, {tr}Subtitle=small line below Title{/tr}{/if} {if $types.$type.show_linkto eq 'y'}, {tr}Source=URL to article source{/tr}{/if}

{if $linkto neq ''}{tr}View{/tr}{/if}
{if $prefs.feature_multilingual eq 'y'}
{/if}
{if $tiki_p_admin_cms eq 'y'} {tr}Admin Topics{/tr} {/if}
{if $tiki_p_admin_cms eq 'y'} {tr}Admin Types{/tr} {/if}
{if $hasImage eq 'y'}
{$image_name} [{$image_type}] ({$image_size} {tr}bytes{/tr})
{if $imageIsChanged eq 'y'} {tr}Article image{/tr} {else} {tr}Article image{/tr} {/if}
{/if}
{tr}pixels{/tr}
{tr}pixels{/tr}
{if $prefs.feature_cms_templates eq 'y' and $tiki_p_use_content_templates eq 'y' and $templates|@count ne 0}
{/if} {include file='categorize.tpl'}
{if $types.$type.heading_only eq 'y'} {textarea name="heading" rows="5" cols="80" Height="200px" id="subheading" class="form-control"}{$heading}{/textarea} {else} {textarea _simple="y" name="heading" rows="5" cols="95" Height="200px" id="subheading" comments="y"}{$heading}{/textarea} {/if}
{textarea name="body" id="body"}{$body}{/textarea}
{html_select_date prefix="publish_" time=$publishDate start_year="-10" end_year="+10" field_order=$prefs.display_field_order} {tr}at{/tr} {html_select_time prefix="publish_" time=$publishDate display_seconds=false use_24_hours=$use_24hr_clock}   {$siteTimeZone}
{html_select_date prefix="expire_" time=$expireDate start_year="-10" end_year="+10" field_order=$prefs.display_field_order} {tr}at{/tr} {html_select_time prefix="expire_" time=$expireDate display_seconds=false use_24_hours=$use_24hr_clock}   {$siteTimeZone}
{if $tiki_p_use_HTML eq 'y'} {if $smarty.session.wysiwyg neq 'y'}
{tr}If not enabled, Tiki will retain some HTML tags (a, p, pre, img, hr, b, i){/tr}.
{else} {/if} {/if} {if $prefs.feature_cms_emails eq 'y' and $articleId eq 0}

{if !empty($userEmail) and $userEmail ne $prefs.sender_email} {tr}From:{/tr} {$userEmail|escape} {$prefs.sender_email|escape} {/if}
{/if} {include file='freetag.tpl'} {if isset($all_attributes)} {foreach from=$all_attributes item=att key=attname} {assign var='attid' value=$att.itemId|replace:'.':'_'} {assign var='attfullname' value=$att.itemId}
{/foreach} {/if}
{if $prefs.feature_antibot eq 'y'}
{include file='antibot.tpl' antibot_table='y'}

{/if} {if $tiki_p_autoapprove_submission eq 'y'} {/if}
{if $smarty.session.wysiwyg neq 'y'} {jq} $("#editpageform").submit(function(evt) { var isHtml = false; if (this.saving && !$("input[name=allowhtml]:checked").length) { $("textarea", this).each(function(){ if ($(this).val().match(/<([A-Z][A-Z0-9]*)\b[^>]*>(.*?)<\/\1>/i)) { isHtml = true; } }); if (isHtml) { this.saving = false; return confirm(tr('You appear to be using HTML in your article but have not selected "Allow full HTML".\nThis will result in HTML tags being removed.\nDo you want to save your edits anyway?')); } } return true; }).attr('saving', false); {/jq} {/if}