{assign var="page_title" value="Foren-Verknüpfung"}
{include file="header.tpl"}
	<body style="background-color: {$style.bg_content}; margin:0">
        <b style="color:{$style.bg_2}">Foren-Verknüpfung ändern</b>
        <p></p>
        {form_errors error_list=$form_errors}

	    <form method="post" action="account.php">
	        <input type="hidden" name="sid" value="{$SID_SHORT}" />
	        <input type="hidden" name="mode" value="change_boardlink" />
	        <table>
            	<tr>
					<td align="right" bgcolor="{$style.bg_a}"><strong>Aktuelle Verknüpfung</strong></td>
					<td bgcolor="{$style.bg_a}">
                    {if $user->bb_useraccount.userid > 0}
                    	{$user->bb_useraccount.username}
                        <input type="submit" value="Verknüpfung löschen" name="delete_link" class="button_form" />
                    {else}
                    	Account nicht mit Foren-Account verknüpft
                    {/if}
                    </td>
				</tr>
				<tr>
					<td align="right" bgcolor="{$style.bg_b}"><strong>Foren-Benutzername</strong></td>
					<td bgcolor="{$style.bg_b}"><input type="text" class="input_form" name="bb_username" value="{$formvalues.bb_username}" size="30" maxlength="50" /></td>
				</tr>
				<tr>
					<td align="right" bgcolor="{$style.bg_a}"><strong>Foren-Passwort</strong></td>
					<td bgcolor="{$style.bg_a}"><input type="password" class="input_form" name="bb_password" size="30" maxlength="50" /></td>
				</tr>
	        </table>
	        <br />
	        <input type="submit" value="Verknüpfung ändern" name="send_form" class="button_form" />
	    </form>
    </body>
{include file="footer.tpl"}