aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/formLogin.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/index/formLogin.phtml')
-rw-r--r--app/views/index/formLogin.phtml46
1 files changed, 0 insertions, 46 deletions
diff --git a/app/views/index/formLogin.phtml b/app/views/index/formLogin.phtml
deleted file mode 100644
index b05cdced4..000000000
--- a/app/views/index/formLogin.phtml
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="prompt">
- <h1><?php echo _t('login'); ?></h1><?php
-
- switch (Minz_Configuration::authType()) {
- case 'form':
- ?><form id="crypto-form" method="post" action="<?php echo _url('index', 'formLogin'); ?>">
- <div>
- <label for="username"><?php echo _t('username'); ?></label>
- <input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />
- </div>
- <div>
- <label for="passwordPlain"><?php echo _t('password'); ?></label>
- <input type="password" id="passwordPlain" required="required" />
- <input type="hidden" id="challenge" name="challenge" /><br />
- <noscript><strong><?php echo _t('javascript_should_be_activated'); ?></strong></noscript>
- </div>
- <div>
- <label class="checkbox" for="keep_logged_in">
- <input type="checkbox" name="keep_logged_in" id="keep_logged_in" value="1" />
- <?php echo _t('keep_logged_in'); ?>
- </label>
- <br />
- </div>
- <div>
- <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('login'); ?></button>
- </div>
- </form><?php
- break;
-
- case 'persona':
- ?><p>
- <a class="signin btn btn-important" href="#">
- <?php echo _i('login'); ?>
- <?php echo _t('login_with_persona'); ?>
- </a><br /><br />
-
- <?php echo _i('help'); ?>
- <small>
- <a href="<?php echo _url('index', 'resetAuth'); ?>"><?php echo _t('login_persona_problem'); ?></a>
- </small>
- </p><?php
- break;
- } ?>
-
- <p><a href="<?php echo _url('index', 'about'); ?>"><?php echo _t('about_freshrss'); ?></a></p>
-</div>