{else}
{title}{tr}Update '{$page}'{/tr}{/title}
{/if}
{/block}
{block name=content}
{if $page|lower neq 'sandbox' and $prefs.feature_contribution eq 'y' and $prefs.feature_contribution_mandatory eq 'y'}
{remarksbox type='tip' title="{tr}Tip{/tr}"}
{tr}Fields marked with an * are mandatory.{/tr}
{/remarksbox}
{/if}
{if isset($customTip)}
{remarksbox type='tip' title=$customTipTitle}
{tr}{$customTip|escape}{/tr}
{/remarksbox}
{/if}
{if isset($wikiHeaderTpl)}
{$wikiHeaderTpl}
{/if}
{if $prefs.ajax_autosave eq "y"}
{self_link _icon_name="view" _class="previewBtn tips" _ajax="n" _title=":{tr}Preview your changes{/tr}"}
{/self_link}
{jq} $(".previewBtn").click(function(){
auto_save('editwiki', autoSaveId);
if ($('#autosave_preview:visible').length === 0) {
if (!ajaxPreviewWindow) {
setCookie("preview_diff_style", "", "preview", "session");
$("#preview_diff_style").val("").trigger("change.select2");
$('#autosave_preview').slideDown('slow', function(){ ajax_preview( 'editwiki', autoSaveId, true );});
}
} else {
ajax_preview( 'editwiki', autoSaveId, true );
}
return false;
});{/jq}
{else}
{/if}
{if isset($data.draft)}
{tr}Draft written on{/tr} {$data.draft.lastModif|tiki_long_time}
{if $data.draft.lastModif < $data.lastModif}
{tr}Warning: new versions of this page have been made after this draft{/tr}
{/if}
{/if}
{if $page|lower eq 'sandbox'}
{remarksbox type='tip' title="{tr}Tip{/tr}"}
{tr}The Sandbox is a page where you can practice editing, etc. and use the preview feature to check the appearance of the page. No versions are stored for this page.{/tr}
{/remarksbox}
{/if}
{if isset($included_by)}
{remarksbox type='Warning' title="{tr}Warning{/tr}"}
{tr}The following item(s) include this one with Plugin Include and might be affected by these changes. Renaming sections can break related item(s).{/tr}
{include file='tiki-edit-page-included_by.tpl'}
{/remarksbox}
{/if}
{if $category_needed eq 'y'}
{remarksbox type='Warning' title="{tr}Warning{/tr}"}