authenticate.php 984 B

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