2014-10-15 05:58:44 -04:00
|
|
|
<?php
|
|
|
|
|
/** @var $_ array */
|
|
|
|
|
/** @var $l OC_L10N */
|
|
|
|
|
style('files_sharing', 'authenticate');
|
|
|
|
|
?>
|
|
|
|
|
<form method="post">
|
2012-08-27 15:46:05 -04:00
|
|
|
<fieldset>
|
2013-10-07 11: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 04:37:24 -04:00
|
|
|
<?php if (isset($_['wrongpw'])): ?>
|
2013-10-07 11:38:27 -04:00
|
|
|
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
|
2013-07-01 21:16:42 -04:00
|
|
|
<?php endif; ?>
|
2014-05-06 06:43:52 -04:00
|
|
|
<p>
|
2013-02-27 15:37:14 -05:00
|
|
|
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
2014-10-15 05:58:44 -04:00
|
|
|
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
|
2014-02-26 08:48:15 -05:00
|
|
|
<input type="password" name="password" id="password"
|
2014-05-06 06:43:52 -04:00
|
|
|
placeholder="<?php p($l->t('Password')); ?>" value=""
|
2014-02-26 08:48:15 -05:00
|
|
|
autocomplete="off" autocapitalize="off" autocorrect="off"
|
|
|
|
|
autofocus />
|
2014-06-14 09:26:27 -04:00
|
|
|
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
2014-03-14 09:47:40 -04:00
|
|
|
<input type="submit" value="" class="svg icon-confirm" />
|
2012-08-27 15:46:05 -04:00
|
|
|
</p>
|
|
|
|
|
</fieldset>
|
2013-03-04 16:11:57 -05:00
|
|
|
</form>
|