{* $Header$ *} {strip}
{bithelp}

Article Types

{formfeedback error=$gContent->mErrors} {jstabs} {jstab title="Article Types"} {form legend="Modify Article Types"} {foreach from=$artTypes item=artType} {/foreach} {section name=user loop=$types} {foreach from=$artTypes item=artType key=key} {/foreach} {/section}
{tr}Article Types{/tr}
{tr}Name{/tr}{counter name=th}{counter name=th}
{biticon ipackage="icons" iname="edit-find" iexplain="List Articles"} {if $types[user].article_cnt eq 0} {smartlink ititle="remove" biticon="user-trash" remove_type=$types[user].article_type_id} {else} {$types[user].article_cnt} {/if}
{formhelp note='hover over the number to see the column header'}

{/form}
{counter start=0}
{tr}Name{/tr}
{tr}Shows up in the drop down list of article types{/tr}
{foreach from=$artTypes item=artType}
{counter}
{$artType.name}
{$artType.desc}
{/foreach}
{counter}
{tr}Remove Type{/tr}
{tr}Delete this type (only possible if all articles of this type have been deleted previously){/tr}
{/jstab} {jstab title="Article Types - extended view"} {form legend="Modify Article Types"} {section name=user loop=$types}

{tr}{$types[user].type_name}{/tr}

{/section}

{/form} {/jstab} {jstab title="Add Article Type"} {form legend="Create New Article Type"}
{formlabel label="Create new Type" for="add_type"} {forminput} {formhelp note="Enter the name of a new article type."} {/forminput}
{/form} {/jstab} {/jstabs}
{/strip}