2014-10-15 09:58:44 +00:00
|
|
|
<?php
|
|
|
|
/** @var $_ array */
|
2016-10-28 19:46:28 +00:00
|
|
|
/** @var $l \OCP\IL10N */
|
2014-10-15 09:58:44 +00:00
|
|
|
style('files_sharing', 'authenticate');
|
2016-03-07 22:55:35 +00:00
|
|
|
script('files_sharing', 'authenticate');
|
2014-10-15 09:58:44 +00:00
|
|
|
?>
|
|
|
|
<form method="post">
|
2017-06-29 14:35:39 +00:00
|
|
|
<fieldset class="warning">
|
2013-10-07 15:38:27 +00:00
|
|
|
<?php if (!isset($_['wrongpw'])): ?>
|
|
|
|
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
|
|
|
|
<?php endif; ?>
|
2013-07-05 08:37:24 +00:00
|
|
|
<?php if (isset($_['wrongpw'])): ?>
|
2013-10-07 15:38:27 +00:00
|
|
|
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
2013-07-02 01:16:42 +00:00
|
|
|
<?php endif; ?>
|
2014-05-06 10:43:52 +00:00
|
|
|
<p>
|
2013-02-27 20:37:14 +00:00
|
|
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
2014-10-15 09:58:44 +00:00
|
|
|
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
|
2014-02-26 13:48:15 +00:00
|
|
|
<input type="password" name="password" id="password"
|
2014-05-06 10:43:52 +00:00
|
|
|
placeholder="<?php p($l->t('Password')); ?>" value=""
|
2017-10-25 06:23:42 +00:00
|
|
|
autocomplete="new-password" autocapitalize="off" autocorrect="off"
|
2014-02-26 13:48:15 +00:00
|
|
|
autofocus />
|
2016-03-07 22:55:35 +00:00
|
|
|
<input type="submit" id="password-submit"
|
|
|
|
class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
|
2012-08-27 19:46:05 +00:00
|
|
|
</p>
|
|
|
|
</fieldset>
|
2013-03-04 21:11:57 +00:00
|
|
|
</form>
|