diff options
Diffstat (limited to 'templates/structure_display.tpl')
| -rw-r--r-- | templates/structure_display.tpl | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/structure_display.tpl b/templates/structure_display.tpl new file mode 100644 index 0000000..021bf77 --- /dev/null +++ b/templates/structure_display.tpl @@ -0,0 +1,49 @@ +{strip} +{if $structureInfo.structure_path} + <div class="structurebar"> + {if $gBitSystem->isFeatureActive( 'wiki_book_show_path' )} + <div class="path"> + {section loop=$structureInfo.structure_path name=ix} + {if $structureInfo.structure_path[ix].parent_id} » {/if} + <a href="index.php?content_id={$structureInfo.structure_path[ix].content_id}"> + {if $structureInfo.structure_path[ix].page_alias} + {$structureInfo.structure_path[ix].page_alias|escape} + {else} + {$structureInfo.structure_path[ix].title|escape} + {/if} + </a> + {/section} + </div> + {/if} + + {if $gBitSystem->isFeatureActive( 'wiki_book_show_navigation' )} + <div class="navigation"> + <span class="left"> + {if $structureInfo.prev and $structureInfo.prev.structure_id} + <a href="index.php?structure_id={$structureInfo.prev.structure_id}"> + {if $wikibook_use_icons eq 'y'} + {booticon iname="icon-arrow-left" ipackage="icons" iexplain=Previous} + {else} + « {$structureInfo.prev.title|escape} + {/if} + </a> + {else} {/if} + </span> + + <span class="right"> + {if $structureInfo.next and $structureInfo.next.structure_id} + <a href="index.php?structure_id={$structureInfo.next.structure_id}"> + {if $wikibook_use_icons eq 'y'} + {biticon ipackage="icons" iname="go-next" iexplain=Next} + {else} + {$structureInfo.next.title|escape} » + {/if} + </a> + {else} {/if} + </span> + </div><!-- end .navigation --> + {/if} + <div class="clear"></div> + </div><!-- end .structure --> +{/if} {* end structure *} +{/strip} |
