<div id="selSignUp">
	<h2 class="clsForumLinkTitle">{$LANG.forumslinks_add_title}</h2>
	<div id="selLeftNavigation">
  		{include file='information.tpl'}
		{if $myobj->isShowPageBlock('form_create_forum')}
			<div id="selShowCreateForum">
				<div class="clsForumBackIndexTopic"><div class="clsForumPostTopic"><h3 id="selBackToForum">
					<a href="forums.php">
						{$LANG.forum_back_index}
					</a>
				</h3></div></div>
				<form name="form_create_forum" id="selFormSignup" method="post" action="{$myobj->getCurrentUrl(true)}" autocomplete="off">
					<table summary="{$LANG.forum_tbl_summary}">
						<tr>
							<td class="{$myobj->getCSSFormLabelCellClass('forum_title')}"><label for="forum_title">{$LANG.forum_title_add}</label>
							{$myobj->ShowHelpTip('forum_title')}
							</td>
							<td class="{$myobj->getCSSFormFieldCellClass('forum_title')}">
								<input type="text" class="clsTextBox {$myobj->getCSSFormFieldElementClass('forum_title')}" name="forum_title" id="forum_title" maxlength="200" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('forum_title')}" />
								{$myobj->getFormFieldElementErrorTip('forum_title')}
							</td>
						</tr>
						<tr>
							<td class="{$myobj->getCSSFormLabelCellClass('forum_status')}"><label for="forum_status">{$LANG.forum_status}</label>
							{$myobj->ShowHelpTip('forum_title_status', 'forum_status')}
							</td>
							<td class="{$myobj->getCSSFormFieldCellClass('forum_status')}">
								<select class="clsCommonListBox" name="forum_status" id="forum_status" tabindex="{smartyTabIndex}"  >
									{$myobj->generalPopulateArray($myobj->form_create_forum.forum_status_arr, $myobj->getFormField('forum_status'))}
								</select>
								{$myobj->getFormFieldElementErrorTip('forum_status')}
							</td>
						</tr>
						<tr>
							<td class="{$myobj->getCSSFormLabelCellClass('forum_description')}"><label for="forum_description">{$LANG.forum_description}</label>
							{$myobj->ShowHelpTip('forum_title_description', 'forum_description')}
							</td>
							<td class="{$myobj->getCSSFormFieldCellClass('forum_description')}">
								<textarea name="forum_description" class="{$myobj->getCSSFormFieldElementClass('forum_description')}" id="forum_description" rows="5" cols="50" tabindex="{smartyTabIndex}">{$myobj->getFormField('forum_description')}</textarea>
								{$myobj->getFormFieldElementErrorTip('forum_description')}
							</td>
						</tr>
						{if $CFG.admin.forums.topics_publish_option.allowed AND !$CFG.admin.forums.auto_publish.allowed}
							<tr>
								<td class="{$myobj->getCSSFormLabelCellClass('publish')}"><label for="publish">{$LANG.forum_publish_alltopics}</label>
								{$myobj->ShowHelpTip('publish_topics', 'publish')}
								</td>
								<td class="{$myobj->getCSSFormFieldCellClass('publish')}">
									<input type="radio" name="publish" id="status_yes" value="Yes"{$myobj->isCheckedRadio('publish', 'Yes')} /><label for="status_yes">{$LANG.common_yes_option}</label>
									<input type="radio" name="publish" id="status_no" value="No"{$myobj->isCheckedRadio('publish', 'No')} /><label for="status_no">{$LANG.common_no_option}</label>
									{$myobj->getFormFieldElementErrorTip('publish')}
								</td>
							 </tr>
					   {/if}
						<tr>
							<td></td>
							<td class="{$myobj->getCSSFormFieldCellClass('submit')}" >

								{if $myobj->getFormField('forum_id')}
								   <input type="submit" class="clsSubmitButton clsMediumSubmitButton" name="forum_submit" id="forum_submit" tabindex="{smartyTabIndex}" value="{$LANG.common_update}" />
								{else}
								   <input type="submit" class="clsSubmitButton clsMediumSubmitButton" name="forum_submit" id="forum_submit" tabindex="{smartyTabIndex}" value="{$LANG.forum_create_title}" />
								{/if}

								&nbsp;&nbsp;
								<input type="submit" class="clsCancelButton" name="forum_cancel" id="forum_cancel" tabindex="{smartyTabIndex}" value="{$LANG.common_cancel}" />
							</td>
						</tr>
					</table>
					<input type="hidden" name="forum_id" id="forum_id" value="{$myobj->getFormField('forum_id')}" />
				</form>
			</div>
			{literal}
				<script language="javascript" type="text/javascript">
					needLiveValidation('forum_title',Array('Presence'));
					needLiveValidation('forum_description',Array('Presence'));
				</script>
			{/literal}
		{/if}
	</div>
</div>