summaryrefslogtreecommitdiffstats
path: root/templates/authenticate.php
blob: 334b3f5b71b6c17d3d332a94fe2d0307fac98e45 (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
<?php
	/** @var $_ array */
	/** @var $l \OCP\IL10N */
	style('spreed', 'authenticate');
	script('spreed', 'authenticate');
?>
<form method="post">
	<fieldset class="warning">
		<?php if (!isset($_['wrongpw'])){ ?>
			<div class="warning-info"><?php p($l->t('This call is password-protected')); ?></div>
		<?php } else { ?>
			<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
		<?php } ?>
		<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" id="password-submit" 
				class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
		</p>
	</fieldset>
</form>