nextcloud/apps/files_sharing/templates/authenticate.php

20 lines
842 B
PHP
Raw Normal View History

2013-02-28 00:37:14 +04:00
<form action="<?php p($_['URL']); ?>" method="post">
2012-08-27 23:46:05 +04:00
<fieldset>
<?php if (!isset($_['wrongpw'])): ?>
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
<?php endif; ?>
<?php if (isset($_['wrongpw'])): ?>
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
<?php endif; ?>
<p>
2013-02-28 00:37:14 +04:00
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="password" name="password" id="password"
placeholder="<?php p($l->t('Password')); ?>" value=""
autocomplete="off" autocapitalize="off" autocorrect="off"
autofocus />
2014-06-14 17:26:27 +04:00
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
2014-03-14 17:47:40 +04:00
<input type="submit" value="" class="svg icon-confirm" />
2012-08-27 23:46:05 +04:00
</p>
</fieldset>
</form>