<div id="wrap_main">
	<div id="knowledge_base">
	
		<h2 class="kb_title">[l]Knowledgebase Categories[/l]</h2>
		<div class="left">		
			{kb_search}
			
			<div id="knowledge_base_categories">
									
				<!-- BEGIN DYNAMIC BLOCK: kbcategory -->	
				<div class="block">
					<div class="top">
						<h2><a href="index.php?fuse=knowledgebase&amp;view=KB_CategoriesView&amp;categoryId={categoryId}{public}">{categoryName} ({categoryCounter})</a></h2>
					</div>
					<div class="body">
						<h3>{categoryDescription}</h3>						
						<ul>
							<!-- BEGIN DYNAMIC BLOCK: articlesByCategory -->                                        
								<li>
									<a href="index.php?fuse=knowledgebase&amp;view=KB_viewArticle&amp;articleId={articleCategoryId}{public}">{articleCategoryName}</a>
									<!-- TODO show excerpt in popup  using template tag [articleExcerpt] -->
								</li>
							<!-- END DYNAMIC BLOCK: articlesByCategory -->                                                                                        
							<!-- BEGIN DYNAMIC BLOCK: noArticles -->
								<li>[l]No Articles[/l]</li>                                     
							<!-- END DYNAMIC BLOCK: noArticles -->    														
						</ul>
					</div>
					<div class="bottom"><a href="index.php?fuse=knowledgebase&amp;view=KB_CategoriesView&amp;categoryId={categoryId}{public}&amp;showall=1">[l]More Articles[/l]</a></div>
				</div>
				<!-- END DYNAMIC BLOCK: kbcategory -->
				<!-- BEGIN DYNAMIC BLOCK: nokbcategory -->
				<div class="block">
					<div class="top"><h2>[l]There are no categories in the Knowledgebase[/l].</h2></div>
				</div>
				<!-- END DYNAMIC BLOCK: nokbcategory -->
			</div>
		</div>
	
		<div class="right">				
			{articlesSidebar}
		</div>	
			
	</div>
</div>
