{* $Id$ *}
{if !isset($hide_page_header) or !$hide_page_header}
{if $prefs.wiki_page_name_above eq 'y' and $print_page ne 'y'} {$page|escape}        {* The hard-coded spaces help selecting the page name for inclusion in a wiki link *} {/if} {if $prefs.feature_wiki_pageid eq 'y' and $print_page ne 'y'} {tr}page id:{/tr} {$page_id} {/if} {breadcrumbs type="desc" loc="page" crumbs=$crumbs} {if $cached_page eq 'y'}({tr}Cached{/tr}){/if} {if $is_categorized eq 'y' and $prefs.feature_categories eq 'y' and $prefs.feature_categorypath eq 'y' and $tiki_p_view_category eq 'y'} {$display_catpath} {/if}
{/if} {*hide_page_header*} {if $pdf_export eq 'y'} {/if}
{* div.content *}
{* div.wikitopline *} {if !isset($versioned) and $print_page ne 'y'}
{strip}
{* Show language dropdown only if there is more than 1 language or user has right to edit *} {if ($tiki_p_admin eq 'y' or $tiki_p_admin_wiki eq 'y' or $tiki_p_edit eq 'y' or $tiki_p_edit eq 'y' or $tiki_p_edit_inline eq 'y') or (isset($translationsCount) and $translationsCount gt 1)} {if $prefs.feature_multilingual eq 'y' && $prefs.show_available_translations eq 'y' && $machine_translate_to_lang eq '' } {include file='translated-lang.tpl' object_type='wiki page'} {/if} {/if} {* if we want a ShareThis icon and we want it displayed prominently *} {if $prefs.feature_wiki_sharethis eq "y" and $prefs.wiki_sharethis_encourage eq "y"} {* Similar as in the blogs except there can be only one per page, so it is simpler *}
{literal} {/literal}
{/if} {if $prefs.feature_backlinks eq 'y' and $backlinks|default:null and $tiki_p_view_backlink eq 'y'} {if ! $js}{/if}
{/if} {if $structure eq 'y' or ( $structure eq 'n' and count($showstructs) neq 0 )}
{if ! $js}
{if ! $js}{/if}
{/if} {* all single-action icons under one dropdown*} {assign var="hasPageAction" value="0"} {capture name="pageActions"} {if ! $js}{/if} {/capture} {if $hasPageAction eq '1'}
{$smarty.capture.pageActions}
{/if}
{* END of wikiactions *} {/strip} {/if}