You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
910 B

<?php
/**
* @var $_ array
*/
/**
* @var $l \OCP\IL10N
*/
style('gallery', 'authenticate');
?>
<form method="post">
<fieldset>
<?php if (!isset($_['password'])): ?>
<div
class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
<?php endif; ?>
<?php if (isset($_['password'])): ?>
<div
class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
<?php endif; ?>
<p>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>"/>
<input type="password" name="password" id="password"
placeholder="<?php p($l->t('Password')); ?>" value=""
autocomplete="off" autocapitalize="off" autocorrect="off"
autofocus/>
<input type="submit" value="" class="svg icon-confirm input-button-inline"/>
</p>
</fieldset>
</form>