{include file="layouts/forceLoggedIn.tpl"}

{assign var="pgLayout" value="layouts/withLeftNav.tpl"}
{include_php file="shared_handle:company/forum"}

{if $forumDetails}
	<h1>Company Forum: <i>{$forumDetails.name}</i></h1>
	
	{tablemanager
		Assign="tm"
		Group="display_tools"
		Profile="companyForum"
		DeleteLogFile="tm-delete.log"
		TemplatePath="TM/templates/"
		StyleTablePath="systems/wlw/img/st/"
		AddTemplate="forum_edit.tpl"
		MainTemplate="forum_main.tpl"
		ListTemplate="forum_list.tpl"
		EditTemplate="forum_edit.tpl"
		Action="list"
		LoginRequired="true"
		HeadingColor="99CCFF"
		HighlightColor="F6F9D5"
		HeadingStyle="withBG2"
		ResultsPerPage="20"
		Color1="F7F7F7"
		Color2="E7E7E7"
		DataStyle="hideWrap"
		MaxStringLength="50"
		DateFormat="l, F d, Y g:i a "
		}
{else}
	Forum could not be loaded.
{/if}