{include file="header.tpl"}
    {$settingsformtag|safe}
    <div class="table-responsive">
        <table id="profileicons" class="d-none fullwidth table table-striped">
            <thead>
                <tr>
                    <th class="profileiconcell">{str tag="image"}</th>
                    <th>{str tag="imagetitle" section=artefact.file}</th>
                    <th class="text-center">{str tag="Default" section=artefact.file}</th>
                    <th class="text-center">{str tag="delete"}</th>
                </tr>
            </thead>
            <tbody>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="4" class="text-end">
                        <button id="settings_default" type="submit" class="submit btn btn-secondary" name="default">
                            <span class="icon icon-check text-success left" role="presentation" aria-hidden="true"></span>
                            {str tag="setdefault" section=artefact.file}
                        </button>
                        <button id="settings_delete" type="submit" class="delete btn btn-secondary" name="delete">
                             <span class="icon icon-trash-alt text-danger left" role="presentation" aria-hidden="true"></span>
                             {str tag="deleteselectedicons" section=artefact.file}
                         </button>
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
    <input type="hidden" name="pieform_profileiconsettings" value="">
    <input type="hidden" name="sesskey" value="{$USER->get('sesskey')}">
    </form>

    <h2>{str tag="uploadprofileicon" section="artefact.file"}</h2>
    <p class="lead">
        {str tag="profileiconsiconsizenotice" section="artefact.file" args=$imagemaxdimensions}
    </p>

    {$uploadform|safe}
{include file="footer.tpl"}
