nextcloud/core/templates/login.php

18 lines
410 B
PHP

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