-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathknowledgebasecat.tpl
44 lines (38 loc) · 1.54 KB
/
knowledgebasecat.tpl
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
<div class="page-header">
<h1>{$LANG.knowledgebasetitle}</h1>
</div>
<p class="marginbottom">{$breadcrumbnav}</p>
<form method="post" action="knowledgebase.php?action=search" class="well form-horizontal textcenter">
<fieldset>
<input class="span6" style="font-size:1.4em;height:30px;" name="search" type="text" value="" placeholder="{$LANG.kbquestionsearchere}">
<input type="submit" class="btn btn-large btn-primary" value="{$LANG.knowledgebasesearch}">
</fieldset>
</form>
{if $kbcats}
<div class="page-header">
<h2>{$LANG.knowledgebasecategories}</h2>
</div>
<ul class="thumbnails">
{foreach from=$kbcats item=kbcat}
<li class="span3">
<h3><img src="images/folder.gif" class="valignbaseline" alt="folder icon"> <a href="{if $seofriendlyurls}knowledgebase/{$kbcat.id}/{$kbcat.urlfriendlyname}{else}knowledgebase.php?action=displaycat&catid={$kbcat.id}{/if}">{$kbcat.name}</a></h3>
<p>{$kbcat.description}</p>
</li>
{/foreach}
</ul>
{/if}
<div class="page-header">
<h2>{$LANG.knowledgebasearticles}</h2>
</div>
<ul class="thumbnails">
{foreach from=$kbarticles item=kbarticle}
<li class="span12">
<h3><img src="images/article.gif" class="valignbaseline" alt="article icon"> <a href="{if $seofriendlyurls}knowledgebase/{$kbarticle.id}/{$kbarticle.urlfriendlytitle}.html{else}knowledgebase.php?action=displayarticle&id={$kbarticle.id}{/if}">{$kbarticle.title}</a></h3>
{$kbarticle.article|truncate:150:"..."}
</li>
{foreachelse}
<li class="span12">
<p class="textcenter">{$LANG.knowledgebasenoarticles}</p>
</li>
{/foreach}
</ul>