4 * Copyright (c) 2000-2009 John Willinsky
5 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
7 * Help table of contents.
10 <div style="padding-top: 0.5em;">
11 <form action="{url op="search"}" method="post" style="display: inline">
12 <input type="text" name="keyword" size="16" maxlength="60" value="{$helpSearchKeyword|escape}" class="textField" /> <input type="submit" value="{translate key="common.search"}" class="button" />
16 {if !empty($helpSearchResult) && !empty($helpSearchKeyword)}
19 <div><a href="{url op="search" anchor="result`$helpSearchResult`"|escape keyword=$helpSearchKeyword|escape}">{translate key="help.searchReturnResults"}</a></div>
24 <div><a href="{url op="toc"}">{translate key="help.toc"}</a></div>
28 {if $toc->getParentTopicId() && $toc->getParentTopicId() != $topic->getId()}
29 <div id="helpContents">
30 {translate key="help.contents"} <a href="{url op="view" path=$toc->getParentTopicId()|explode:"/"}">{translate key="help.upALevel"}</a>
35 <div id="helpToc" class="block">
36 <span class="blockTitle">{$toc->getTitle()}</span>
38 {foreach from=$toc->getTopics() item=currTopic}
39 {if $currTopic->getId() == $topic->getId()}
40 <li><a href="{url op="view" path=$currTopic->getId()|explode:"/"}" class="current">{$currTopic->getTitle()}</a>
43 {foreach from=$subToc->getTopics() item=currSubTopic}
44 <li><a href="{url op="view" path=$currSubTopic->getId()|explode:"/"}">{$currSubTopic->getTitle()}</a></li>
50 <li><a href="{url op="view" path=$currTopic->getId()|explode:"/"}">{$currTopic->getTitle()}</a></li>