{if ConfigHelper::checkConfig('privileges.superuser')}
<table class="lmsbox" id="lms-ui-welcome-box-registration">
    <thead>
        <tr onclick="showOrHide('welcome_registration-{$layout.module}');">
            <td class="text-center bold">
                <img src="img/logo-ico.png" alt=""> {trans("Registration info")}
            </td>
        </tr>
    </thead>
    <tbody id="welcome_registration-{$layout.module}" style="display:none;">
        <tr>
            <td class="text-center">
                {if $regdata}
                {trans("Registration ID:")} {$regdata.id|string_format:"%04d"}<br>
                {trans("Registered for:")} {$regdata.name}<br>
                {trans("URL:")} {$regdata.url}<br>
                <a href="?m=register">{trans("Change registration info")}</a>
                {else}
                {trans("Your installation is unregistered!")}<br>
                <a href="?m=register">{trans("Click here, to register your installation and learn more why you should - IT'S FREE!")}</a>
                {/if}
            </td>
        </tr>
    </tbody>
</table>
<script type="text/javascript">
if (getCookie('welcome_registration-{$layout.module}') == '1'){
    document.getElementById('welcome_registration-{$layout.module}').style.display = '';
}
</script>
{/if}
