nextcloud/core/templates/login.php

17 lines
455 B
PHP
Raw Normal View History

<?php /** @var \OCP\IL10N $l */ ?>
<?php
script('core', 'dist/login');
?>
<div id="login"></div>
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach ($_['alt_login'] as $login): ?>
<a class="button <?php p($login['style'] ?? ''); ?>" href="<?php print_unescaped($login['href']); ?>" >
<?php p($login['name']); ?>
</a>
<?php endforeach; ?>
</div>
<?php } ?>