summaryrefslogtreecommitdiff
path: root/app/views/auth/personaLogin.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/auth/personaLogin.phtml')
-rw-r--r--app/views/auth/personaLogin.phtml24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/auth/personaLogin.phtml b/app/views/auth/personaLogin.phtml
new file mode 100644
index 000000000..545ed2eac
--- /dev/null
+++ b/app/views/auth/personaLogin.phtml
@@ -0,0 +1,24 @@
+<?php if ($this->res === false) { ?>
+<div class="prompt">
+ <h1><?php echo _t('gen.auth.login'); ?></h1>
+
+ <p>
+ <a class="signin btn btn-important" href="<?php echo _url('auth', 'login'); ?>">
+ <?php echo _i('login'); ?> <?php echo _t('gen.auth.login_persona'); ?>
+ </a>
+
+ <br /><br />
+
+ <?php echo _i('help'); ?>
+ <small>
+ <a href="<?php echo _url('auth', 'reset'); ?>"><?php echo _t('gen.auth.login_persona_problem'); ?></a>
+ </small>
+ </p>
+
+ <p><a href="<?php echo _url('index', 'about'); ?>"><?php echo _t('gen.freshrss.about'); ?></a></p>
+</div>
+<?php
+} else {
+ echo json_encode($this->res);
+}
+?>