authenticate.php 842 B

1234567891011121314151617181920
  1. <form action="<?php p($_['URL']); ?>" method="post">
  2. <fieldset>
  3. <?php if (!isset($_['wrongpw'])): ?>
  4. <div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
  5. <?php endif; ?>
  6. <?php if (isset($_['wrongpw'])): ?>
  7. <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
  8. <?php endif; ?>
  9. <p>
  10. <label for="password" class="infield"><?php p($l->t('Password')); ?></label>
  11. <input type="password" name="password" id="password"
  12. placeholder="<?php p($l->t('Password')); ?>" value=""
  13. autocomplete="off" autocapitalize="off" autocorrect="off"
  14. autofocus />
  15. <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
  16. <input type="submit" value="" class="svg icon-confirm" />
  17. </p>
  18. </fieldset>
  19. </form>