|
|
|
@ -64,7 +64,8 @@ if ($function === 'oauth') {
|
|
|
|
|
<?php if ($function === 'view'): ?>
|
|
|
|
|
<?php if ($login_method === null): ?>
|
|
|
|
|
|
|
|
|
|
<h4><?php l('login.login_with_fediverse', 'Use RealFan with your Fediverse account') ?></h4>
|
|
|
|
|
<h4><?php l('login.login_with_fediverse', 'Use RealFan with the Fediverse') ?></h4>
|
|
|
|
|
<br>
|
|
|
|
|
<div class="center login-buttons">
|
|
|
|
|
<div class="_">
|
|
|
|
|
<a href="/login/mastodon" class="button button-primary bg-mastodon">
|
|
|
|
@ -83,7 +84,7 @@ if ($function === 'oauth') {
|
|
|
|
|
<h4><?php l('login.login_with_mastodon', 'Log In using Mastodon') ?></h4>
|
|
|
|
|
<div class="columns">
|
|
|
|
|
<label for="instanceURL"><?php l('login.select_instance', 'Select your instance') ?></label>
|
|
|
|
|
<input class="u-full-width" type="text" placeholder="example.org" id="instanceURL"
|
|
|
|
|
<input class="u-full-width" type="text" placeholder="<?php l('login.example_domain', 'example.org') ?>" id="instanceURL"
|
|
|
|
|
onkeypress="if (event.keyCode == 13) API.mastodon.registerInstance(null)"/>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<input onclick="API.mastodon.registerInstance(null)" class="button-primary u-full-width bg-mastodon"
|
|
|
|
|