summaryrefslogtreecommitdiff
path: root/templates/show_page.tpl
blob: 46de3c22b21ee1135f0252e3cc72d4439be3f0b1 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<div class="display wiki">
	{include file="bitpackage:wiki/page_icons.tpl"}
	{include file="bitpackage:wiki/page_header.tpl"}
	{if $gBitSystem->isPackageActive( 'stickies' )}
		{include file="bitpackage:stickies/display_tikisticky.tpl"}
	{/if}
	{include file="bitpackage:wiki/page_display.tpl"}
	{if $pages > 1}
		<div class="pagination">
			{*<a title="{tr}First page{/tr}" href="index.php?page_id={$pageInfo.page_id}&amp;pagenum={$first_page}">&laquo; &laquo;</a>*}
			<a title="{tr}Previous page{/tr}" href="index.php?page_id={$pageInfo.page_id}&amp;pagenum={$prev_page}">&laquo;</a>
			{tr}Page {$pagenum} of {$pages}{/tr}
			<a title="{tr}Next page{/tr}" href="index.php?page_id={$pageInfo.page_id}&amp;pagenum={$next_page}">&raquo;</a>
			{*<a title="{tr}Last page{/tr}" href="index.php?page_id={$pageInfo.page_id}&amp;pagenum={$last_page}">&raquo; &raquo;</a>*}
		</div>
	{/if} {* end .pagination *}

	{if $footnote}
		{$footnote}
	{/if}

	{if $print_page ne 'y'}
		{include file="bitpackage:wiki/page_action_bar.tpl"}
	{/if}

	{if $gBitSystemPrefs.wiki_feature_copyrights eq 'y'}
		<p class="copyright">
			{if $pageCopyrights}
				{section name=i loop=$pageCopyrights}
					&copy; {$pageCopyrights[i].year} {$pageCopyrights[i].authors} {if $pageCopyrights[i].title} under {$pageCopyrights[i].title}{/if}
				{/section}
			{elseif $wikiLicensePage != '' }
				{tr}The content on this page is licensed under the terms of the{/tr} <a href="{$wikiLicensePage}"><b>{tr}{$wikiSubmitNotice}{/tr}</b></a>.
			{/if}
			{if $gBitUser->hasPermission( 'bit_p_edit_copyrights' )}
				<br />{tr}To edit the copyright notices{/tr} <a href="{$gBitSystem.WIKI_PKG_URL}copyrights.php?page_id={$pageInfo.page_id}">{tr}click here{/tr}</a>.
			{/if}
		</p>
	{/if}

	{if $print_page ne 'y' and $feature_wiki_comments eq 'y' }
		{include file="bitpackage:liberty/comments.tpl"}
	{/if}

	{if $gBitSystem->isPackageActive( 'categories' )}
		{include file="bitpackage:categories/categories_objects.tpl"}
	{/if}
</div><!-- end .wiki -->