<div class="formArea">
    <fieldset>
        <legend>
            <input type="radio" class="radiobox" name="spamfilter_addresses_radio" id="fid-spamfilter_addresses_file_radio" value="file"
                   onchange="document.getElementById('fid-spamfilter_addresses_file').disabled = false; document.getElementById('fid-spamfilter_addresses_text').disabled = true;"{SPAMFILTER_ADDRESSES_FILE_CHECKED}>&nbsp;
            <label for="fid-spamfilter_addresses_file_radio">{SPAMFILTER_ADDRESSES_FILE_LEGEND}</label>
        </legend>

        <table class="formFields" cellspacing="0" width="100%">
            <tr>
                <td class="name"><label for="fid-spamfilter_addresses_file">{SPAMFILTER_ADDRESSES_FILE_LABEL}</label></td>
                <td><input type="file" name="spamfilter_addresses_file" id="fid-spamfilter_addresses_file"
                           value="{SPAMFILTER_ADDRESSES_FILE_VALUE}"{SPAMFILTER_ADDRESSES_FILE_DISABLED}>
                    <div class="hint">{SPAMFILTER_ADDRESSES_FILE_HINT}</div>
                </td>
            </tr>
        </table>
    </fieldset>

    <fieldset>
        <legend>
            <input type="radio" class="radiobox" name="spamfilter_addresses_radio" id="fid-spamfilter_addresses_text_radio" value="text"
                   onchange="document.getElementById('fid-spamfilter_addresses_file').disabled = true; document.getElementById('fid-spamfilter_addresses_text').disabled = false;"{SPAMFILTER_ADDRESSES_TEXT_CHECKED}>&nbsp;
            <label for="fid-spamfilter_addresses_text_radio">{SPAMFILTER_ADDRESSES_TEXT_LEGEND}</label>
        </legend>

        <table class="formFields" cellspacing="0" width="100%">
            <tr {SPAMFILTER_ADDRESSES_TEXT_ERROR}>
                <td class="name"><label for="fid-spamfilter_addresses_text">{SPAMFILTER_ADDRESSES_TEXT_LABEL}</label></td>
                <td><textarea name="spamfilter_addresses_text" id="fid-spamfilter_addresses_text" rows="10"
                              cols="20"{SPAMFILTER_ADDRESSES_TEXT_DISABLED}>{SPAMFILTER_ADDRESSES_TEXT_VALUE}</textarea>
                    <div class="hint">{SPAMFILTER_ADDRESSES_TEXT_HINT}</div>
                </td>
            </tr>
        </table>
    </fieldset>
</div>
