server/apps/files_sharing/templates/authenticate.php

26 lines
992 B
PHP
Raw Normal View History

<?php
/** @var $_ array */
/** @var $l OC_L10N */
style('files_sharing', 'authenticate');
?>
<form method="post">
2012-08-27 19:46:05 +00: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-27 20:37:14 +00:00
<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 />
2014-06-14 13:26:27 +00:00
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
2014-03-14 13:47:40 +00:00
<input type="submit" value="" class="svg icon-confirm" />
2012-08-27 19:46:05 +00:00
</p>
</fieldset>
</form>