2009-12-21 21:11:54 +00:00
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="add_topic_container">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='grp_add_new_topic'}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
<form name="form1" method="post" action="{group_link details=$group}" class="topic_form">
|
|
|
|
{assign var='form_fields' value=$cbgroup->load_add_topic_form_fields()}
|
|
|
|
|
|
|
|
{foreach from=$form_fields item=field}
|
|
|
|
<label for="{$field.id}" class="label">{$field.title}</label>
|
|
|
|
{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
<div class="topic_icon_cont">
|
|
|
|
<fieldset>
|
2010-02-10 05:54:08 +00:00
|
|
|
<legend>{lang code='topic_icon'}</legend>
|
2009-12-21 21:11:54 +00:00
|
|
|
{assign var=topic_icons value=$cbgroup->get_topic_icons()}
|
|
|
|
{if $topic_icons}
|
|
|
|
{foreach from=$topic_icons item=icon}
|
|
|
|
<label><img src="{$icon.url}"><br>
|
|
|
|
<input type="radio" name="topic_icon" value="{$icon.file}" {if $smarty.post.topic_icon ==$icon.file} checked{/if} ></label>
|
|
|
|
{/foreach}
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
{/if}
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
|
2010-02-10 05:54:08 +00:00
|
|
|
<div align="left" style="padding:5px 0px"><button name="add_topic" id="add_topic" value="submit" class="cb_button_2">{lang code='grp_add_new_topic'}</button></div>
|
2009-12-21 21:11:54 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|