<!-- Component Settings begin -->
<form action="index.php?module=settings&amp;event=TemplateSettings" method="post" name="hm" id="hm-Settings-Template" enctype="multipart/form-data" >

    <table class="listview formview size_small" cellspacing="0" >
        <thead>
            <tr>
                <th colspan="1"><strong>Template</strong></th>
                <th>
                    <input type="hidden" name="storeTemplateSettings" value="1" />
                    <input type="hidden" name="task" value="template" />
                    <input type="reset" class="button button-black" value="[% $user->gettext('Reset') %]" />
                    <input type="submit" class="button button-green" value="[% $user->gettext('&Auml;nderungen speichern') %]" />
                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td><label for="Template[Name]">[% $user->gettext('Template') %]</label></td>
                <td>
                    <select size="1" class="selectbox multiple" name="Template[Name]">
                        [% foreach from=$Templates item=temp %]
                            <option value="[% $temp %]" [% if $smarty.const.CSSTEMPLATE == $temp %]selected="selected"[% /if %]>[% $temp %]</option>
                        [% /foreach %]
                    </select>
                </td>
            </tr>
        </tbody>
    </table>
</form>

<form action="index.php?module=settings&amp;event=TemplateSettings" method="post" name="hm" id="hm-Settings-Logo" enctype="multipart/form-data" >
    <table class="listview formview size_small" cellspacing="0" >
        <thead>
            <tr>
                <th colspan="1"><strong>Logo</strong></th>
                <th colspan="2">

                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td><label for="CompanyLogo">[% $user->gettext('Firmenlogo hochladen') %]</label></td>
                <td>
                    <input type="file" name="CompanyLogo" id="CompanyLogo" />
                    <input type="submit" class="" value="[% $user->gettext('Bild speichern') %]" />
                    <p>
                        [% $user->gettext('Das verwende Bild sollte eine Höhe von max. 75px haben.') %]
                    </p>
                </td>
                <td>
                    [% if $smarty.const.LOGO && $smarty.const.LOGO != 'LOGO' %]
                        <img src="[% $smarty.const.LOGO %]" title="[% $user->Security->Company %]" alt="[% $user->Security->Company %]" id="logo" />
                    [% else %]
                        <img src="styles/[% $CSSTEMPLATE %]/images/logo.gif" title="[% $user->Security->Company %]" alt="[% $user->Security->Company %]" id="logo" />
                    [% /if %]
                </td>
            </tr>
        </tbody>
    </table>
</form>
<!-- Component Settings  - Costs.tpl end -->