diff options
Diffstat (limited to 'templates/show_page.tpl')
| -rw-r--r-- | templates/show_page.tpl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/show_page.tpl b/templates/show_page.tpl new file mode 100644 index 0000000..46de3c2 --- /dev/null +++ b/templates/show_page.tpl @@ -0,0 +1,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}&pagenum={$first_page}">« «</a>*} + <a title="{tr}Previous page{/tr}" href="index.php?page_id={$pageInfo.page_id}&pagenum={$prev_page}">«</a> + {tr}Page {$pagenum} of {$pages}{/tr} + <a title="{tr}Next page{/tr}" href="index.php?page_id={$pageInfo.page_id}&pagenum={$next_page}">»</a> + {*<a title="{tr}Last page{/tr}" href="index.php?page_id={$pageInfo.page_id}&pagenum={$last_page}">» »</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} + © {$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 --> |
