summaryrefslogtreecommitdiff
path: root/templates/print.tpl
blob: 904a8d7bf8c6e2087574cc91c0cf8bcfbacfe8e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{include file="bitpackage:kernel/header.tpl"}

<div id="bitprint">
{strip}
<div class="display wiki">
	<div class="floaticon"> <!-- Actions -->
		{if $gContent->hasUpdatePermission()}
			<a href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$gContent->mInfo.page_id}">{biticon ipackage="icons" iname="document-properties" iexplain="edit"}</a>
		{/if}
		{if $gBitSystem->isPackageActive( 'pdf' ) && $gContent->hasUserPermission( 'p_pdf_generation' )}
			<a title="{tr}create PDF{/tr}" href="{$smarty.const.PDF_PKG_URL}?page_id={$gContent->mInfo.page_id}">{biticon ipackage="pdf" iname="pdf" iexplain="PDF"}</a>
		{/if}
	</div> <!-- End Actions -->

	{if $gContent->mInfo.title}
		<div class="header"><h1>{$gContent->mInfo.title|escape}</h1></div>
	{/if}

	<div class="body">
		<div class="content">
			{if $gBitSystem->isFeatureActive( 'liberty_auto_display_attachment_thumbs' )}
				{include file="bitpackage:liberty/storage_thumbs.tpl"}
			{/if}
			{$gContent->mInfo.parsed_data}
		</div>
	</div>
</div>
{/strip}
</div>

{include file="bitpackage:kernel/footer.tpl"}