nextcloud/core/templates/login.php

18 lines
410 B
PHP
Raw Normal View History

<?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>
2013-02-06 21:19:26 +04:00
<?php foreach($_['alt_login'] as $login): ?>
2013-02-28 01:55:39 +04:00
<li><a class="button" href="<?php print_unescaped($login['href']); ?>" ><?php p($login['name']); ?></a></li>
2013-02-06 21:19:26 +04:00
<?php endforeach; ?>
</ul>
</fieldset>
</form>
<?php }