2017-10-05 17:07:45 +03:00
|
|
|
<?php
|
|
|
|
/** @var $_ array */
|
|
|
|
/** @var $l \OCP\IL10N */
|
|
|
|
style('spreed', 'authenticate');
|
|
|
|
script('spreed', 'authenticate');
|
|
|
|
?>
|
|
|
|
<form method="post">
|
|
|
|
<fieldset class="warning">
|
2019-07-19 14:02:56 +03:00
|
|
|
<?php if (!$_['wrongpw']) { ?>
|
2019-05-07 09:54:48 +03:00
|
|
|
<div class="warning-info"><?php p($l->t('This conversation is password-protected')); ?></div>
|
2017-10-05 17:07:45 +03:00
|
|
|
<?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 />
|
2019-07-19 14:02:56 +03:00
|
|
|
<input type="submit" id="password-submit"
|
2017-10-05 17:07:45 +03:00
|
|
|
class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
|
|
|
|
</p>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|