cloud_bbb/templates/publicdisplayname.php

26 lines
939 B
PHP
Raw Normal View History

2020-04-26 11:36:41 +02:00
<?php
/** @var $_ array */
/** @var $l \OCP\IL10N */
style('core', 'guest');
style('core', 'publicshareauth');
?>
<form method="get" action="?">
<fieldset class="warning">
2020-04-28 14:34:30 +02:00
<h2><?php p($_['room']) ?></h2>
2020-04-26 11:36:41 +02:00
<?php if (!isset($_['wrongdisplayname']) || !$_['wrongdisplayname']): ?>
<p><?php p($l->t('Please enter your name!')); ?></p>
2020-04-26 11:36:41 +02:00
<?php endif; ?>
<?php if (isset($_['wrongdisplayname']) && $_['wrongdisplayname']): ?>
<div class="warning"><?php p($l->t('The name must be at least 3 characters long.')); ?></div>
<?php endif; ?>
<p>
2020-05-22 13:28:35 +02:00
<label for="password" class="infield"><?php p($l->t('Display name')); ?></label>
2020-04-26 11:36:41 +02:00
<input type="displayname" name="displayname" id="password"
2020-05-22 13:28:35 +02:00
placeholder="<?php p($l->t('Display name')); ?>" value=""
2020-04-26 11:36:41 +02:00
required minlength="3" autofocus />
<input type="submit" id="displayname-submit"
class="svg icon-confirm input-button-inline" value="" />
</p>
</fieldset>
</form>