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