Welcome to mirror list, hosted at ThFree Co, Russian Federation.

authenticate.php « templates - github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba1c6d4f8f456ffe8d83e95517c2653f949eb109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
 * @var $_ array
 */
/**
 * @var $l OC_L10N
 */
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/>
			<img class="svg" id="password-icon" src="<?php print_unescaped(
				image_path('', 'actions/password.svg')
			); ?>" alt=""/>
			<input type="submit" value="" class="svg icon-confirm input-button-inline"/>
		</p>
	</fieldset>
</form>