baseline
[omp.pkp.sfu.ca.git] / templates / help / view.tpl
blobf214acb39d27d9195447e9354f7c4545ead6eea4
1 {**
2  * view.tpl
3  *
4  * Copyright (c) 2003-2008 John Willinsky
5  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
6  *
7  * Display a help topic.
8  *
9  * $Id: view.tpl,v 1.1.1.1 2008/10/20 21:27:09 tylerl Exp $
10  *}
11 {strip}
12 {include file="help/header.tpl"}
13 {/strip}
15 <div id="sidebar">
16         {include file="help/toc.tpl"}
17 </div>
19 <div id="main">
21         <h4>{translate key="help.ompHelp"}</h4>
22         
23         <div class="thickSeparator"></div>
24         
25         <div id="breadcrumb">
26                 {if $topic->getId() == "index/topic/000000"}
27                         <a href="{get_help_id key="index.index" url="true"}" class="current">{translate key="navigation.home"}</a>
28                 {else}
29                         <a href="{get_help_id key="index.index" url="true"}">{translate key="navigation.home"}</a>
30                         {foreach name=breadcrumbs from=$breadcrumbs item=breadcrumb key=key}
31                                 {if $breadcrumb != $topic->getId()}
32                                  &gt; <a href="{url op="view" path=$breadcrumb|explode:"/"}">{$key|escape}</a>
33                                 {/if}
34                         {/foreach}              
35                         &gt; <a href="{url op="view" path=$topic->getId()|explode:"/"}" class="current">{$topic->getTitle()}</a>
36                 {/if}
37         </div>
38         
39         <h2>{$topic->getTitle()}</h2>
40         
41         <div id="content">
42                 <div>{include file="help/topic.tpl"}</div>
43         </div>
45 </div>
47 {include file="help/footer.tpl"}