{assign var="page_title" value="Patch-Administration"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; Patch-Administration"}
{assign var="page_title_site" value="Patch-Administration"}

<br />
<p></p>
{form_errors error_list=$form_errors}
<form method="post" enctype="multipart/form-data" action="patch_admin.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="installation" value="{$formvalues.installation}" />
    <input type="hidden" name="version" value="{$formvalues.version}" />
    <table>
        <tr>
        	<th colspan="2" bgcolor="{$style.bg_2}">Patch ändern</th>
        </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Installation</b></td>
	        <td bgcolor="{$style.bg_a}">{$formvalues.installationname}
	        </td>
	    </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Aktiviert</b></td>
	        <td bgcolor="{$style.bg_a}">
	            <select name="status" class="list_form">
                    {html_options options=$CFG_ACTIVE selected=$formvalues.status}
                </select>
	        </td>
	    </tr>	    	    
	    <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Version</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="text" name="versionname" size="22" maxlength="20" class="input_form" value="{$formvalues.versionname}" /></td>
	    </tr>
		<tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Md5 Hash</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="text" name="patch_verification" size="38" maxlength="32" class="input_form" value="{$formvalues.patch_verification}" /></td>
	    </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Informationstext</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="text" size="70" maxlength="255" name="shardinfo" class="input_form" value="{$formvalues.shardinfo}" /></td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Zugriffslevel</b></td>
	        <td bgcolor="{$style.bg_a}">
                <select name="auth" class="list_form">
                    {html_options options=$user->ranknames selected=$formvalues.auth}
                </select>
             </td>
	    </tr>
    </table>
    <br />
    <input type="submit" name="send_edit" class="button_form" value="Änderungen speichern" />
</form>