{assign var="do_not_display_add" value=true}
<p>{$text}</p>
{form_errors error_list=$form_errors}
<form method="post" action="char_activation.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="action" value="commit_add_forbidden_name" />
    <input type="hidden" name="nobox" value="true" />
    <table>
		<tr>
			<td align="right" bgcolor="{$style.bg_a}"><strong>Name:</strong></td>
			<td bgcolor="{$style.bg_a}"><input type="text" class="input_form" name="name" value="{$name}" size="18" maxlength="16" /></td>
		</tr>
		<tr>
			<td align="right" bgcolor="{$style.bg_b}"><strong>Grund: </strong></td>
			<td bgcolor="{$style.bg_b}"><input type="text" class="input_form" name="reason" value="{$reason}" size="70" maxlength="250" /></td>
		</tr>
    </table>
    <br />
    <input type="submit" value="Eintragen" name="send_form" class="button_form" />
</form>
<table width="100%">
	<tr style="background-color: {$style.bg_2}">
		<td>&nbsp;</td>
		<td>Name</td>
		<td>Letzte Änderung</td>
		<td>Begründung</td>
	</tr>
	{foreach from=$verboteneNamen item=name}
	<tr style="background-color: {$style.bg_1}">
		<td nowrap>{if $name.status == 9}<a href="?action=commit_restore_forbidden_name&id={$name.id}" title="reaktivieren">reaktivieren</a>{else}<a href="?action=commit_delete_forbidden_name&id={$name.id}" title="löschen">löschen</a>{/if}</td>
		<td nowrap><a href="?action=edit_forbidden_name&id={$name.id}">{if $name.status == 9}<i>{$name.name}</i>{else}{if $name.kv>0}<font color="red">{/if}{$name.name}{if $name.kv>0}</font>{/if}{/if}</a></td>
		<td nowrap>{$name.lastchanged} ({$name.accname})</td>
		<td>{if $name.status == 9}GELÖSCHT{else}{$name.grund}{/if}</td>
	</tr>
	{/foreach}
</table>
