<tr>
    <td>{$server->name}</td>
    <td>{$server->module}</td>
    <td>{if $server->getModuleConfiguration('default_ip') neq ""}{$server->getModuleConfiguration('default_ip')}{else}-{/if}</td>
    <td>{if $server->getSettings('allow_rdns') eq "on"}<span class="label label-success">{$MGLANG->T('enabled')}</span>{else}<span class="label label-danger">{$MGLANG->T('disabled')}</span>{/if}</td>
    <td>{if $server->getSettings('allow_multiple_ptr') eq "on"}<span class="label label-success">{$MGLANG->T('enabled')}</span>{else}<span class="label label-danger">{$MGLANG->T('disabled')}</span>{/if}</td>
    <td>{if $server->isEnabled()}<span class="label label-success">{$MGLANG->T('enabled')}</span>{else}<span class="label label-danger">{$MGLANG->T('disabled')}</span>{/if}</td>
    <td>
        <a class="btn btn-primary btn-inverse btn-icon-only" data-act="editServer" data-query="id={$server->id}" title="{$MGLANG->T('edit')}"><i class="fa fa-pencil"></i></a>
        {if $server->isEnabled()}
            <a class="btn btn-warning btn-inverse btn-icon-only" data-act="turnOffServer" data-query="id={$server->id}" data-confirm-body="{$MGLANG->T('turn_off_server_confirmation')}" title="{$MGLANG->T('turn_off_server')}"><i class="fa fa-power-off"></i></a>
        {else}
            <a class="btn btn-success btn-inverse btn-icon-only" data-act="turnOnServer" data-query="id={$server->id}" data-confirm-body="{$MGLANG->T('turn_on_server_confirmation')}" title="{$MGLANG->T('turn_on_server')}"><i class="fa fa-power-off"></i></a>
        {/if}
        <a class="btn btn-danger btn-inverse btn-icon-only" data-act="deleteServer" data-query="id={$server->id}" data-confirm-body="{$MGLANG->T('delete_server_confirmation')}" title="{$MGLANG->T('delete')}"><i class="fa fa-remove"></i></a>
    </td>
</tr>