1
0

authenticate.php 992 B

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